Skip to content

Instantly share code, notes, and snippets.

azzamsa azzamsa

View GitHub Profile
View 2.html
{% extends 'base.html' %}
{% block title %}
{{ super() }}
{% endblock title %}
{% block meta_tags_in_head %}
{{ super() }}
{% from '_includes/_defaults.html' import LANDING_PAGE_ABOUT with context %}
{% if LANDING_PAGE_ABOUT and LANDING_PAGE_ABOUT.title %}
View mu4e-and-protonmail.md

Connecting emacs and Protonmail Bridge

This guide will cover the basics on how to integrate emacs with the bridge using

  • mu4e
  • mbsync
  • smtpmail

I am going to assume that you already have installed the mentioned software, I am using Fedora 27 but it should work on any GNU/Linux distribution.

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
@azzamsa
azzamsa / telegram-emacs-id.md
Last active Jan 18, 2019
Panduan Memulai - Emacs Indonesia
View telegram-emacs-id.md

Indonesian Emacs User Group (Emacs Indonesia)

Kelompok telegram untuk text-editor yang tak lengkang dimakan zaman (🐎) dan memiliki kekuatan tak terbatas (🔥)

Panduan Memulai

@azzamsa
azzamsa / id-emacser.md
Last active Jan 17, 2019
Indonesian Emacs Users
View id-emacser.md

Emacs Indonesia User Group

List of Indonesian Emacs Users (Daftar Pengguna Emacs Indonesia)

PS: Please add your name with your dotemacs if you sure that you're an Emacser :). Fork this gist then add your name.

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}
@azzamsa
azzamsa / ignore.tex
Created Nov 14, 2018
minted and longtable ignore page break
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;
@azzamsa
azzamsa / .bash_prompt.bash
Created Apr 15, 2018
bash_prompt for emacs
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;
You can’t perform that action at this time.