Skip to main content

Posts

Showing posts from 2018

Preparing for the 42 Piscine

You can come to the 42 Piscine with no programming experience but if you would like something to study ahead of time here are my 2 suggestions. All this content is free 1.) Learning how to learn on Coursera. This will help you develop the good study habits you will need during the piscine.  https://www.coursera.org/learn/learning-how-to-learn 2.) C Programming Tutorials by Caleb Curry I haven't used this series myself but I have had it recommended a lot, many people have told me it helped them during the piscine so if you'd like to try your hand at C before the piscine you can follow along with these tutorials. https://www.youtube.com/watch?v=CPjZKsUYSXg&list=PL_c9BZzLwBRKKqOc9TJz1pP0ASrxLMtp2 3.)  Khan Academy Brush up on your math skills fore free with Khan Academy. They have both the instructions as well as exercises for practice. Mostly you'll be working with more basic arithmetic for the piscine, but you'll have a few exercises that require more math

Resources for getting a job as a software developer.

Preparation 0.) Elevate Code Interview Prep + Job Tracker Sheet I've created a google sheet that is great for job hunting. Track data about which jobs you've applied for and fill out the common questions with your answers so you don't have to think about what to say during the interview. https://docs.google.com/spreadsheets/d/1cVSuABWR1dwaF5j4AZ46grS9ggl37NaBY5X1bK2ktt0/edit?usp=sharing  1.) Github Git is the most widely used source control. Showing that you know how to use it and having a portfolio of code that employers can look at can give your career a boost. 2.) Leetcode Great for practicing in a style very similar to interviews, plus the discussion forums can show you a better way to solve things. There's a lot of great tutorials here as well. I highly suggest also posting your answers in a repo on Github. Don't try to memorize problems, but use it as a way to test your knowledge of applying the fundamentals. 3.) HackerRank Similar to Leetcode, bu

How to Tweet from the Command Line on Mac

To post to twitter from the command line as of Oct 8, 2018. (Twitter is always changing though.) Homebrew  is a package manager for Mac. You can use it to download and install things. Oysttyer  is a CLI (command line interface) for Twitter. 1.) Install Homebrew, a package manager for Mac. Copy and paste the following to install brew. More information about brew here  https://brew.sh/ mkdir $HOME/.brew && curl -fsSL https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C $HOME/.brew mkdir -p /tmp/.$(whoami)-brew-locks mkdir -p $HOME/.brew/var/homebrew ln -s /tmp/.$(whoami)-brew-locks $HOME/.brew/var/homebrew/locks export PATH="$HOME/.brew/bin:$PATH" brew update && brew upgrade 1b.) Afterwards make sure you add the following lines to your .zshrc. mkdir -p /tmp/.$(whoami)-brew-locks export PATH="$HOME/.brew/bin:$PATH" The  ~/.zshrc  doesn’t exist by default in Mac OS X so you may need to create it. The ~/ translates to you

What is a Pointer in C?

Create a variable Let's create a variable and give it a value of 3. int a; a = 3 ; Variable  a 's info Name a Value 3 Data Type The data type  of a variable tells you what kind of data it will hold. We can see in the code above that variable a is an int. int = holds an integer (aka a whole number) char = holds a single character pointer = holds a memory address Variable  a 's info Name a Data Type int Value 3 Memory Address The  a  variable is stored somewhere in your computer's memory. Just like humans have an address, variables have an address too. ( 0x00008130 is just an example address, your variable will probably have a different address) Pointers A pointer holds this memory address-- so basically it POINTS to where a variable is located. Let's create a pointer that will point to where our a variable is located. To create a pointer, we need the data type of the variable we will be