Skip to content

Instantly share code, notes, and snippets.

View mxro's full-sized avatar

Max Rohde mxro

View GitHub Profile
@jay3sh
jay3sh / stack-trace-without-exception.js
Created August 20, 2011 10:33
print stack trace anywhere
function foo(args) {
var i, j, k;
// ...
// j acquires some interesting value
// Who called foo when j took this interesting value?
//
var e = new Error('dummy');
var stack = e.stack.replace(/^[^\(]+?[\n$]/gm, '')
.replace(/^\s+at\s+/gm, '')
@johnantoni
johnantoni / install.md
Last active July 29, 2025 11:38
install duplicity on centos 64bit

check os

cat /etc/redhat-release

install repo

sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
yum repolist

install duplicity

@AveYo
AveYo / . Pitch Black Theme.reg
Last active May 19, 2026 10:53
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2026-05-15
Windows Registry Editor Version 5.00
; Pitch Black Theme with Gray Accent preset by AveYo
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2026.05.15
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:ff000000 ; Window borders and titlebar [black]
"StartColorMenu"=dword:ff000000 ; Modals in UWP ex. Apply new refresh rate in 10 [black]
"AccentPalette"=hex:\