Skip to content

Instantly share code, notes, and snippets.

@mdelhoneux
mdelhoneux / thesis_progress.sh
Last active May 10, 2019 07:27 — forked from dmhowcroft/thesis_progress.sh
Tweaked version of de Lhoneux's thesis progress script
#!/usr/bin/env bash
# Assumes PDF and tex filepath differ only in the extension
#
# Usage:
# thesis_progress.sh [FILENAME [TARGET_PAGECOUNT]]
#
# FILENAME is your thesis PDF (def: thesis.pdf)
# TARGET_PAGECOUNT is the number of pages you want to write (def: 180)
#
@juanarbol
juanarbol / chmodCheatSheet.md
Last active November 24, 2025 01:47
Chmod cheat sheet

Chmod codes cheat sheet

How to use chmod codes in UNIX:

  1. There are three types of permissions in files and folders in unix
    1. Read (r)
    2. Write (w)
    3. Execute (x)
  2. And, there is a classification of users called UGO (explained bellow):
  3. U ~> User (usually, you)
@DamnedScholar
DamnedScholar / language-sampleGrammar.cson
Last active July 28, 2024 08:43
Grammar boilerplate with annotations.
# TextMate tutorial: http://manual.macromates.com/en/language_grammars
# Regex to convert keys to unquoted: '(include|match|captures|begin|end|beginCaptures|endCaptures|name|patterns|0|1|2|3|4|5|6|7|8|9|comment|fileTypes|scopeName|repository|contentName|firstLineMatch|foldingStartMarker|foldingStopMarker)':
scopeName: 'source.<scope>' # <scope> should be a short, unique indicator for the language ("js", "php", "c", etc.)
name: '<name>' # The title that will show up in grammar selection and on your status bar.
fileTypes: [ # An array of file extensions.
'txt'
'exif'
]
@marsam
marsam / toallemployees.md
Created June 23, 2013 18:42
TO ALL EMPLOYEES

TO ALL EMPLOYEES

It has been brought to the management’s attention that some individuals have been using foul language in the course of normal conversation between employees. Due to complaints from some of the easily offended workers, this conduct will no longer be tolerated.

The management does, however, realize the importance of each person being able to properly express their feelings when communicating with their fellow employees. Therefore, the management has compiled the following code phrases so that the proper exchange of ideas and information can continue.

OLD PHRASE                                               NEW PHRASE

No fucking way ......................................... I’m not certain that’s feasible.

You’ve got to be shitting me ........................... Really.