Skip to content

Instantly share code, notes, and snippets.

View dominikgrygiel's full-sized avatar

Dominik Grygiel dominikgrygiel

  • Poznań, Poland
View GitHub Profile

Keybase proof

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:

We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
#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) {
apt-get install wget
wget https://raw.github.com/gist/3257593/pi-setup.sh --no-check-certificate
sh ./pi-setup.sh
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';
@dominikgrygiel
dominikgrygiel / gist:2308852
Created April 5, 2012 07:52
sample smtp config
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 }