Skip to content

Instantly share code, notes, and snippets.

View weynhamz's full-sized avatar

Weynham Zheng (Techlive Zheng) weynhamz

  • @ciandt-dev
  • Melbourne, Australia
View GitHub Profile
==> 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());
(function($) {
var settings = {};
settings.customClass = 'placeholder';
function args(elem) {
// Return an object of element attributes
var newAttrs = {};
var rinlinejQuery = /^jQuery\d+$/;
@weynhamz
weynhamz / PKGBUILD
Last active January 3, 2016 02:39
PKGBUILD of nightingale-git
# Maintainer: Matt Parnell/ilikenwf
# Contributor: Sam Stuewe <[email protected]>
# Contributor: Techlive Zheng <[email protected]>
_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 <[email protected]>
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 <[email protected]>
# Contributor: Jekyll Wu <[email protected]>
# Contributor: riverscn <[email protected]>
# Contributor: Lee.MaRS <[email protected]>
# Contributor: Techlvie Zheng <[email protected]>
_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 <[email protected]>
# Contributor: Piotr Beling <[email protected]>
# Contributor: Wael Nasreddine <[email protected]>
# Contributor: Guillermo A. Amaral <[email protected]> (thewonka)
# Contributor: Chih-mao Chen <[email protected]>
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 <[email protected]>
# Contributor: Wael Nasreddine <[email protected]>
# Contributor: Guillermo A. Amaral <[email protected]> (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 <[email protected]>
# Contributor: Thomas Dziedzic <[email protected]>
# Contributor: Jan "heftig" Steffens <[email protected]>
# Contributor: tobias [ tobias at archlinux org ]
# Contributor: Daniel J Griffiths <[email protected]>
pkgbase=vim-cli
pkgname=('vim-cli' 'vim-cli-runtime')
_topver=7.4
_patchlevel=16