Skip to content

Instantly share code, notes, and snippets.

View Chinggis6's full-sized avatar

Chinggis Tenger Chinggis6

View GitHub Profile

TaskWarrior Quick Cheat Sheet

Last Update: 2017-01-11

Undelete a Task

task [id] modify end: status:pending

Undelete tasks that were deleted today

task +DELETED end:today modify end: status:pending
@aeakett
aeakett / solarized.xml
Created March 23, 2016 12:50
rough pass at making a Solarized theme for muCommander
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<!-- = File table appearance ========================= -->
<!-- ================================================= -->
<file_table>
<font family="Consolas" size="13"/>
<border color="404040"/>
<inactive_border color="404040"/>
<outline color="073642"/>
<inactive_outline color="cccccc"/>
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
@protrolium
protrolium / wget.md
Last active March 8, 2024 01:46
wget commands

Download Only Certain File Types Using wget -r -A

You can use this under following situations:

  • Download all images from a website
  • Download all videos from a website
  • Download all PDF files from a website

$ wget -r -A.pdf http://url-to-webpage-with-pdfs/

@mshuffett
mshuffett / solarized_dark.vimp
Created December 13, 2014 21:49
Modified solarized dark theme for vimperator
" ==VimperatorColorSchema==
" name: Solarlized enhanced by Kenta Suzuki. (Based on 'Solarized')
" url: https://github.com/suzuken/dotfiles/blob/master/vimperator/colors/solarized.vimp
" ==/VimperatorColorSchema==
"
" Solarized - Ethan Schoonover
" http://ethanschoonover.com/solarized
"
" SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
" --------- ------- ---- ------- ----------- ---------- ----------- -----------

Start weechat if you haven't already:

$ weechat

open up browser and go to: https://irc.gitter.im/ retrieve your /PASS

In weecaht run (thanks to raine):

@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active July 16, 2024 17:25
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@dreamcat4
dreamcat4 / zabbix.md
Last active October 31, 2019 10:32
How to Install Zabbix on NAS4Free / FreeNAS / pfSense, with Finch / Qjail-3.5 - http://dreamcat4.github.io/finch/

Zabbix How-To

For notes / info please scroll to bottom of page. Most commands can just be copy-pasted.

Create a new jail

# Finch users should update to get the latest fixes
[ "$(echo "$(finch --shortver) >= 1.25" | bc)" = 1 ] || sudo finch update -y
sudo finch chroot
@pik4ez
pik4ez / dunstrc
Created June 2, 2014 06:22
Dunst config
[global]
font = Monospace 10
# allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough<s/>
# <u>underline</u>
#
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html

No, they're not, but they might seem that way when you first meet them. Thanks to Hack Reactor, I no longer think of them that way. After a deep dive and some BackBone, you won't either. Here's what I'm going to cover:

  1. Why: What makes events so special
  2. How: How a basic event system works
  3. Backbone: A pitfall of the Event API
  • Bonus round: DOM Event API

If you're comfortable with eventing systems, you'll probably want to skip to section three.