Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
- gcc
import XMonad | |
main = xmonad defaultConfig | |
{ modMask = mod4Mask -- Use Super instead of Alt | |
, terminal = "urxvt" | |
-- more changes | |
} |
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
This blog post series has moved here.
You might also be interested in the 2016 version.
# =============== # | |
# Unity generated # | |
# =============== # | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild | |
/[Ll]ibrary/ | |
/[Ll]ogs/ | |
sysinfo.txt | |
*.stackdump |
#!/bin/sh | |
# start helium server on android device - see http://www.clockworkmod.com/carbon for more details | |
# set -x | |
# try normal system locations before the local binary | |
unset adb | |
for i in /usr/bin /usr/local/bin "$(/usr/bin/dirname $0)" | |
do | |
i="$i/adb" | |
if [ -f "$i" -a -x "$i" ] |
When receiving JSON data from other resources(server API etc), we need Json.Decode to convert the JSON values into Elm values. This gist let you quickly learn how to do that.
I like to follow working example code so this is how the boilerplate will look like:
import Graphics.Element exposing (Element, show)
import Task exposing (Task, andThen)
import Json.Decode exposing (Decoder, int, string, object3, (:=))
import Http
This tutorial assumes a reasonably new version of Emacs (24.4+)
Erlang Development Tool Suite aims to provide common IDE like functionality.
defmodule MyModule.Router do | |
@moduledoc """ | |
Http Entry Point | |
""" | |
use Plug.Router | |
use Plug.ErrorHandler | |
plug Plug.Logger | |
plug :match |
# Instructions for 4.14 and cuda 9.1 | |
# If upgrading from 4.13 and cuda 9.0 | |
$ sudo apt-get purge --auto-remove libcud* | |
$ sudo apt-get purge --auto-remove cuda* | |
$ sudo apt-get purge --auto-remove nvidia* | |
# also remove the container directory direcotory at /usr/local/cuda-9.0/ | |
# Important libs required with 4.14.x with Cuda 9.X | |
$ sudo apt install libelf1 libelf-dev |
Microsoft partnered with Canonical to create Bash on Ubuntu on Windows, running through a technology called the Windows Subsystem for Linux. Below are instructions on how to set up the ssh server to run automatically at boot.
/etc/ssh/sshd_config
file by running the command sudo vi /etc/ssh/sshd_config
and do the following
Port
to 2222 (or any other port above 1000)PasswordAuthentication
to yes. This can be changed back to no if ssh keys are setup.sudo service ssh --full-restart