- Start postgres
psql template1CREATE USER root WITH SUPERUSER;
Or
| [...] | |
| inputs: { | |
| init: function() { | |
| Array.prototype.forEach.call(kashoderkurs.inputs, function(index, value) { | |
| console.log(index, value); | |
| }); | |
| }, | |
| // This is how we do it | |
| cash: new (function() { |
| #ifndef FIX_POINT_H | |
| #define FIX_POINT_H | |
| #include <cmath> | |
| /* | |
| * fix_point.h | |
| * | |
| * Finn-Lennart Heemeyer, 791440.Beuth | |
| */ |
| #!/bin/sh | |
| export GIT_MERGE_AUTOEDIT=no | |
| ruby 'bin/hotfix.rb' | |
| unset GIT_MERGE_AUTOEDIT |
| class UrlValidator < ActiveModel::EachValidator | |
| def validate_each(record, attribute, value) | |
| valid = begin | |
| URI.parse(value).kind_of?(URI::HTTP) | |
| rescue URI::InvalidURIError | |
| false | |
| end | |
| unless valid | |
| record.errors[attribute] << (options[:message] || "is an invalid URL") |
| cd && git clone [email protected]:tonekk/dotfiles.git etc && cd etc && git submodule update --init --recursive && ~/etc/bin/init && nvim -c PlugInstall |
| lifes = 9 | |
| puts "Try to kill me, I got #{lifes} lifes!\n" | |
| loop do | |
| begin | |
| sleep 1 | |
| rescue Exception => e | |
| lifes = lifes - 1 |
My personal reading list
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| curl -s https://raw.githubusercontent.com/thisredone/rb/master/rb > rb | |
| chmod +x rb | |
| sudo mv rb /usr/local/bin |