I hereby claim:
- I am zekus on github.
- I am lantonio (https://keybase.io/lantonio) on keybase.
- I have a public key whose fingerprint is 3131 5BAA 97C0 40C3 106D 9DC9 3B60 30A7 F97C 0240
To claim this, I am signing this object:
#!/bin/bash | |
version="0.9.4 from 2010-09-13" | |
# Always download the latest version here: http://www.eurosistems.ro/back-res | |
# Thanks or questions: http://www.howtoforge.com/forums/showthread.php?t=41609 | |
# | |
# CHANGELOG: | |
# ----------------------------------------------------------------------------- | |
# version 0.9.4 - 2010-09-13 | |
# -------------------------- | |
# Small fix: - Corrected small bug replaced tar with $TAR in the recovery line |
FE = Frontend | |
BE = Backend | |
"Called" means a function was invoked | |
"Response from" means the response from the function invocation | |
Logs in a timeline fashion | |
FE - Created the iframe to host the PSD2 challenge |
I hereby claim:
To claim this, I am signing this object:
( Originally taken from Dan Kubb who took it from somewhere else :P )
You may not like all rules presented here, but they work very well for me and have helped producing high quality code. Everyone is free to code however they want, write and follow their own style guides, but when you contribute to my code, please follow these rules:
Formatting
#!/bin/bash | |
# ref: https://github.com/docker/for-mac/issues/668 | |
set -e | |
cd ~/Library/Containers/com.docker.docker/Data/database | |
echo -n "Current full-sync-on-flush setting: " | |
cat ./com.docker.driver.amd64-linux/disk/full-sync-on-flush | |
echo |
# -*- coding: utf-8 -*- | |
require 'active_support/core_ext/array/conversions' | |
require 'active_support/core_ext/string/inflections' | |
module ActiveModel | |
# == Active \Model \Errors | |
# | |
# Provides a modified +Hash+ that you can include in your object | |
# for handling error messages and interacting with Action Pack helpers. |
# run this in the project directory | |
rvm env . -- --env > .powenv |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.define :dokku do |dokku| | |
dokku.vm.box = "raring64" | |
dokku.vm.box_url = "http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-vagrant-amd64-disk1.box" | |
dokku.vm.network :private_network, ip: "192.168.33.10" | |
dokku.vm.provider :virtualbox do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "1024"] |
class Hash | |
def intersect_by_keys(another_hash) | |
delete_if {|k, v| !another_hash.has_key?(k) } | |
end | |
end | |
{a: 'one', b: 'two'}.intersect_by_keys({a: 'three', d: 'four'}) #=> {:a=>"one"} |
module Capybara | |
class Session | |
def has_path?(path) | |
synchronize do | |
current_path == path or raise Capybara::ExpectationNotMet | |
end | |
end | |
def synchronize(seconds=Capybara.default_wait_time) | |
start_time = Time.now |