Instantly share code, notes, and snippets.

View ledger-step.md
  1. add transaction with C-c C-a
  2. select a date in minibuffer
  3. write description beside a date
  4. make newline and tab to select account
  5. use SCP 4 times to put the "400.000,00" (then use align-region later)
  6. make newline and TAB to select account
  7. use SCP 4 times to put the final amount. but how to calculate the final amount ?
2018/12/03 income from foo
View telegram-emacs-id.md
View id-emacser.md

List of Indonesian emacs users.

PS: Please add your name if you sure that you're an Emacser :)

View ignore-with-lorem.tex
\documentclass{report}
\usepackage[top=3cm,bottom=3cm,left=4cm,right=3cm]{geometry}
\usepackage[demo]{graphicx}
\usepackage{caption} % add ability to customize caption
\usepackage{longtable} % add table
\usepackage{subfig} % images side by side
\usepackage{graphicx}
View ignore-with-lt.tex
\documentclass{report}
\usepackage[top=3cm,bottom=3cm,left=4cm,right=3cm]{geometry}
\usepackage[demo]{graphicx}
\usepackage{caption} % add ability to customize caption
\usepackage{longtable} % add table
\usepackage{subfig} % images side by side
\usepackage{graphicx}
View ignore.tex
\documentclass{report}
\usepackage[top=3cm,bottom=3cm,left=4cm,right=3cm]{geometry}
\usepackage[demo]{graphicx}
\usepackage{caption} % add ability to customize caption
\usepackage{longtable} % add table
\usepackage{subfig} % images side by side
\usepackage{graphicx}
View eterm-bash.bash
#!/usr/bin/env bash
if [[ $TERM = eterm-color ]] ; then
# Don't change TERM for Emacs ansi-term.
:
elif [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM='xterm-256color';
fi;
View .bash_prompt.bash
#!/usr/bin/env bash
if [ -n "$INSIDE_EMACS" ]; then
# Don't change TERM for Emacs ansi-term.
:
elif [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM='xterm-256color';
fi;
View mc-keybinding.md

M (alt)

  • Quick change directory: M + c
  • Quick change directory history: M + c and then M + h
  • Quick change directory previous entry: M + c and then M + p
  • Command line history: M + h
  • Command line previous command: M + p
  • View change: M + t (each time you do this shortcut a new directory view will appear)
  • Print current working directory in command line: M + a
  • Switch between background command line and MC: Ctrl + o
View index.js
// Mendefinisikan Variable
var c; // variable untuk mendapatkan ID Canvas
var ctx; // Variable Canvas yang siap untuk gambar 2 D
var poin=0; // Variable untuk simpan poin
var starPos=[]; // Variable untuk simpan koordinat objek bintang
var smileyPos=[]; // Variable untuk simpan koordinat objek smiley
var interval; // variable untuk menyimpan interval kecepatan
var paused = false;
var stpy;
var smpy;