Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
git remote add upstream https://github.com/whoever/whatever.git
git fetch upstream
This was taken from the Wikipedia article Adobe Photoshop version history, which was deleted (it may still be available on Google Cache). Images and citations have been removed.
Version | Platform |
---|
function deque_init(d) {d["+"] = d["-"] = 0} | |
function deque_is_empty(d) {return d["+"] == d["-"]} | |
function deque_push_back(d, val) {d[d["+"]++] = val} | |
function deque_push_front(d, val) {d[--d["-"]] = val} | |
function deque_back(d) {return d[d["+"] - 1]} | |
function deque_front(d) {return d[d["-"]]} | |
function deque_pop_back(d) {if(deque_is_empty(d)) {return NULL} else {i = --d["+"]; x = d[i]; delete d[i]; return x}} | |
function deque_pop_front(d) {if(deque_is_empty(d)) {return NULL} else {i = d["-"]++; x = d[i]; delete d[i]; return x}} | |
function deque_print(d){x="["; for (i=d["-"]; i<d["+"] - 1; i++) x = x d[i]", "; print x d[d["+"] - 1]"]; size: "d["+"] - d["-"] " [" d["-"] ", " d["+"] ")"} |
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Cygwin]
"Icon"="D:\\Software\\cygwin64\\Cygwin.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Cygwin\Command]
@="D:\\Software\\cygwin64\\bin\\mintty.exe -i /Cygwin-Terminal.ico /bin/env _T=\"%V\" /bin/zsh -l"
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
显示树莓派cpu温度、使用率及内存使用率 | |
''' | |
import os | |
def show_temp(): | |
file = open("/sys/class/thermal/thermal_zone0/temp") |