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
#over_div { | |
position:fixed; | |
top:0; | |
left:0; | |
z-index:1987; | |
width:100%; | |
height:100%; | |
background:#000; | |
filter:alpha(opacity=70); | |
opacity:0.7; |
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
.emj-banner { | |
overflow: hidden; | |
position: relative; | |
} | |
.emj-banner a { | |
top: 0; | |
left: 0; | |
position: absolute; | |
} |
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 script rename all files in current floder by number sequence | |
# | |
### | |
@start_i = 0 | |
@folder = Dir.pwd | |
class String |
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
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install dnscrypt-proxy --with-plugins | |
brew install caskroom/cask/brew-cask | |
# https://github.com/caskroom/homebrew-versions | |
# Alternate versions of Casks for homebrew-cask http://caskroom.io | |
brew tap caskroom/versions | |
brew cask install launchrocket | |
brew cask install alfred |
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
# Chinese (China) translations for Devise(3.5.2) | |
# by Kenrick-Zhou (https://github.com/Kenrick-Zhou) | |
# https://gist.github.com/Kenrick-Zhou/7909822 | |
zh-CN: | |
devise: | |
confirmations: | |
confirmed: "您的email已经确认。" | |
send_instructions: "几分钟后,您将收到确认帐号的电子邮件。" | |
send_paranoid_instructions: "如果您的邮箱存在于我们的数据库中,您将收到一封确认账号的邮件。" |
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 | |
docker run \ | |
--name reverse-proxy \ | |
--net=host \ | |
-p 80:80 \ | |
-v /root/nginx-conf.d:/etc/nginx/conf.d \ | |
-d nginx:stable |
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
Michael JIN - Full Stack Developer | |
=================================== | |
Summary | |
-------- | |
Good at self-study. Like new technology even about hardware. | |
- https://github.com/emj365 | |
- https://stackoverflow.com/users/811653/emj365 |
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
yarn add --dev eslint eslint-config-standard eslint-config-standard-react eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard | |
touch .eslintrc | |
cat > .eslintrc <<EOL | |
{ | |
"extends": ["standard", "standard-react"] | |
} | |
EOL | |
touch .eslintignore |
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
#/etc/opkg/distfeeds.conf | |
src/gz reboot_core http://mirrors.ustc.edu.cn/lede/releases/17.01.2/targets/brcm2708/bcm2710/packages | |
src/gz reboot_base http://mirrors.ustc.edu.cn/lede/releases/17.01.2/packages/arm_cortex-a53_neon-vfpv4/base | |
src/gz reboot_luci http://mirrors.ustc.edu.cn/lede/releases/17.01.2/packages/arm_cortex-a53_neon-vfpv4/luci | |
src/gz reboot_packages http://mirrors.ustc.edu.cn/lede/releases/17.01.2/packages/arm_cortex-a53_neon-vfpv4/packages | |
src/gz reboot_routing http://mirrors.ustc.edu.cn/lede/releases/17.01.2/packages/arm_cortex-a53_neon-vfpv4/routing | |
src/gz reboot_telephony http://mirrors.ustc.edu.cn/lede/releases/17.01.2/packages/arm_cortex-a53_neon-vfpv4/telephony |
OlderNewer