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
#/usr/bin/bash | |
# extract images from pdf at first-hand | |
#prefix=pict | |
#echo extract images from "$1" | |
#pdfimages -j "$1" $prefix | |
# IMAGES ARE SAVED SECVENTIALLY AS IMAGE AND THE NEXT IS A MASK IMAGE !!!! | |
declare -a files=($(ls *.ppm *.pbm)) | |
mask= | |
image= | |
for (( i = 0; i < ${#files[*]}; i = i + 2 )) |
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
// Basic p(r)olyfill for proposed feature | |
// This defines no successor of empty arrays, so the range for prefix | |
// [] or [[],[]] has no upper bound. | |
// An alternate definition would preclude adding additional nesting, | |
// so the range for prefix [] would have upper bound [[]] and the | |
// range for prefix [[], []] would have upper bound [[], [[]]]. | |
IDBKeyRange.forPrefix = function(prefix) { | |
// Ensure prefix is a valid key itself: |
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
// url_to_drive.gs | |
// Google Apps Script | |
// Allows uploading a URL directly to Google Drive. | |
// | |
// Live link: | |
// https://script.google.com/macros/s/AKfycbzvhbHS4hnWPVBDHjQzZHA0qWq0GR-6hY7TbYsNto6hZ0MeAFZt/exec | |
// | |
// Source-code: | |
// https://gist.github.com/denilsonsa/8134679 | |
// https://script.google.com/d/1Ye-OEn1bDPcmeKSe4gb0YSK83RPMc4sZJt79SRt-GRY653gm2qVUptoE/edit |
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
@include text-overflow; | |
@include text-shadow(0 -1px 1px #21272B); | |
@include border-radius(2px, 2px); | |
@include border-bottom-left-radius(8px); | |
@include box-shadow(rgba(0, 0, 0, 0.05) 3px 3px 5px); | |
@include single-box-shadow(rgba(0, 0, 0, 0.075), 0, 0, 3px); | |
@include single-transition(opacity, 0.2s, linear, 0s); | |
@include background(linear-gradient($color-btn, darken($color-btn, 10%))); | |
@include background-image(linear-gradient(lighten($color-btn, 5%), darken($color-btn, 15%))); | |
@include background-image(none); |
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"?> | |
<!DOCTYPE tsung SYSTEM "/home/ngocdaothanh/opt/tsung-ws-plugin/share/tsung/tsung-1.0.dtd"> | |
<tsung loglevel="notice" version="1.0"> | |
<clients> | |
<!-- Can't be IP --> | |
<client host="localhost" cpu="8"/> | |
<client host="t2" cpu="8"/> | |
<!-- | |
<client host="t3" cpu="8"/> | |
<client host="t4" cpu="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
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head |