Skip to content

Instantly share code, notes, and snippets.

View BandanaKM's full-sized avatar

Bana Malik BandanaKM

  • Codecademy
  • New York
View GitHub Profile
@BandanaKM
BandanaKM / ce-nr-interview.md
Last active March 29, 2016 18:26
ce-nr-interview.md

1. Background

   a. Tell me about your background. 

2. Technical

   a. Where would you say your technical strength lie? in what areas are you hoping to grow?
   b. Are there any projects or experiences your are proud of, from a technical standpoint?
@BandanaKM
BandanaKM / sort.rb
Created February 19, 2016 04:12
sort.rb
def alphabetize(arr, rev=false)
if rev
arr.sort { |item1, item2| item2 <=> item1 }
else
arr.sort { |item1, item2| item1 <=> item2 }
end
end
books = ["Heart of Darkness", "Code Complete", "The Lorax", "The Prophet", "Absalom, Absalom!"]

Dan, the narrative is fine as is, unless artur has any technical changes.

The two style things I would suggest for a biggest impact is - a code block. The concepts may be easier to grasp and remember if users have the output of the command printed.

For this article, the output can be:

  • git reset sha
  • git log (optional)
  • git revert sha

Bash scripting;

  1. Control Structures;

if statement:

if statement [ expression ]; then echo "True"

@BandanaKM
BandanaKM / java-v3-feedback.md
Created September 27, 2015 14:47
java-v3-feedback.md

Course: Java

Unit 1: Introduction to Java

Lesson 1: Getting Started with Java

Exercise 1: What's your name?

Java is a programming language used to build a variety of applications, such as web servers, mobile applications, desktop applications, and more.

Java operates on the WORA (Write Once, Run Anywhere) principle, which means that Java programs can be created once and then run on nearly any platform, including Mac OS X, Microsoft Windows, and Linux.

The fundamentals you will learn in this Java course are also shared by many other programming languages; you may see concepts that you've learned from other courses, or be able to apply your knowledge from this course to other courses.

@BandanaKM
BandanaKM / Java.md
Last active September 17, 2015 20:27
Java-Restructuring.md

New Language Tracks

  1. More Courses, More Patterns

  2. Java Specific

  • Same outline and exercises. Opportunity to see what content is missing.

  • Order, explain and then example

@BandanaKM
BandanaKM / bm-java-writteen-feedback.md
Last active September 15, 2015 03:37
bm-java-writteen-feedback.md

Course: Java

Unit 1: Introduction to Java

Lesson 1: Getting Started with Java

Exercise 1: Hello Java

Java is a general purpose, object-oriented computer programming language. It is used for a wide variety of applications, including web servers, consumer electronics, mobile platforms, and more.

As of 2015, Java is one of the most popular programming languages in the world! Learning Java will help you become a versatile programmer and build strong computer programming fundamentals.

@BandanaKM
BandanaKM / principles-of-java.md
Created September 13, 2015 01:18
principles-of-java.md

principles of java

java is interpreted. it compiled to bytecode, instead of machine language the compiled application is portable between platforms without recompiling

architectural high-performance

## principles of java
java is interpreted.
it compiled to bytecode, instead of machine language
the compiled application is portable between platforms without recompiling
architectural
high-performance
@BandanaKM
BandanaKM / gist:f2ac7febc04e725e80ea
Last active September 12, 2015 17:00
ruby-notes.md

Ruby

Puts and Return Values

Puts and Print

  1. puts adds a new line after executing, and print does not. a. This is different from the concept of return value