Some paragraph of text.
#Command Line Just jotting down the ones that I didn't know about.
top
Table of processeswhoami
open .
open in findercd -
Effectively a 'back' in windowsls -la
long listing that lists hidden filescat
(egcat readme
) Displays the fileopen -a "Sublime Text" [filename]
Long way to open something in Sublime 3
This file contains 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
# $ gem install rainbow | |
require "rainbow" | |
def read_choice | |
puts " S I M P L E C A L C ".center(80, ?=) | |
puts "Available functions:\n\n" | |
puts "\t1. Addition" | |
puts "\t2. Subtraction" | |
puts "\t3. Multiplication" | |
puts "\t4. Division" |
This file contains 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
=begin | |
On Friday afternoon, our instructor put us into groups of three for a quiz. | |
A girl in our class ended up in a group of all girls and asked: | |
"What are the odds of there being in an all girl group?" | |
While the girl who asked the question did not expect a serious answer, the | |
question piqued my curiosity. The easiest way to get the answer is by | |
simulation and hence this script was created. | |
=end |
This file contains 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
// Requires pusher.js from http://surfacecurve.org:8708/libraries/color | |
// Curl command: | |
// curl http://surfacecurve.org:8708/platform/pusher/script/pusher.color.js > js/pusher.js | |
// Add this to html before colr.js: | |
// <script src="js/pusher.js"></script> | |
$(window).on('mousemove', function (event) { | |
var hue = Math.round((event.pageX / window.innerWidth) * 360); |
This file contains 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
[ | |
{ | |
"category": { | |
"iconPath": null, | |
"id": 4, | |
"keywords": [ | |
"Learning", | |
"Education" | |
], | |
"name": "Education Centres" |
This file contains 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
import Html exposing (Html, p, label, br, input) | |
import Html.App as Html | |
import Html.Attributes exposing (checked) | |
import Html.Events exposing (onCheck) | |
import Svg exposing (..) | |
import Svg.Attributes exposing (..) | |
import Time exposing (Time, second) | |
main = |
This file contains 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
import Html exposing (..) | |
import Html.App as Html | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
main = | |
Html.program | |
{ init = init | |
, view = view | |
, update = update |
This file contains 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
import Html exposing (..) | |
import Html.App as Html | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import WebSocket | |
import List | |
main: Program Never | |
main = | |
Html.program |
OlderNewer