composer config -g github-oauth.github.com <oauthtoken>
This shit really needs to be documented somewhere.
<?php | |
// $arr1 | |
Array | |
( | |
[a] => 1 | |
[b] => 2 | |
[c] => 3 | |
) | |
// $arr2 |
server { | |
listen 80; | |
server_name domain.com; | |
root /var/www/domain.com; | |
location ~ /.well-known { | |
allow all; | |
} | |
location ~ /\.ht { |
<?php | |
namespace app\models; | |
/** | |
* This is the ActiveQuery class for [[User]]. | |
* @see User | |
*/ | |
class UserQuery extends \yii\db\ActiveQuery | |
{ | |
/** |
composer config -g github-oauth.github.com <oauthtoken>
This shit really needs to be documented somewhere.
#!/usr/bin/env python | |
import sys, os, re | |
from subprocess import check_output | |
# Collect the parameters | |
commit_msg_filepath = sys.argv[1] | |
if len(sys.argv) > 2: | |
commit_type = sys.argv[2] | |
else: |
nameserver 127.0.0.1 | |
port 53535 |