Skip to content

Instantly share code, notes, and snippets.

@rofrol
rofrol / index.html
Last active September 19, 2015 18:36 — forked from anonymous/index.html
JS Bin // source https://jsbin.com/yelaqa
<!DOCTYPE html>
<html>
<head>
<script src="http://fb.me/react-with-addons-0.13.3.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<h1>getTopRatedFilms()</h1>
<button onClick="getMovies()">getMovies</button>
@rofrol
rofrol / gist:165e0141c36c3e094d31
Created July 8, 2015 07:42
W tym tygodniu na wykopie
☑ Beka z audiofilów
☑ Artykuł o Tesli
☑ JKM
☑ Wpis o muzułmanach
☑ Kwota wolna od podatku w X
☐ Jak XYZ traktuje klientów
☐ Przełomowy wynalazek Polaków
☐ X Polakow juz nie chce wrócić do kraju
☐ polskie obozy koncentracyjne
☐ Amerykańscy naukowcy odkryli...
  • ## To watch
  • Ergo Proxy (2006-) TV
  • fargo 2 - [ ] Burnt (2015)
  • Bone Tomahawk (2015)
  • Black Sails (2014)
  • Macbeth (2015)
  • A Few Good Men (1992)
  • ## Postapocalyptic
  • Mad Max (1979) i reszta części
  • Water world (1995)
@rofrol
rofrol / Gitd
Last active August 29, 2015 14:16
#!/bin/sh
#
# Startup/shutdown script for Git Daemon
# chkconfig: 345 56 10
#
# description: Startup/shutdown script for Git Daemon
#
. /etc/init.d/functions
DAEMON=/usr/libexec/git-core/git-daemon
var cluster = require('cluster');
var http = require('http');
var numCPUs = require('os').cpus().length;
if (cluster.isMaster) {
// Fork workers.
for (var i = 0; i < numCPUs; i++) {
cluster.fork();
}
cluster.on('exit', function(worker, code, signal) {