Skip to content

Instantly share code, notes, and snippets.

View pid's full-sized avatar

Sascha pid

  • Baden-Württemberg, Germany
View GitHub Profile
# Note: if you want to run multiple meteor apps on the same server,
# make sure to define a separate port for each.
# Upstreams
upstream gentlenode {
server 127.0.0.1:58080;
}
# HTTP Server
server {
@pid
pid / trello.js
Created November 10, 2014 20:12
Trello Developer Challenge https://trello.com/jobs/developer
/**
* @author Sascha Droste
* @description trello developer challenge
*
*/
var trello = 956446786872726;
/**
<html>
<head>
<style>
b {
font-weight: normal;
}
</style>
<script src="http://cdn.jsdelivr.net/handlebarsjs/2.0.0/handlebars.js"></script>
</head>
<body>

Keybase proof

I hereby claim:

  • I am pid on github.
  • I am pid (https://keybase.io/pid) on keybase.
  • I have a public key whose fingerprint is C1D6 E534 E23C F05A 4E13 DE97 88C9 24B7 8906 C803

To claim this, I am signing this object:

@pid
pid / speedtest.js
Created December 23, 2014 23:17
bcrypt speedtest
var bcrypt = require('bcrypt');
console.time('timer');
bcrypt.hashSync('bacon', bcrypt.genSaltSync(+process.argv[process.argv.length-1] || 16));
console.timeEnd('timer');
// Y Combinator
// makes the recursion
(function(improver) {
return (function(gen) { return gen(gen) })(
function(gen) {
return improver(function(v) {
return gen(gen)(v)
})
}
)
@pid
pid / Makefile
Last active August 29, 2015 14:18 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@pid
pid / pid_id_rsa.pub
Created December 6, 2012 00:56
ssh public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCUyJ03rAFxudjk0Cytuf8LxBCdHwzfWFWbbPm1383kfgTFn3beyytahIj5BxOcVRbhUnnx5vuDpahsgkEGsA+H2q4JtQ3N8VXc6EoErgGfuwJ8iQNfa9x3CffNiUF2/4R4z6c6DmZSdUdt6HGSujst/xvOO45TqknRLdNaXP5JWmL30oIPTet+rlIsmBMr3rIcJztxIkCYL1X0B183AfO1UgwMc0SOmQFzsw4psYkll/pIs1isoguf+WZCK+6PzB75bJx4TIzgbQ6obhnSLB3mn3s01Q4cAHHt4+jJTcIQEaf/k0rKuJgeRDvmwL8CxQpL9u/gK/+LoYLkuRi+OxH+Z2zy+7HHJG3bDuKEKpbqc56DlfV3kxWE+AsUCquMudOzrRtMrk6IKL2rLTlC2ubhZrH9BDhpv+ep9b05aiEOriFVIbyhZ5/Q7NE+MQnQgQmeIb00ZNJ873gxUqxlzHo1UwgsX7KhxkuLRc7KCgStNV9UoNSYevo7scZa9DDcFOMGHB35p0pPneHzmYk49czfMEKK3RVGCON9pj2ICo6y/flm9OY7c5RBu4ZmWPpti6Z1Yf/OMeWU9cwL+BqSGPkbtWBWpyFJLIBR8FXkU+sr/+SuwYOxSbj0tHPj32unoPpCfT6rQmNOCdlD5p3O1Bsai74NlGfm4DKPaE0SesyJIQ== pid@localhost

GIT Version Control System

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Tools

Memory Management and Performance

JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications. As you develop, if you care about memory usage and performance, you should be aware of some of what’s going on in your user’s browser’s JavaScript engine behind the scenes.

Continue reading Writing Fast, Memory-Efficient JavaScript, great general overview of a Google employee

Videos