[ Launch: INFO 247 - Lab 7 - #3 - Putting it together (full code) ] 6136776 by Quebecisnice[ Launch: INFO 247 - Lab 7 - #3 - Putting it together (full code) ] 6136775 by Quebecisnice[ Launch: INFO 247 - Lab 6 - #5 ] 5054889 by poezn[ Launch: INFO 247 - Lab 6 - #4 ] 5054883 by poezn[ Launch: INFO 247 - Lab 6 - #3 ] 5054877 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054749 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054734 by poezn
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 numpy as np | |
from pandas import * | |
import matplotlib.pyplot as plt | |
Index = ['aaa', 'bbb', 'ccc', 'ddd', 'eee'] | |
Cols = ['A', 'B', 'C', 'D'] | |
df = DataFrame(abs(np.random.randn(5,4)), index=Index, columns = Cols) | |
plt.pcolor(df) | |
plt.yticks(np.arange(0.5, len(df.index), 1), df.index) |
[ Launch: INFO 247 - Lab 7 - #3 - Putting it together (full code) ] 6136775 by Quebecisnice[ Launch: INFO 247 - Lab 6 - #5 ] 5054889 by poezn[ Launch: INFO 247 - Lab 6 - #4 ] 5054883 by poezn[ Launch: INFO 247 - Lab 6 - #3 ] 5054877 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054749 by poezn[ Launch: INFO 247 - Lab 6 - #1 ] 5054734 by poezn
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
; A REPL-based, annotated Seesaw tutorial | |
; Please visit https://github.com/daveray/seesaw for more info | |
; | |
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers | |
; Seesaw's basic features and philosophy, but only scratches the surface | |
; of what's available. It only assumes knowledge of Clojure. No Swing or | |
; Java experience is needed. | |
; | |
; This material was first presented in a talk at @CraftsmanGuild in | |
; Ann Arbor, MI. |
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
source :rubygems | |
# We are not loading Active Record, nor Active Resources etc. | |
# We can do this in any app by simply replacing the rails gem | |
# by the parts we want to use. | |
gem "actionpack", "~> 3.2" | |
gem "railties", "~> 3.2" | |
gem "tzinfo" | |
# Let's use thin |
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
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <cmath> | |
#define forn(i, n) for(int i = 0; i < (n); ++i) | |
#define FUNC(i) (*(dispatch[funcs[i]])) | |
#define MFUNC(o) ([](double a, double b) { return a o b; }) | |
using namespace std; |
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
def self.create_from_hash(registration_hash) | |
unless registration_hash || resigration_hash.empty? | |
return nil | |
end | |
provider = registration_hash[:provider] | |
info = registration_hash[:info] | |
user = User.new |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
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
{ | |
"name": "Github", | |
"description": "Github", | |
"version": "1.0", | |
"icons": { | |
"128": "128.png" | |
}, | |
"app": { | |
"urls": [ | |
"https://github.com/" |
NewerOlder