Skip to content

Instantly share code, notes, and snippets.

Alex Vie silvercircle

Block or report user

Report or block silvercircle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .emacs
This is my emacs configuration file. It's optimized to be used with emacs in
daemon mode, but should work without.
Tested and compatible with Emacs 25.3 and Emacs 26 on FreeBSD and several Linux
flavors. Note that display-line-numbers-mode REQUIRES Emacs 26+.
required elpa modules:
silvercircle /
Created Apr 10, 2018
Start emacsclient and only create a new frame if none exists. Otherwise reuse frame. Pass -nw to force console-emacs
#!/bin/bash -e
if [[ "$DISPLAY" ]]; then
frame=`emacsclient -a '' -e "(member \"$DISPLAY\" (mapcar 'terminal-name (frames-on-display-list)))" 2>/dev/null`
[[ "$frame" == "nil" ]] && opts='-c' # if there is no frame open create one
[[ "${@/#-nw/}" == "$@" ]] && opts="$opts -n" # don't wait unless we've asked to run in a terminal
silvercircle / arcdark.conf
Created Apr 4, 2018
Geany theme to match Arc-Dark
View arcdark.conf
# No explicit license available
# Based on Monokai
# Indicated author and assumed copyright holder is:
# Wimer Hazenberg <>
# Originally ported to Geany and tweaked by Thanh Tran
# <trongthanh(at)gmail(dot)com>
# Slightly modified to match the Arc color scheme by
View tmux-cheatsheet.markdown

Tmux shortcuts & cheatsheet

Start new:


Start a new session and name it:

    tmux new -s myname
silvercircle / vsconfig.json
Last active Sep 2, 2017
My Visual Studio Code config
View vsconfig.json
"editor.fontFamily": "'Iosevka', Consolas, 'Courier New', monospace",
"editor.fontSize": 16,
"editor.minimap.renderCharacters": false,
"editor.cursorStyle": "block",
"editor.cursorBlinking": "phase",
"editor.showFoldingControls": "always",
"editor.minimap.showSlider": "always",
"window.restoreWindows": "all",
"explorer.openEditors.visible": 0,
View Firefox UserChrome.css
@namespace url(;
* {
font-size: 8pt !important;
font-family: "Verdana" !important;
.newtab-cell {
margin-bottom: 0px !important;
margin-top: 0 !important;
View .vimrc
" .vimrc
" vim: fdm=indent:
" Only tested with vim 8.0 or later on Windows (native + Cygwin) and FreeBSD
" The following plugins are required (if any of them is not installed, errors on
" startup may occur)
" * pathogen (plugin manager)
" * neoComplete
silvercircle / userContent.css
Last active Apr 3, 2017
My userContent for Thunderbird
View userContent.css
* Get rid of right quoting bar and unnecessary paddings.
* note: works best with the following settings in prefs.js or (preferrably)
* user.js
* user_pref("mail.quoted_graphical", false);
* user_pref("mail.quoteasblock", false);
silvercircle / userChrome.css
Last active May 4, 2019
My Thunderbird userChrome for square tabs + some minor UI tweaks
View userChrome.css
* Thunderbird userChrome.css
* For version 60 or later *ONLY*, will probably break and uglyfy older versions
* of TB.
* it's meant to be used with the default 3 panel split layout
@namespace url(;
silvercircle / gist:7623266
Last active Dec 29, 2015
member function with named arguments, using boost parameters library
View gist:7623266
* member function with named arguments, using boost parameters library
#include <memory>
#include <boost/parameter/name.hpp>
#include <boost/parameter/preprocessor.hpp>
// just make it look prettier
#define __Param(x) BOOST_PARAMETER_NAME(x)
You can’t perform that action at this time.