支持在印象笔记中,按快捷键(ctrl-alt-k)插入待办事项
原作者:Jason Stillwell
经由Oaker修改,支持印象笔记。根据本脚本,也可为其它编辑功能绑定快捷键。
This was moved to https://github.com/jtyr/ansible-ini_inventory |
import jenkins.model.* | |
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.common.* | |
import com.cloudbees.plugins.credentials.domains.* | |
import com.cloudbees.plugins.credentials.impl.* | |
import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
import org.jenkinsci.plugins.plaincredentials.* | |
import org.jenkinsci.plugins.plaincredentials.impl.* | |
import hudson.util.Secret | |
import hudson.plugins.sshslaves.* |
支持在印象笔记中,按快捷键(ctrl-alt-k)插入待办事项
原作者:Jason Stillwell
经由Oaker修改,支持印象笔记。根据本脚本,也可为其它编辑功能绑定快捷键。
MIT License | |
Copyright (c) 2014 Piotr Kuczynski | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWAR |
[Background] | |
Color=48,10,36 | |
MaxRandomHue=0 | |
MaxRandomSaturation=0 | |
MaxRandomValue=0 | |
[BackgroundIntense] | |
Color=89,18,67 | |
[Color0] |
/* gnome-terminal */ | |
TerminalScreen { | |
-TerminalScreen-background-darkness: 0.95; | |
background-color: #300a24; | |
color: #fff; | |
} | |
TerminalWindow, | |
TerminalWindow.background { | |
background-image: none; |
# Settings -> Applications -> Manage Applications -> Market -> Clear Cache -> Force Stop (this button will be enabled if your Market is still running) -> OK | |
# Open a console and type the following command (for *nix user, remember to use sudo to avoid permission error): | |
adb shell setprop gsm.sim.operator.numeric 310260 | |
adb shell setprop gsm.operator.numeric 310260 | |
adb shell getprop gsm.sim.operator.iso-country us | |
adb shell getprop gsm.operator.iso-country us |
#!/bin/sh | |
# | |
# Hook used to indent all source files before commiting | |
# | |
INDENT="$(git config hooks.indent)" | |
if test ! -x "$INDENT" | |
then | |
echo "Unable to find indent executable on the configuration." | |
echo |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
import re | |
from hashlib import md5 | |
def gfm(text): | |
# Extract pre blocks. | |
extractions = {} | |
def pre_extraction_callback(matchobj): | |
digest = md5(matchobj.group(0)).hexdigest() | |
extractions[digest] = matchobj.group(0) | |
return "{gfm-extraction-%s}" % digest |