Skip to content

Instantly share code, notes, and snippets.

Szymon Nowak szimek

Block or report user

Report or block szimek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am szimek on github.
  • I am szimek ( on keybase.
  • I have a public key ASAyzYcb8io6Ck9sSwUL5PpHlKz1FgoJEFivGmR9wvuvAAo

To claim this, I am signing this object:

szimek /
Last active Jan 29, 2018 — forked from bcomnes/
my version of gpg on the mac
  1. brew install gnupg, pinentry-mac (this includes gpg-agent and pinentry)

  2. Generate a key: $ gpg --gen-key

  3. Take the defaults. Whatevs

  4. Tell gpg-agent to use pinentry-mac:

    $ vim ~/.gnupg/gpg-agent.conf 
View simple-peer-video.js
var SimplePeer = require('simple-peer')
// get video/voice stream
navigator.getUserMedia({ video: true, audio: true }, gotMedia, function () {})
function gotMedia (stream) {
var peer1 = new SimplePeer({ initiator: true })
var peer2 = new SimplePeer({ stream: stream })
peer1.on('signal', function (data) {
szimek /
Created Jul 4, 2015
Run bash on any API container
$id = kubectl get pods | grep api | grep Running | head -n1 | cut -d' ' -f1
kubectl exec $id -it bash
szimek / index.html
Created Jun 1, 2015
Slackbot meta tag parsing bug
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<meta property="description" ng-attr-content="Wrong description" content="Description" />
<meta property="og:title" ng-attr-content="Wrong title" content="Title" />
<meta property="og:description" ng-attr-content="Wrong description" content="Description" />
<meta property="og:type" content="website" />
szimek / gist:08b0d78d7393539f2864
Last active Aug 29, 2015
Adobe apps download links
View gist:08b0d78d7393539f2864
Lightroom 5 standalone (non-CC crap)
Photoshop CS5 Extended
View Gemfile
source ""
ruby "2.2.0"
gem "activerecord", "4.2.0"
gem "sqlite3"
szimek / Gemfile
Last active Jan 3, 2016
Find who's online in the local network
View Gemfile
source ""
ruby "2.1.0"
gem "sinatra"
gem "sinatra-contrib"
gem "redis"
View Three Wise

Date: [date]

Between us [company name] and you [customer name].


In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

What’s confidential information?

szimek /
Created Aug 2, 2012
HTTP/Rails caching/optimization tips
  1. Fragment caching
  1. Caching user's home page (same URL for all visitors, but different content)
  • can't cache response in gateway proxy
You can’t perform that action at this time.