- One red onion
- One red bell pepper (green is ok if red is unavailable)
- One celery stalk
- One carrot
- One jalepeno
- 3 pounds of ground beef
- One 29 ounce can of tomato sauce
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
| def my_method | |
| return alt_val unless some_statement | |
| calc_return_val | |
| end |
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
| def some_method | |
| if some_statement | |
| calc_return_val | |
| else | |
| alt_return_val | |
| end | |
| end |
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
| pry(main)> 2+2= 5 | |
| => 5 |
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 inputCheck (shitumon, outputNum) { | |
| var condition = true; | |
| var a = -1; | |
| while(condition) { | |
| console.log(a); | |
| if (isNaN(a) || a <= -1) { | |
| console.log("Invalid imput, please enter a number only!<br>"); | |
| a = 5; | |
| } else { |
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
| { | |
| "clusters": { | |
| "destinations": { | |
| "version": "0.90.10", | |
| "config": { | |
| "cluster": { | |
| "name": "destinations_development" | |
| }, | |
| "path": { | |
| "data": "tmp/elasticsearch", |
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
| defmodule WordCount do | |
| def run do | |
| System.argv | |
| |> path | |
| |> file | |
| |> size | |
| |> count | |
| |> IO.puts | |
| end | |
conversation of the cutting-edge techs
link to subscribe feed
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
| defmodule Metex.Worker do | |
| def loop do | |
| receive do | |
| {sender_pid, location} -> | |
| send(sender_pid, {:ok, temperature_of(location)}) | |
| {sender_pid, _} -> # won't compile without knowing what the sender_pid is below | |
| send(sender_pid, "Unknown message") | |
| end | |
| loop | |
| end |
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
| (add-to-list 'load-path "~/.emacs.d/community") | |
| (add-to-list 'load-path "~/.emacs.d/community/powerline") | |
| (add-to-list 'load-path "~/.emacs.d/community/tester.el") | |
| ;; Behavior | |
| ;; disable the splash screen | |
| (setq inhibit-splash-screen t) | |
| (when (not (display-graphic-p)) |
NewerOlder