Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
# i3 move a workspace to another monitor (multi monitor setup) | |
mode "move_workspace" { | |
bindsym Up move workspace to output up | |
bindsym Down move workspace to output down | |
bindsym Left move workspace to output left | |
bindsym Up move workspace to output up | |
bindsym Escape mode "default" | |
} |
-- To use: telegram-cli -k tg-server.pub -s ohgodno.lua | |
-- | |
-- Remember to watch for your telegram ID in telegram-cli, update it below. | |
-- This script will let you message yourself, and will ignore messages from others. | |
telegram_id = 1234567 | |
message_echo = "" | |
function on_msg_receive (msg) | |
if msg.to.id == telegram_id and msg.from.id == telegram_id and msg.text ~= message_echo then |
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
#!/bin/sh | |
set -e | |
# sudo for install may not be necessary, depending on permissions in /usr/local | |
curl -L -O http://download.zeromq.org/zeromq-4.0.4.tar.gz | |
tar -xzf zeromq-4.0.4.tar.gz | |
cd zeromq-4.0.4 | |
./configure |
From 8ab91751069e391a95151c6716a546b1732ade92 Mon Sep 17 00:00:00 2001 | |
From: JP <twitter:canoeberry> | |
Date: Sun, 19 Jan 2014 11:58:54 +0000 | |
Subject: [PATCH] partial memleak fix | |
This patch was created by JP (twitter: @canoeberry) based on a memleak fix by Dirk (emacs committer) below: | |
https://github.com/mirrors/emacs/commit/57ae6509a3b6a274f89b9caea0284c6156470625 | |
This memory leak is fixed in the trunk as of now and will be in the next official release: 24.4. |
$ brew install git | |
zsh: correct 'git' to '.git' [nyae]? n | |
Warning: A newer Command Line Tools release is available | |
Update them from Software Update in the App Store. | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-1.8.4.2.mavericks.bottle.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/git-1.8.4.2.mavericks.bottle.tar.gz | |
==> Pouring git-1.8.4.2.mavericks.bottle.tar.gz | |
==> Caveats | |
The OS X keychain credential helper has been installed to: | |
/usr/local/bin/git-credential-osxkeychain |
This can reduce files to ~15% of their size (2.3M to 345K, in one case) with no obvious degradation of quality.
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Other options for PDFSETTINGS:
Once upon a time there was a user that wanted to install firefox.
The user tried to do pacman -S firefox
but it didn't work. The all
mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz
could not
be found on his mirror. So the user tried pacman -Sy firefox
. It
worked and the user rejoiced since he could once again go and troll /h/.
But all was not good. The user had made a grave error!
See, when the user told the almighty pacman to -Sy firefox
, pacman did