Skip to content

Instantly share code, notes, and snippets.

View vesln's full-sized avatar
🌴
On vacation

ves vesln

🌴
On vacation
View GitHub Profile
@vesln
vesln / ssl_puma.sh
Last active August 29, 2015 14:19 — forked from tadast/ssl_puma.sh
# 1) Create your private key (any password will do, we remove it below)
$ cd ~/.ssh
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key

Keybase proof

I hereby claim:

  • I am vesln on github.
  • I am vesln (https://keybase.io/vesln) on keybase.
  • I have a public key whose fingerprint is 62E6 9DF9 AFF1 8C50 1F5A 6D20 94B1 B2FC A0F8 73F7

To claim this, I am signing this object:

@vesln
vesln / npm publish
Created March 24, 2014 21:54
npm publish
--- code/hippie ‹master› npm publish
npm http PUT https://registry.npmjs.org/hippie
npm http 403 https://registry.npmjs.org/hippie
npm ERR! publish Failed PUT response undefined
npm ERR! Error: login error
npm ERR! at RegClient.<anonymous> (/Users/vesln/.dotfiles/.nvm/v0.10.18/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:82:22)
npm ERR! at CouchLogin.<anonymous> (/Users/vesln/.dotfiles/.nvm/v0.10.18/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/couch-login/couch-login.js:177:14)
npm ERR! at CouchLogin.<anonymous> (/Users/vesln/.dotfiles/.nvm/v0.10.18/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/couch-login/couch-login.js:159:46)
npm ERR! at Request.self.callback (/Users/vesln/.dotfiles/.nvm/v0.10.18/lib/node_modules/npm/node_modules/request/index.js:148:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
@vesln
vesln / vim.rb
Created September 21, 2012 09:17
Vim Formula with Ruby & Python support for OS X
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
version '7.3.666'
url 'https://vim.googlecode.com/hg/', :revision => '1e22adc6176e'
head 'https://vim.googlecode.com/hg/'
def install
@mixin keyframez($name, $first, $second) {
@-webkit-keyframes #{$name} {
0% {
left: $first;
}
100% {
left: $second;
}
}
@vesln
vesln / anywhere-in-your-app.js
Created December 29, 2011 08:33
Logme with env var
/**
* Dependencies.
*/
var log = require('./log');
log.debug('This will not be logged.');
log.critical('Logged.');