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
var chinese_mainland_phone_regexp = /^(((13[0-9]|145|147|15[0-3,5-9]|17[6-8]|18[0-2,5-9])[0-9])|(170[0,5,9]))([0-9]{7})$/i; |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// snippet from bootstrap-sass-official 3.3.5 breadcrumb component | |
// See https://github.com/sass/libsass/issues/1271 | |
$seperator: '/'; | |
.breadcrumb > li + li:before { | |
/* Expected: "/\00a0" */ |
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
# work for 14.04 15.05 | |
alias opkg-upgrade = opkg upgrade $(opkg list-upgradable | awk -F ' - ' '/1/ {print $1}') |
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
class Openssl < Formula | |
desc "SSL/TLS cryptography library" | |
homepage "https://openssl.org/" | |
url "https://www.openssl.org/source/openssl-1.0.2g.tar.gz" | |
mirror "https://dl.bintray.com/homebrew/mirror/openssl-1.0.2g.tar.gz" | |
mirror "https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-1.0.2g.tar.gz" | |
sha256 "b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33" | |
bottle do | |
sha256 "b1de0682c7a838a75da3a06ddad2b9700d208b2faaaa1b51c0889ba403c7dd22" => :el_capitan |
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/zsh | |
oldVersion=2015basic | |
newVersion=2016basic | |
needInstalled=`comm -23 <(/usr/local/texlive/$oldVersion/bin/universal-darwin/tlmgr list --only-installed | sed 's/:.*$//') <(/usr/local/texlive/$newVersion/bin/universal-darwin/tlmgr list --only-installed | sed 's/:.*$//') | awk -F ' ' '{print $2}' ORS=' '` | |
eval "sudo tlmgr install $needInstalled $@" |
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/env python | |
#-*- coding: utf-8 -*- | |
''' | |
Copyleft (c) 2015 breakwa11 | |
https://github.com/breakwa11/shadowsocks-rss | |
''' | |
import logging | |
import socket |
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
Homebrew build logs for certbot on Mac OS X 10.11.6 | |
Build date: 2016-09-07 20:55:45 |
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
Homebrew build logs for cfengine on Mac OS X 10.11.6 | |
Build date: 2016-09-07 21:02:33 |
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
Homebrew build logs for charm-tools on Mac OS X 10.11.6 | |
Build date: 2016-09-07 21:09:09 |
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
Homebrew build logs for cherokee on Mac OS X 10.11.6 | |
Build date: 2016-09-07 21:19:51 |
OlderNewer