Editing all Elements of a DataFrame According to a Condition

python

Let’s work on manipulating a dataframe. Let’s work on editing all elements of a DataFrame according to a condition. You have a horde of data you just imported from a CSV or an Excel doc. You’ve managed to get the data into a Pandas DataFrame using one of the built in import methods like read_csv …

Read more

Remove Your Computer’s Name From your Bash/Terminal on Ubuntu

Happen to be trying to remove your computer’s name from your bash/terminal on Ubuntu? I thought it was an eyesore when I was writing up some docs and was taking screenshots. I did some research and thought I’d pass along what I learned. My Setup Windows 10 Ubuntu Subsystem Edit your hidden .bashrc file! So …

Read more

What git branch am I in?

What git branch am I in? It’s an age old question I’ll ask myself maybe once an hour. I’ll make a big change, decide that I need to save the repo before I break something, I make a commit (often times with commitizen), and then git push origin … . But where was I pushing …

Read more

Make an Image Clickable in React Native

Trying to make an image clickable in React Native? It was one of the harder things for me to do when I started off so I thought I’d do a quick write up. My Setup MacOS Big Sur Webstorm 2020.2.3 Starting a New React Native Project Click React Native under new project in Webstorm. This …

Read more

Upload a Pandas DataFrame to DynamoDB using Python

python

So you’re trying to upload a Pandas DataFrame to DynamoDB using Python? Let’s take a step back first. Why are we using DynamoDB? What is DynamoDB? What is DyanmoDB DyanmoDB is a non-relational fully managed database product offered by Amazon’s cloud computing arm AWS. So why would you go the DynamoDB route vs MySQL, Postgres, …

Read more

Permission Denied (Publickey)

Are you getting the Permission Denied (Publickey) error? I imagine you’re starting to setup a Digital Ocean droplet or Ubuntu on another cloud provider and need to ssh into your server? After trying are you getting the permission denied (Publickey) error? I was setting up Jenkins and wanted to quickly access the droplet from my …

Read more

“RNGADBannerView” was not found in the UIManager.

Happen to be getting the Invariant Violation: requireNativeComponent: “RNGADBannerView” was not found in the UIManager error? Did you use the really useful react-native-admob lib at some point, remove it, but are still getting this weird error? Maybe you’re using another lib, removed it, and are getting a similar error? I spent nearly three full days …

Read more

Vertically and Horizontally Center Text in React Native

I recently spent quite some time trying to vertically and horizontally center text in React Native. I tried all sorts of combinations of align, alignContent, alignSelf, etc but couldn’t get my text horizontally and vertically centered. I mean this is probably because I’m React Native newb but stilllll. I’m actually quite surprised how bare the …

Read more

Digital Ocean or AWS?

Digital Ocean or AWS? Ahh, the classic question our fore fathers have been asking for millenia. Should we go the developer and pocket book friendly route with Digital Ocean or take the leap and make friends with Goliath aka AWS? At First This was a silly question for me when I first started developing. Digital …

Read more