clientId: 1088536419 clientSecret : NmVkMmQ0ZDk4MWVlZmIzMDgzM2JkMz
array(13) { [0]=> string(6) "中国" [1]=> string(6) "广东" [2]=>
# .zshrc 中 p9k 的配置内容 | |
##################################### | |
# P9k 配色方案: bright、 light、dark(模式下右侧提示符不显示) | |
POWERLEVEL9K_COLOR_SCHEME='light' | |
# 在新提示符之前插入一行以保持间距 | |
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
# https://github.com/bhilburn/powerlevel9k/tree/next#customizing-prompt-segments | |
# LEFT_PROMPT 左侧提示符 |
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
<?php | |
function getDirContents($dir, &$results = array()){ | |
$files = scandir($dir); | |
foreach($files as $key => $value){ | |
$path = realpath($dir.DIRECTORY_SEPARATOR.$value); | |
if(!is_dir($path)) { | |
$results[] = $path; | |
} else if($value != "." && $value != "..") { | |
getDirContents($path, $results); |
## Sublime Text 3 Serial key build is 3176 | |
> * Added these lines into /etc/hosts | |
127.0.0.1 www.sublimetext.com | |
127.0.0.1 license.sublimehq.com | |
> * Used the license key | |
----- BEGIN LICENSE ----- |
----- BEGIN LICENSE ----- | |
sgbteam | |
Single User License | |
EA7E-1153259 | |
8891CBB9 F1513E4F 1A3405C1 A865D53F | |
115F202E 7B91AB2D 0D2A40ED 352B269B | |
76E84F0B CD69BFC7 59F2DFEF E267328F | |
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4 | |
969624E7 DC9CD4D5 717FB40C 1B9738CF | |
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8 |
test |
@echo off | |
SET st3Path=D:\Program Files\Sublime Text 3\sublime_text.exe | |
@reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
clientId: 1088536419 clientSecret : NmVkMmQ0ZDk4MWVlZmIzMDgzM2JkMz
array(13) { [0]=> string(6) "中国" [1]=> string(6) "广东" [2]=>
Synchronize settings, keymaps, user styles, init script, snippets and installed packages across Atom instances. |