Skip to content

Instantly share code, notes, and snippets.

View weynhamz's full-sized avatar

Weynham Zheng (Techlive Zheng) weynhamz

View GitHub Profile
@weynhamz
weynhamz / config
Last active July 6, 2022 13:33
i3-wm configuration
# i3 config file
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
#####
#
# Fonts
#
==> web-server: An error occurred. The error will be shown after all tasks complete.
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An error occurred while executing the action on the 'web-server'
machine. Please handle this error then try again:
A Docker command executed by Vagrant didn't complete successfully!
The command run along with the output from the command is shown
below.
@weynhamz
weynhamz / firefox-session-manager-to-chrome-tabs-outliner.js
Created June 16, 2017 08:36
A nodejs script to transfer a directory of firefox "Session Manager + Tree Style Tabs" sessions to chrome "Tabs Outliner" session tree.
var chSession = {
type: 2000,
node: {
type: 'session'
},
};
var chSavedWin = [
2001,
{
@weynhamz
weynhamz / workflowy-to-todotxt.js
Created June 9, 2017 18:25
A snippet of javascript runs in the console that exports the workflowy content to todo.txt format
function get_name(h) {
if (h.getParent().getProjectId() != 'None') {
var p = get_name(h.getParent());
return p + ' > ' + h.getName();
} else {
return h.getName();
}
}
jQuery('.bullet').each(function () {
var h = project_tree.getProjectReferenceFromDomProject($(this).getProject());
@weynhamz
weynhamz / PKGBUILD
Last active January 3, 2016 02:39
PKGBUILD of nightingale-git
# Maintainer: Matt Parnell/ilikenwf
# Contributor: Sam Stuewe <halosghost@archlinux.info>
# Contributor: Techlive Zheng <techlivezheng@gmail.com>
_gitname=nightingale-hacking
_branch=sb-trunk-oldxul
pkgname=nightingale-git
pkgver=1.12.1.r3.g020e12a
pkgrel=1
pkgdesc="Community port of Songbird to be more Linux native, up to date, and open."
@weynhamz
weynhamz / PKGBUILD
Last active January 1, 2016 15:59
PKGBUILD of cvs-fast-export
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=cvs-fast-export
pkgver=1.0
pkgrel=1
pkgdesc="Export RCS or CVS history as a fastimport stream."
arch=('i686' 'x86_64')
depends=('python')
makedepends=('asciidoc')
url="http://www.catb.org/esr/cvs-fast-export/"
@weynhamz
weynhamz / PKGBUILD
Last active January 1, 2016 07:59
PKGBUILD of ibus-git
# Maintainer: Limao Luo <luolimao+AUR@gmail.com>
# Contributor: Jekyll Wu <adaptee@gmail.com>
# Contributor: riverscn <riverscn@gmail.com>
# Contributor: Lee.MaRS <leemars@gmail.com>
# Contributor: Techlvie Zheng <techlivezheng@gmail.com>
_pkgname=ibus
pkgname=${_pkgname}-git
pkgver=1.5.4.r15.g7587b8e
pkgrel=1
@weynhamz
weynhamz / PKGBUILD
Last active December 27, 2015 20:19
PKGBUILD of perl-convert-uulib
# Maintainer: Techlive Zheng <techlivezheng [at] gmail [dot] com>
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: David Zaragoza <david@zaragoza.com.ve>
# Contributor: Piotr Beling <qwak@w8.pl>
# Contributor: Wael Nasreddine <wael@phoenixlinux.org>
# Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
# Contributor: Chih-mao Chen <pkmx.tw@gmail.com>
pkgname='perl-convert-uulib'
pkgver='1.4'
@weynhamz
weynhamz / PKGBUILD
Last active December 27, 2015 20:19
PKGBUILD of perl-convert-tnef
# Maintainer: Techlive Zheng <techlivezheng [at] gmail [dot] com>
# Contributor: Arthur Titeica <arthur.titeica [at] gmail [dot] com>
# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
# Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
# Contributor: Wael Nasreddine <wael@phoenixlinux.org>
# Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
pkgname='perl-convert-tnef'
pkgver='0.18'
pkgrel='3'
@weynhamz
weynhamz / PKGBUILD
Last active December 27, 2015 13:39
PKGBUILD of vim-cli
# Maintainer: Techlive Zheng <techlivezheng@gmail.com>
# Contributor: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: tobias [ tobias at archlinux org ]
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgbase=vim-cli
pkgname=('vim-cli' 'vim-cli-runtime')
_topver=7.4
_patchlevel=16