I hereby claim:
- I am summic on github.
- I am a113n (https://keybase.io/a113n) on keybase.
- I have a public key ASCY71ahFqZvL3q7_uoDKbyPsKFhV2ZLtaAS5mXvC_YEPAo
To claim this, I am signing this object:
| { | |
| "legalhold": { | |
| "status": "disabled" | |
| }, | |
| "sso": { | |
| "status": "disabled" | |
| }, | |
| "validateSAMLemails": { | |
| "status": "disabled" | |
| }, |
I hereby claim:
To claim this, I am signing this object:
| [General] | |
| loglevel = warning | |
| bypass-system = true | |
| skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.0.0.0/8, localhost, *.local, e.crashlytics.com | |
| bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.0.0.0/8 | |
| dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114 | |
| ipv6 = false | |
| allow-wifi-access = false | |
| show-error-page-for-reject = true | |
| hide-crashlytics-request = true |
| #!/bin/sh | |
| # | |
| cd "/var/www/domain.com/" || exit | |
| unset GIT_DIR | |
| echo "git status info:" | |
| git status | |
| echo "*************************************"; |
| 在Mac OS中,点击窗口左上方的x,窗口将会关闭。如果你希望通过点击dock上的图标将窗口重新打开,你可以用如下方法做。 | |
| 实现方法如下: | |
| 在delegate里设置一个outlet,比如myWindow: | |
| IBOutlet NSWindow *myWindow; |
| #import <sys/sysctl.h> | |
| + (NSString *)hardwareModel | |
| { | |
| static NSString *hardwareModel = nil; | |
| if (!hardwareModel) { | |
| char buffer[128]; | |
| size_t length = sizeof(buffer); | |
| if (sysctlbyname("hw.model", &buffer, &length, NULL, 0) == 0) { | |
| hardwareModel = [[NSString allocWithZone:NULL] initWithCString:buffer encoding:NSASCIIStringEncoding]; |
| - (id) initWithContentRect: (NSRect) contentRect | |
| styleMask: (unsigned int) aStyle | |
| backing: (NSBackingStoreType) bufferingType | |
| defer: (BOOL) flag | |
| { | |
| if (![super initWithContentRect: contentRect | |
| styleMask: NSBorderlessWindowMask | |
| backing: bufferingType | |
| defer: flag]){ | |
| return nil; |
| #!/bin/bash | |
| # code-stats.sh | |
| # Show code statistics for your project. | |
| # Script version. | |
| VERSION='0.1.3' | |
| # Debug off by default. | |
| DEBUG= |
| * { | |
| margin: 0; | |
| padding: 0; | |
| position: relative; | |
| box-sizing: border-box; | |
| } | |
| img { | |
| display: block; | |
| } |
| './configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/private/etc' '--with-apxs2=/usr/sbin/apxs' '--enable-cli' '--with-config-file-path=/etc' '--with-libxml-dir=/usr' '--with-openssl=/usr' '--with-kerberos=/usr' '--with-zlib=/usr' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--with-curl=/usr' '--enable-dba' '--with-ndbm=/usr' '--enable-exif' '--enable-ftp' '--with-gd' '--with-freetype-dir=/usr/X11/' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/X11/' '--enable-gd-native-ttf' '--with-icu-dir=/usr' '--with-iodbc=/usr' '--with-ldap=/usr' '--with-ldap-sasl=/usr' '--with-libedit=/usr' '--enable-mbstring' '--enable-mbregex' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--without-pear' '--with-pdo-mysql=mysqlnd' '--with-mysql-sock=/var/mysql/mysql.sock' '--with-readline=/usr' '--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy' '--enable-wddx' '--with-xmlrpc' '--wit |