Skip to content

Instantly share code, notes, and snippets.


azzamsa azzamsa

View GitHub Profile
azzamsa / init.el
Last active Apr 29, 2017
My init emacs, learning it from bbsov
View init.el
;;; init.el --- Azzamsa Emacs configuration
;; Copyright (c) 2016 Azzamsa
;; Author: Azzamsa <>
;; URL: #
;; Keywords: convenience
;; This file is not part of GNU Emacs.
View .bash_aliases
#!/usr/bin/env bash
# List all files colorized in long format
alias l="ls -lF ${colorflag}"
# List all files colorized in long format, including dot files
alias la="ls -laF ${colorflag}"
# List only directories
alias lsd="ls -lF ${colorflag} | grep --color=never '^d'"
azzamsa /
Created Jul 26, 2017
Pengalaman membeli Cangkul baru dan instalasi Debian.

Pengalaman membeli Cangkul baru dan instalasi Debian. 26.07.2017 10:49 AM


saya hanyalah petani biasa, tetapi sama seperti petani lainnya yang menginginkan cangkul yang tajam dan lebih tebal dari yang sebelumnya, saya pun memiliki idaman tersebut. setelah 4 tahun lebih dengan Notebook ber CPU celereon/atom, yang pada perjalanannya saya harus banyak mencari alternatif, ketika sistem perkulihaan memaksa harus

azzamsa /
Last active Sep 24, 2017
Borgbackup Experiment

BorgBackup Experiment


I need a backup tools for my machine, before I use unison and duplicity, but after some reading, I want to give borgbackup a try.

I don't understand data deduplication, so I read and watch some videos about it. from the videos I can say that deduplication means

azzamsa /
Last active Sep 26, 2017
additional experiment

BorgBackup experiment using du -bytes

I delete all the backup archive and try to compare the source dir and repo dir using du (using -bytes parameter), so I know exactly how many bytes added when nothing changes.

this is initial size of the repo

$ du -h  repob/
8.0K    repob/data/0
azzamsa / array-n-elements.lisp
Created Nov 4, 2017
Array Of N Elements - HR
View array-n-elements.lisp
;; v2
(defun f (nilai-akhir)
for angka from 1 to (- nilai-akhir 1)
collect angka)
(format t "[ ~{~a~^, ~} ]" angka))
(f (read))
azzamsa / cfw-faces.lst
Created Nov 28, 2017
calfw avaliable faces
View cfw-faces.lst
Cfw:Face Annotation face: [sample]
Cfw:Face Day Title face: [sample]
Cfw:Face Default Content face: [sample]
Cfw:Face Default Day face: [sample]
Cfw:Face Disable face: [sample]
Cfw:Face Grid face: [sample]
Cfw:Face Header face: [sample]
Cfw:Face Holiday face: [sample]
Cfw:Face Periods face: [sample]
Cfw:Face Saturday face: [sample]
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;
azzamsa /
Last active Jan 24, 2018 — forked from sgergely/gist:3793166
Midnight Commander Keybinding for GNU/Linux

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
You can’t perform that action at this time.