This is now an actual repo:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var gulp = require('gulp'); | |
| var gutil = require('gulp-util'); | |
| var del = require('del'); | |
| var uglify = require('gulp-uglify'); | |
| var gulpif = require('gulp-if'); | |
| var exec = require('child_process').exec; | |
| var notify = require('gulp-notify'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <head> | |
| <title>JS Betting Game</title> | |
| <script src="jquery-2.2.4.min.js"></script> | |
| <script type="text/javascript" src="script.js"></script> | |
| </head> | |
| <body> | |
| <canvas id="let-it-rain" style="width:100%; height:100%; display:none;"></canvas> | |
| <h1>JS Betting Game</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'colorize' | |
| require 'pry' | |
| @p1_name = @p2_name = "" | |
| @p1_life = @p2_life = 3 | |
| @p1_score = @p2_score = 0 | |
| @operator = "" | |
| @running = true | |
| def generate_question | |
| switch = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'csv' | |
| require 'pry' | |
| require 'pry-byebug' | |
| # Represents a person in an address book. | |
| # The ContactList class will work with Contact objects instead of interacting with the CSV file directly | |
| class Contact | |
| attr_reader :id | |
| attr_accessor :name, :email | |
| @@all_contacts = CSV.read('contacts.csv') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var prompt = require('prompt-sync')(); | |
| var colors = require('colors'); | |
| var isRunning = true; | |
| //const bankDefault = 10; // for debugging | |
| const bankDefault = 100; | |
| var bankroll = bankDefault; | |
| function run() { | |
| console.log(isRunning); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log("HELLO WORLD") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Ajax Example</title> | |
| </head> | |
| <body> | |
| <section> | |
| <h1>Recent Posts</h1> | |
| <article> | |
| <h2>Post 1</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function arrayOfLight(x) { | |
| var arr = []; | |
| for(var i = 0; i <= x; i++) { | |
| arr[i] = i; | |
| } | |
| return arr; | |
| } | |
| console.log(arrayOfLight(5)); |
Tested on Yosemite. Should work on El Cap. Message me if it doesn't.
- You are tired of using vagrant
- You want to run guard
- You want use Sublime plugins (like RSpec or Guard plugins)
- You want your code to run faster in development
NewerOlder