gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains 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
# INDIHOM* | |
127.0.0.1 x-tags.net | |
127.0.0.1 a01.uadexchange.com | |
127.0.0.1 cdn.uzone.id | |
127.0.0.1 cdn3.uzone.id | |
127.0.0.1 cfs.uzone.id | |
127.0.0.1 csf.uzone.id | |
127.0.0.1 d01.notifa.info | |
127.0.0.1 d31qbv1cthcecs.cloudfront.net | |
127.0.0.1 d5nxst8fruw4z.cloudfront.net |
This file contains 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
#!/bin/sh | |
#Create working directory | |
CERTBOT_DIR=/opt/modules/src/certbot | |
mkdir $CERTBOT_DIR/src -p | |
cd $CERTBOT_DIR/src | |
#install openssl to working dir. | |
wget --no-check-certificate https://www.openssl.org/source/openssl-1.0.1t.tar.gz | |
tar xvzf openssl-1.0.1t.tar.gz && cd openssl-1.0.1t |
This file contains 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
CREATE SEQUENCE country_seq; | |
CREATE TABLE IF NOT EXISTS country ( | |
id int NOT NULL DEFAULT NEXTVAL ('country_seq'), | |
iso char(2) NOT NULL, | |
name varchar(80) NOT NULL, | |
nicename varchar(80) NOT NULL, | |
iso3 char(3) DEFAULT NULL, | |
numcode smallint DEFAULT NULL, | |
phonecode int NOT NULL, |
This file contains 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
[Unit] | |
Description=Beanstalkd is a simple, fast work queue | |
[Service] | |
User=nobody | |
Restart=always | |
RestartSec=500ms | |
ExecStart=/usr/local/bin/beanstalkd -b /var/lib/beanstalkd | |
LimitNOFILE=10240 |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
,elem.offsetTop
,elem.offsetWidth
,elem.offsetHeight
,elem.offsetParent
This file contains 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
import requests_oauthlib | |
api_key = <api_key_here> | |
api_secret = <api_secret_here> | |
# OAuth URLs | |
request_token_url = 'https://www.flickr.com/services/oauth/request_token' | |
access_token_url = 'https://www.flickr.com/services/oauth/access_token' | |
authorization_url = 'https://www.flickr.com/services/oauth/authorize' |
This file contains 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
<?php | |
ob_start(); | |
var_dump($this); | |
error_log(ob_get_clean()); | |
?> |