From early Jan - start of April I stuck to a ketosis diet and increasing difficulty exercise program. Over that time I lost about 25lbs.
- 1 Mozarella Cheese Stick
- 1 tablespoon of organic chunky peanut butter
| sudo yum -y install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git | |
| sudo yum -y install wxBase.x86_64 | |
| sudo yum -y install wget | |
| wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm | |
| sudo rpm -Uvh erlang-solutions-1.0-1.noarch.rpm | |
| sudo yum -y install esl-erlang | |
| sudo mkdir /opt/elixir | |
| sudo git clone https://github.com/elixir-lang/elixir.git /opt/elixir | |
| cd /opt/elixir | |
| sudo make clean test |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| export default Ember.ArrayProxy.extend({ | |
| localStorageKey: null, | |
| init: function() { | |
| var localStorageKey = this.get('localStorageKey'); | |
| if (!localStorageKey) { | |
| throw new Error("You must specify which property name should be used to save " + this + " in localStorage by setting its localStorageKey property."); | |
| } |
| #!/usr/bin/perl | |
| use Mysql; | |
| use strict; | |
| use vars qw($school_name); | |
| use vars qw($pass); | |
| require "./cgi-lib.pl"; |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
| # coding: utf-8 | |
| # Can ruby have method names have newlines/be crazy? | |
| class BadKitty | |
| FACE = " | |
| |\\_/| | |
| / @ @ \\ | |
| ( > º < ) | |
| `>>x<<´ |
| require 'rbconfig' | |
| # Based on a script at: | |
| # http://stackoverflow.com/questions/891537/ruby-detect-number-of-cpus-installed | |
| class CpuCounter | |
| def self.count | |
| new.count | |
| end | |
| def count |
| class MyCustomCell < UITableViewCell | |
| # This method is used by ProMotion to instantiate cells. | |
| def initWithStyle(style_name, reuseIdentifier: reuseIdentifier) | |
| super | |
| stylish | |
| self | |
| end | |
| # A delegate method when the user clicks the Row(it's blue by default) |