http://www.raspberrypi.org/phpBB3/
在磁盘中创建备份目录 mkdir /media/usbdisk/mactimebak 推荐使用ext4分区(打开notime)
安装nettalk
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |
# sudo ln -s ~/nginx.conf unicorn.conf | |
upstream app_server { | |
server unix:/tmp/unicorn_padrino.sock fail_timeout=0; | |
} | |
server { | |
listen 80; | |
charset utf-8; | |
server_name db.innshine.com; |
http://www.raspberrypi.org/phpBB3/
在磁盘中创建备份目录 mkdir /media/usbdisk/mactimebak 推荐使用ext4分区(打开notime)
安装nettalk
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="wedisagree" | |
# Example aliases |
package timestamp | |
import ( | |
"fmt" | |
"labix.org/v2/mgo/bson" | |
"strconv" | |
"time" | |
) | |
type Timestamp time.Time |
#!/bin/sh | |
# check_error my_cmd --param ... | |
check_error() { | |
$* # we execute everything | |
if [ $? -ne 0 ]; then | |
echo "check_error(): erreur avec la commande suivante:" | |
echo "check_error(): $*" | |
echo "check_error(): Continuer? o/n" | |
read a |
Run go install
and
gogitlocalstats -add /path/to/folder
will scan that folder and its subdirectories for repositories to scangogitlocalstats -email [email protected]
will generate a CLI stats graph representing the last 6 months of activity for the passed email. You can configure the default in main.go
, so you can run gogitlocalstats
without parameters.Being able to pass an email as param makes it possible to scan repos for collaborators activity as well.
{ | |
"emojis": [ | |
{"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
// params struct 调整为 common 包的alias | |
type (\w+) struct \{\n([,/|\[\]\s\w\*\(\)\?`:".-]+)\n\} | |
type $1 = common.$1 | |
// params string 调整为 common 包的alias | |
type (\w+) string | |
type $1 = common.$1 | |
// params int 调整为 common 包的alias | |
type (\w+) int |
-- 重新加载配置 | |
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "R", function() | |
hs.reload() | |
end) | |
hs.alert.show("加载完毕") | |
-- 窗口横二竖二 | |
hs.hotkey.bind({"cmd", "ctrl"}, "a", function() | |
local win = hs.window.focusedWindow() |