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
# | |
# Autostart SSH-agent and autoload all private keys in ~/.ssh directory | |
# | |
# How to use: | |
# - Place this scripts in ~/.bashrc | |
# - If ssh-agent is not filled by any private keys, passphrase prompts will show up for each private keys | |
# | |
# register ssh key | |
env=~/.ssh/agent.env |
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/bash | |
# You must accept the Oracle Binary Code License | |
# http://www.oracle.com/technetwork/java/javase/terms/license/index.html | |
# usage: get_jdk.sh <ext> <jdk_version> | |
# ext: rpm | |
# jdk_version: default 8 | |
ext=rpm | |
jdk_version=8 |
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/bash | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=`vagrant box outdated --global | grep outdated | tr -d "*'" | cut -d ' ' -f 2` | |
if [ ! ${#AVAILABLE_UPDATES[@]} -eq 0 ]; then | |
for box in $AVAILABLE_UPDATES ; do | |
echo "Found an update for $box" |
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
sed -e 's~&~\&~g' -e 's~<~\<~g' -e 's~>~\>~g' -e 's~\"~\"~g' -e "s~\'~\'~g" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<api xmlns="http://ws.apache.org/ns/synapse" | |
name="mqttP2" | |
context="/mqttqos"> | |
<resource methods="POST" uri-template="/{qos}"> | |
<inSequence> | |
<log/> | |
<property name="OUT_ONLY" value="true"/> | |
<property name="FORCE_SC_ACCEPTED" value="true" scope="axis2" type="STRING"/> | |
<property name="messageType" value="application/json" scope="axis2"/> |
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
# This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com | |
# See https://www.byte.nl/blog/magento-cacheleak-issue | |
# !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!! | |
user app; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { |
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/bash | |
httpd_conf_file='/etc/apache2/httpd.conf'; | |
hosts_file='/etc/hosts'; | |
server_name=''; | |
function check() | |
{ | |
if [ "$httpd_conf_file" = "" ]; then | |
echo "You must config the httpd_conf_file!"; |
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/bash | |
apidoc=/home/adipriyanto/PhpstormProjects/yii2pg/vendor/bin/apidoc | |
par_interactive="--interactive=0" | |
yii_dir=/home/adipriyanto/Documents/sourceCode/repo/yiisoft/yii2 | |
curr_dir=`pwd` | |
echo "# -- Update Yii2 repo" | |
cd $yii_dir | |
echo "cd to " `pwd` | |
echo "git fetch" |
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
IDE JAVA : | |
Netbeans : | |
https://netbeans.org/downloads/ | |
Eclipse : | |
http://www.eclipse.org/downloads/ | |
IntelliJ IDEA : | |
http://www.jetbrains.com/idea/download/ |