Skip to content

Instantly share code, notes, and snippets.

@commonquail
commonquail / java-files-with-no-declared-constructors.sh
Created April 13, 2015 11:58
Find Java files with no declared constructors
# These two commands both search the working directory
# for java class files that do not declare a constructor.
#
# The first command is marginally faster than the second;
# for truly large code bases, this may matter,
# but mostly it won't.
#
# The commands disregard package-info.java and tests.
# #1: Finds all files in the first pass,
@commonquail
commonquail / gear.md
Last active August 29, 2015 14:18
Cinnamon's smaller menu gear icon.

For unknown reasons I keep having to reset this. Now, additionally, the only relevant Google result leads to a GitHub issue that unfortunately points to a file on the master branch that has since been moved. Here are the direct links to the files.

Note that this icon has been changed in a later version. The newer version seems to be slightly larger. I dislike it, so this is the original gear.

@commonquail
commonquail / unattended-upgrades.md
Last active August 29, 2015 14:16
Unattended upgrades for Linux Mint 17.1

Based on [this guide by Andew Bolster, 2015-02-06][guide]; reposted for posterity and to address a minor awk field separator oddity.

Install unattended-upgrades:

$ sudo apt-get install unattended-upgrades -y

unattended-upgrades writes to the log file

@commonquail
commonquail / .blockify_list
Last active August 29, 2015 14:08
Blockify company name list for https://github.com/mikar/blockify
AAU
Artpeople
betsafe.com
Bose
Digster
disco:wax
Dr. Oetker
Filtr
Finetunes
FRESH LIGE NU
@commonquail
commonquail / mdpp.md
Last active August 28, 2015 04:38
Idea for a Markdown preprocessor

Idea for a Markdown preprocessor

Feature master list:

  • Table of contents
    • {{toc}}?
    • ATX headers
    • two-pass processing for consistent stream
    • Ignore # in code blocks, quotes
  • File transclusion