As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env python2 | |
import os | |
import sys | |
import re | |
from PyQt4 import QtGui, QtCore | |
from PyQt4.QtCore import Qt, QString | |
class TheUI(QtGui.QDialog): |
// ==UserScript== | |
// @name Piratebay IMDB Douban mashup | |
// @namespace tpb&doubanstyle | |
// @description Adds Imdb movie details in thepiratebay(and proxies), an embedded youtube trailer for movies, links to torrentz and torrent file caches, and and douban movie info / reviews | |
// @include /^http://thepiratebay\.(\w\w)/torrent// | |
// @include /^https://thepiratebay\.(\w\w)/torrent// | |
// @include http://www.pirateproxy.me/torrent/* | |
// @include http://pirateproxy.net/torrent/* | |
// @icon http://i.imgur.com/U1fPU.png | |
// @version 0.9 |
#!/bin/bash | |
#========================================================================= | |
# FileName: myrecord.sh | |
# Desc: -- record my desktop by ffmpeg | |
# Author: tiglog | |
# Email: tiglog@126.com | |
# Version: 1.0 | |
# LastChange: 2013-09-20 20:20:51 | |
#========================================================================= | |
# Usage: myrecord.sh /path/fo/out.flv |
#!/usr/bin/env bash | |
# the convert call depends on whether you have h264 support in | |
# convert -list format | |
# if you don't have it , then record to -vcodec huffyuv | |
# if you see convert: Not enough pixel data `/tmp/x.avi' @ avi.c/ReadAVIImage/1243. | |
# maybe try removing -vcodec completely and use uncompressed avi | |
if [ $# -ne 1 ]; then |
#!/usr/bin/env bash | |
# the convert call depends on whether you have h264 support in | |
# convert -list format | |
# if you don't have it , then record to -vcodec huffyuv | |
# if you see convert: Not enough pixel data `/tmp/x.avi' @ avi.c/ReadAVIImage/1243. | |
# maybe try removing -vcodec completely and use uncompressed avi | |
if [ $# -ne 1 ]; then |
#!/usr/bin/env bash | |
# the convert call depends on whether you have h264 support in | |
# convert -list format | |
# if you don't have it , then record to -vcodec huffyuv | |
# if you see convert: Not enough pixel data `/tmp/x.avi' @ avi.c/ReadAVIImage/1243. | |
# maybe try removing -vcodec completely and use uncompressed avi | |
if [ $# -eq 2 ]; then |
#!/usr/bin/env python2 | |
import os | |
import sys | |
import re | |
from PyQt4 import QtGui, QtCore | |
from PyQt4.QtCore import Qt, QString | |
class MyTreeWidget(QtGui.QTreeWidget): |
#!/usr/bin/env bash | |
# the convert call depends on whether you have h264 support in | |
# convert -list format | |
# if you don't have it , then record to -vcodec huffyuv | |
# if you see convert: Not enough pixel data `/tmp/x.avi' @ avi.c/ReadAVIImage/1243. | |
# maybe try removing -vcodec completely and use uncompressed avi | |
# usage: |
#!/usr/bin/env python2 | |
import os | |
import sys | |
import re | |
from PyQt4 import QtGui, QtCore | |
from PyQt4.QtCore import Qt, QString | |
class MyTreeWidget(QtGui.QTreeWidget): |