-
Go to
~/.stack/global-project/stack.yaml
and change theresolver:
section tolts-10.3
. -
Add:
- https://hackage.haskell.org/package/ghc-mod-5.9.0.0/candidate/ghc-mod-5.9.0.0.tar.gz
- cabal-helper-0.8.0.0
javascript:(function(){ | |
/* escape quotes and commas in contents to be comma-separated */ | |
function wrapCsvContents(content) { | |
if (typeof(content) === 'string') { | |
if (content.replace(/ /g, '').match(/[\s,"]/)) { | |
return '"' + content.replace(/"/g, '""') + '"'; | |
} | |
} | |
return content; | |
} |
Create a template service file at /etc/systemd/system/[email protected]
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target
*.gpg filter=gpg diff=gpg | |
*.asc filter=gpg diff=gpg |
*.gpg filter=gpg diff=gpg | |
*.asc filter=gpg diff=gpg |
#!/usr/bin/env python | |
import argparse | |
import getpass | |
import json | |
import re | |
import requests | |
import subprocess | |
parser = argparse.ArgumentParser() |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
For this to work, it requires my tmux fork that includes what I use as the hostname in the window list.
At any rate, it'll sort my tmux sessions alphabetically by the host I'm using.
my tmux fork: https://github.com/jordansissel/tmux
Starts with:
(0) - nightfall: zsh - /home/jls/projects/tmux/trunk
(1) carrera: screen -x irc
package main | |
// #include <sys/file.h> | |
import "C" | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
) |