Skip to content

Instantly share code, notes, and snippets.

@yang-ling
yang-ling / clean_snaps.py
Created August 22, 2018 04:36
Check and clean disabled snaps
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Check any disabled snap.
Remove disabled snap.
"""
import argparse
import subprocess
#!/usr/bin/env bash
function echoHeader {
# Blue, underline
echo -e "\033[0;34;4m${1}\033[0m"
}
function echoSection {
echo -e "\033[47;30m${1}\033[0m"
}
function echoInfo {
# ~/.tmuxinator/normal.yml
name: normal
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
@yang-ling
yang-ling / newsbeuter-config
Created February 26, 2015 10:08
newsbeuter config
# vim: ft=conf nospell
browser /usr/bin/google-chrome-stable
external-url-viewer /usr/bin/urlview
always-display-description true
goto-next-feed no
save-path ~/KuaiPan/Downloads/rss/
text-width 78
cache-file ~/KuaiPan/Downloads/rss/config/cache.db
max-items 500