- Using PBKDF2 properly: https://crackstation.net/hashing-security.htm
- Remove relation between users and passwords table: http://opine.me/a-better-way-to-store-password-hashes/
- Reduce risk of manipulation and enable password reset: http://www.opine.me/all-your-hashes-arent-belong-to-us/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'webrick' | |
require 'socket' | |
require 'timeout' | |
# code from http://stackoverflow.com/questions/517219/ruby-see-if-a-port-is-open/517638#517638 | |
def port_in_use?(port) | |
begin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'date' | |
require 'fileutils' | |
require 'exif' # brew install libexif; gem install exif | |
Dir['*.{JPG,jpg}'].each do |source| | |
time = | |
begin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Class | |
def reader(*names) | |
names.each do |name| | |
module_eval <<~CODE | |
def #{name} | |
@#{name} | |
end | |
CODE | |
end | |
end |
I hereby claim:
- I am schmidt on github.
- I am schm (https://keybase.io/schm) on keybase.
- I have a public key ASDw3eHBMuHacgyKSj2_G3zYvfDQgsFl-_LaQd2l35e6Tgo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Point | |
attr_reader :x | |
attr_reader :y | |
def initialize(x:, y:) | |
@x = x | |
@y = y | |
end | |
# def ==(other) |
- Alexander Marcus - Papaya
- Asaf Avidan & The Mojos - One Day / Reckoning Song (Wankelmut Remix)
- Beatsteaks - Hello Joe
- BRKN - Hollywood 36 (The name refers to SO 36)
- DJ Tomekk - 1,2,3 RHYMES GALORE (That's Tempelhof Airport at the beginning)
- Funny van Dannen - Wir Deutschen
- Grossstadtgeflüster - F***t-Euch-Allee
- Icke & Er - Keen Hawaii
- Ideal - Berlin
- International Pony - Leaving Home