Skip to content

Instantly share code, notes, and snippets.

View icemancast's full-sized avatar

Isaac Castillo icemancast

View GitHub Profile
# make sure path is set properly
export PATH=/usr/local/bin:$PATH
# shortcuts to edit and reload bash profile
alias ebp="vim ~/.bash_profile"
alias rbp="source ~/.bash_profile"
alias test
# shortcut to edit hosts file
alias ehf="sudo vim /etc/hosts"
@icemancast
icemancast / count_dracula.php
Created October 3, 2014 20:20
count dracula program to count
<?php
$count = 0;
do {
$count++;
echo `say $count . ' bat... ah ah'`;
} while($count < 5);
sleep(1);
// get bootstrap template from either:
// getboostrap.com, wrapbootstrap, or some other site
// create website for Acme Company
// HOME PAGE
// simple welcome
// ABOUT PAGE (input bacon ipsum)
@icemancast
icemancast / front-end.md
Last active August 29, 2015 14:24
Install for front end

Setting up front end project

  1. Bower init

  2. Add .bowerrc with following

This tells bower where to install sass files.

{
@icemancast
icemancast / sass-instructions.md
Last active September 2, 2015 04:13
Sass Outline

Sass (Syntactically Awesome StyleSheets)

Sass is a way to extend the functionality of css by adding the ability to use variables, nested rules, mixins and inline imports. You can also organize your style sheets in a better way and manage them easier.

Sass Documentation Reference

With Sass you have a simple command you run that will view the contents of a css file (with scss extension example.scss). It will then do the necessary changes according to variables and mixins that you have and then you get a final css output of that file. So Sass compiles all the scss content and gets you a final css file that your website will be linked to.

Install Sass

Final project (choose your own adventure)
Everyone must have personal portfolio/resume
and any of the following…
re-design
game
choice
Submit 2-3 ideas you may have via email instructors@codeup.com

Additional Ideas

  1. Tags to blog posts
  2. Markdown editor
  3. Categories for posts
  4. Related posts by category
  5. Make sure your portfolio and other projects on online
  6. Whack-A-Mole
  7. Google Maps
  8. Simon Says

Bower Installation and usage

Install Nodejs

Instal bower

$ npm install -g bower

Create test directory

@icemancast
icemancast / test.md
Last active September 28, 2015 14:07

Assignments

Write a loop that will display the song "99 Bottles of Beer on the wall";

For Loop

Write a for loop that will iterate from 0 to 10. For each iteration of the for loop, it will multiply the number by 9 and log the result (e.g. "2 * 9 = 18").

for(var i = 9; i &lt;= 10; i++) {