Skip to content

Instantly share code, notes, and snippets.

View hafizdkren's full-sized avatar
🏠
Learning from Home

Hilman Hazazi hafizdkren

🏠
Learning from Home
View GitHub Profile
@uchida
uchida / gist:1759935
Last active November 12, 2022 06:09
latexmkrc sample for LaTeX documents with pdflatex
# -*- cperl -*-
# latexmkrc
$pdflatex = 'pdflatex -8bit -etex -halt-on-error -synctex=1 %O %S';
$pdf_mode = 1;
$bibtex_use = 1;
$clean_ext = '%R_flymake.aux %R_flymake.dvi %R_flymake.log %R_flymake.out';
$clean_full_ext = 'bbl synctex.gz';
@palimadra
palimadra / drop-down-menu-subreddit
Created October 24, 2014 16:53
subreddit stylesheet with sidebar with drop-down menu
.submit.submit-link { display: none; }
/*
This is the stule sheet for subreddit
at http://www.reddit.com/r/WritingPrompts.
The menu in the sidebar is interesting and
that needs to be investigated
WritingPrompts Stylesheet Episode 3
Revenge Of The CSS3
@radfish
radfish / README
Created December 4, 2017 05:16
Route only Transmission through a VPN connection using your own VPN server
# The approach is to mark packets from a specific user,
# create a dedicated routing table with a default route
# through the VPN, and force all marked packets to be
# routed using that table.
#
# Sources:
# https://www.niftiestsoftware.com/2011/08/28/making-all-network-traffic-for-a-linux-user-use-a-specific-network-interface/
# http://freeaqingme.tweakblogs.net/blog/9340/netflix-using-a-vpn-for-just-one-application.html
# In this guide
@qzm
qzm / aria2.conf
Last active June 6, 2024 19:23
Best aria2 Config
### Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5