- Theme colors (your brand colors)
- UI colors (colors for errors, flashes, success buttons...)
- Gray colors (colors for typography, shadows, backgrounds)
- Brand colors (social media branded elements like Facebook, Twitter, etc.)
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
# version 1.1.0 | |
# Rex Tsou | |
# 2017/04/11 | |
echo ----------- | |
echo v1.1.0 | |
echo Author: Rex Tsou | |
echo ----------- | |
echo '-h for more information' |
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
//smooth scroll to #id | |
var $root = $('html, body'); | |
$('a.bookmark').click(function() { | |
var href = $.attr(this, 'href'); | |
$root.animate({ | |
scrollTop: $(href).offset().top | |
}, 500, function() { | |
window.location.hash = href; | |
}); | |
return false; |
I hereby claim:
- I am akccakcctw on github.
- I am akccakcctw (https://keybase.io/akccakcctw) on keybase.
- I have a public key whose fingerprint is 486D D002 3547 1AC6 5279 97F2 D8A1 80F0 B6DA 8CF6
To claim this, I am signing this object:
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 | |
# ----------------------- | |
# |+++| version 1.0.0 | |
# |+++| Rex Tsou | |
# |+++| 2016/09/29 | |
# usage------------------ | |
# $ ./checkurls.sh [file] | |
# ----------------------- | |
echo '' >> url_status.md | |
echo `date` >> url_status.md |
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 | |
# version 1.3.2 | |
# Rex Tsou | |
# 2017/01/09 | |
echo -------------------- | |
echo 圖片壓縮工具 v1.3.2 | |
echo Author: Rex Tsou | |
echo -------------------- |
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 | |
# ----------------------- | |
# |###| version 1.3.1 | |
# |###| Rex Tsou | |
# |###| 2017/09/26 | |
# usage------------------ | |
# $ ./checkurls.sh [file] | |
# ----------------------- | |
output_file='url_status.md' |
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
$colors: ( | |
origin: grey, | |
warning: orange, | |
danger: red | |
); | |
:root { | |
@each $key, $color in $colors { | |
--#{key}: $color; | |
} |
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
/** | |
* A node in the DOM tree. | |
* | |
* @external Node | |
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node Node} | |
*/ | |
/** | |
* | |
* @param {external:Node} el - Element want to scroll |
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
# 下載 repo files 並解壓縮至資料夾 | |
cd $HOME | |
mkdir <repo> | |
cd <repo> | |
curl -L https://github.com/<user>/<repo>/archive/master.tar.gz | tar -xz --strip-component=1 |
OlderNewer