Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Source: http://superuser.com/questions/360434/any-way-to-save-all-psd-layers-separately | |
Imagemagick will by default convert a psd to multiple images: | |
convert file.psd file.png | |
will result in file-0.png, file-1.png etc for each layer. If you wanted a single image, use the flatten switch: | |
convert file.psd -flatten file.png | |
Imagemagick is available on osx, windows and linux. And iOS somehow. |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: phd | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: phabricator | |
# Description: manages phd | |
### END INIT INFO |
autocmd! bufwritepost .vimrc source% | |
autocmd! BufNewFile,BufRead *.ino setlocal ft=arduino | |
autocmd! BufNewFile,BufRead *.pde setlocal ft=arduino | |
autocmd! BufNewFile,BufRead *.job setlocal ft=dosini | |
autocmd! BufNewFile,BufRead *.md setlocal ft=pandoc | |
set nocompatible | |
"Henry's Tab Settings" | |
set expandtab |
#Do not run this !!! | |
#IO operations | |
alias less='cat' | |
alias sed='awk' | |
#administration | |
alias apt-get='aptitude' | |
#file editing |
#include <array> | |
#include <utility> | |
using Int = unsigned long long; | |
template<Int N, Int A = 0x0llu, Int B = 0x1llu> | |
constexpr Int Fib = []() constexpr { | |
if constexpr(N == 0) | |
return A; | |
else if constexpr(N == 1) |
Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
(()=>{
markAllVideosAsNotBeingInteresting({
iterations: 1
});
})();