Skip to content

Instantly share code, notes, and snippets.

View docsmage's full-sized avatar

docsmage docsmage

View GitHub Profile
@docsmage
docsmage / BloclyApplication.java
Created March 23, 2015 20:52
My BloclyApplication.java file as of 3/23/2015.
package io.bloc.android.blocly;
import android.app.Application;
import com.nostra13.universalimageloader.cache.memory.impl.LruMemoryCache;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
import com.nostra13.universalimageloader.core.assist.QueueProcessingType;
@docsmage
docsmage / Bloc_assign_11.md
Created January 15, 2015 04:52
Bloc Assignment #11!

Bloc Assignment #11

John, I'd be curious to hear from you how often you use this type of conversion in your development work - feel free to share next time we chat after you've gotten a chance to review this.

java com.bloc.binary.BinaryExercises
Excited for some Binary exercises? We sure are!

Type your answers in the command prompt and hit return to submit.
@docsmage
docsmage / bloc_assign_7.md
Created January 14, 2015 06:25
Bloc Assignment #7!

Bloc: Assignment 7

~ [master] :> cd Bloc
Bloc [] :> cd android-source/
android-source [master] :> cd 
.DS_Store
.git/
README.md
milestone_00_welcome_to_android_development/
@docsmage
docsmage / bloc_assign_6.md
Created January 13, 2015 01:53
Bloc Assignment #6!

I had a little bit of trouble with the fetch command, which was new for me. I ended up removing the upstream and then re-adding it a couple of different times, which solved the problem. SSH is also new to me.

I've included the terminal output, though the Bloc assignment page does not require it, just in case you'd like to review it for yourself.

~ [master] :> cd Bloc/
Bloc [] :> git clone [email protected]:voiceofrae/android-source.git
Cloning into 'android-source'...
Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts.
remote: Counting objects: 1323, done.
@docsmage
docsmage / bloc_assign_5.md
Last active August 29, 2015 14:13
Bloc Assignment #5!

Bloc Assignment 5: Fun with Git!

Again, pretty familiar. Woo-hoo, here's my code bloc.

~ [master] :> git version
git version 1.8.5.2
~ [master] :> mkdir ikea_desk
~ [master] :> cd ikea_desk
ikea_desk [master] :> touch assembly_instructions.txt
@docsmage
docsmage / bloc_asign_4.md
Last active August 29, 2015 14:13
Bloc Assignment #4!

Assignment 4: Command Line Fun

I'm already familiar with command line, so this was a pretty easy exercise.

Logged in as ReneeCS at Renees-MacBook-Air.local
~ [master] :> pwd
/Users/ReneeCS
~ [master] :> ls
AndroidStudioProjects Dropbox               PycharmProjects
@docsmage
docsmage / bloc_assign_2.md
Last active August 29, 2015 14:13
Bloc Assignment #2!

####Bloc Assignment 2: Google Play Store Brainstorm

Below is a list of project ideas based on already-existing apps. Embedded app links satisfy assignment #2 requirement of brainstorming projects based on exploring the Google Play store.

#####1) ShareItForward (working title), based on TaskRabbit and EasyShift

TaskRabbit is a well-known vertical marketplace for outsourcing daily to-do's to enthusiastic applicants. You can post a task for others to fulfill, or become a taskrabbit yourself by and completing others jobs and enjoying extra income. Vertical marketplaces as a whole have popularized the ability to fulfill certain shift-based job opportunties (such as driving, babysitting, grocery shopping or even assembling IKEA furniture), and ShareItForward aims to take this one step further by enabling users to trade tasks that they ne

@docsmage
docsmage / Introduction.md
Last active August 29, 2015 14:13
Bloc Assignment #1!

Bloc Assignment 1!

This is my introduction assignment submission via Markdown. I actually use Markdown at work, so I'm quite familiar with it already. I typically use the Markdown cheat sheet for reference.

About Me: I've previously completed several online courses primarily focused on web development. I've built a few terminal applications in Ruby and some basic front end stuff in HTML/CSS and Javascript. I was originally working towards becoming a Ruby on Rails developer, but have since changed tracks to focus on mobile and specifically Android dev. Here is a link to my personal website (currently in need of an update.)

Languages and technologies I am currently comfortable with are as follows:

  • Ruby (moderate/advanced)
  • HTML/CSS (moderate)
@docsmage
docsmage / fibonacci_v4.py
Last active August 29, 2015 14:03
Version 4 of fibonacci using
from math import sqrt # Required for using this version
def Fibonacci(n):
return ((1+sqrt(5))**n-(1-sqrt(5))**n)/(2**n*sqrt(5))
print Fibonacci(5) # returns 5.0
print Fibonacci(10) # returns 55.0
print Fibonacci(20) # returns 6765.0
@docsmage
docsmage / fibonacci_v3.py
Last active August 29, 2015 14:03
Version 3 of fibonacci, an iterative solution which calculates the fib number up to the nth number.
# Iterative solution which calculates fibonacci numbers up to the
# nth number.
def Fibonacci(n):
current = 1
old = 1
i = 1 # range of numbers from i to n, starting with 1
while (i < n):
current, old, i = current + old, current, i + 1
return current