I hereby claim:
- I am dizda on github.
- I am dizda (https://keybase.io/dizda) on keybase.
- I have a public key whose fingerprint is 4EFA 466E EFD4 BECC E682 CB8F CB82 C516 AE43 A354
To claim this, I am signing this object:
| require 'formula' | |
| def mysql_installed? | |
| `which mysql_config`.length > 0 | |
| end | |
| def postgres_installed? | |
| `which pg_config`.length > 0 | |
| end |
| server { | |
| listen [::]:80;# to listenning both on IPv4 & IPv6 | |
| server_name dev.youserver.com; | |
| location / { | |
| root /opt/www/dev.yourserver.com/symfony/web; | |
| index app.php; | |
| if ($request_filename !~ "\.(htc|ico|gif|jpg|jpeg|png|css|js)$") { | |
| rewrite ^(.*) /app.php$1 last; |
| Growl = (function() { | |
| // constructor | |
| function Growl(message){ | |
| this.message = message; | |
| } | |
| Growl.prototype.show = function() | |
| { | |
| this.createWindow(); |
| db.TheCollection.update({}, {$set:{'parent':true}}, {multi:true}); | |
| // {} = empty selector |
| wget https://github.com/bitcoin/bitcoin/archive/v0.9.3.tar.gz | |
| tar xvzf v0.9.3.tar.gz | |
| mv bitcoin-0.9.3/ daemon/ | |
| apt-get install build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev pkg-config | |
| # Get configure | |
| ./autogen.sh | |
| # Enable hardening is more secure |
I hereby claim:
To claim this, I am signing this object:
| 'use strict'; | |
| var gulp = require('gulp'), | |
| sass = require('gulp-ruby-sass'), | |
| minifycss = require('gulp-minify-css'), | |
| uglify = require('gulp-uglify'), | |
| concat = require('gulp-concat'), | |
| del = require('del'), | |
| useref = require('gulp-useref'), | |
| gulpif = require('gulp-if'), |
| #!/usr/bin/env php | |
| <?php | |
| /** | |
| * Database auth helper for Squid in php using redis as a cache provider. | |
| * Jonathan Dizdarevic @dizzda | |
| */ | |
| //stream_set_blocking(STDIN, 0); | |
| //error_reporting(0); |
| #!/usr/bin/env bash | |
| set -o errexit | |
| set -o xtrace | |
| VERSION=$1 | |
| rm -rf rai_build_$VERSION/ | |
| echo "Installing $VERSION..." | |
| git clone --recursive https://github.com/nanocurrency/raiblocks.git rai_build_$VERSION | |
| cd rai_build_$VERSION |
| Mac OS X has only 16K ports available that won't be released until socket | |
| TIME_WAIT is passed. The default timeout for TIME_WAIT is 15 seconds. | |
| Consider reducing in case of available port bottleneck. | |
| You can check whether this is a problem with netstat: | |
| # sysctl net.inet.tcp.msl | |
| net.inet.tcp.msl: 15000 | |
| # sudo sysctl -w net.inet.tcp.msl=100 |