apt-get install wget wget https://raw.github.com/gist/3257593/pi-setup.sh --no-check-certificate sh ./pi-setup.sh
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
| config.action_mailer.delivery_method = :smtp | |
| config.action_mailer.smtp_settings = { | |
| :address => "smtp.gmail.com", | |
| :port => 587, | |
| :domain => 'baci.lindsaar.net', | |
| :user_name => '<username>', | |
| :password => '<password>', | |
| :authentication => 'plain', | |
| :enable_starttls_auto => true } |
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 N = 5, // default size | |
| G = null; // will be the Graph | |
| pr= 0.5; // determines sparse/dense | |
| function show(G, where) // print adjacency matrix/Graph G | |
| { var i, j; | |
| where.value = ' '; | |
| for(i = 0; i < N; i++) where.value += i+' '; | |
| where.value += '\n'; |
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
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <netinet/in.h> | |
| #include <sys/socket.h> | |
| #include <netdb.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| int main(int argc, char **argv) { |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
| producent;model;pojemność [GB];cache [MB];pobór mocy [W];read [MB/s];write [MB/s];cena [USD] | |
| Marvell;Crucial M500;120;128;1.1;500;130;73.98 | |
| Samsung;840 EVO;120;128;0.34;530;410;80.99 | |
| Adata;Premier Pro SP920;128;128;1.2;560;180;89.99 | |
| Samsung;840 Pro;128;128;0.34;530;530;114 | |
| Crucial;M500;240;256;1.1;500;250;109.99 | |
| Samsung;840 EVO;250;256;0.34;540;520;146.44 | |
| Adata;Premier Pro SP920;256;256;1.21;560;360;159.99 | |
| Plextor;M5M;256;512;0.27;540;430;170 | |
| Mushkin;Atlas Deluxe;480;256;0.7;540;490;245.59 |
I hereby claim:
- I am dominikgrygiel on github.
- I am dominikgrygiel (https://keybase.io/dominikgrygiel) on keybase.
- I have a public key ASCJ4b1EEb9F1391XNxoaqnMHdakswzhJsfluqtHLPvOdwo
To claim this, I am signing this object:
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
| # benchmark.py | |
| import time | |
| import numpy as np | |
| def benchmark(): | |
| size = 2000 | |
| a = np.random.random((size, size)) | |
| b = np.random.random((size, size)) | |
| start = time.time() |