Skip to content

Instantly share code, notes, and snippets.

# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# To use this as default tint2 config: save as $HOME/.config/tint2/tint2rc
# Background definitions
# ID 1
rounded = 4
border_width = 1
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "Source Code Pro" :foundry "adobe" :slant normal :weight normal :height 143 :width normal)))))
(custom-set-variables
{-# LANGUAGE OverloadedStrings #-}
-- {-# LANGUAGE ExtendedDefaultRules #-}
-- {-# OPTIONS_GHC -fno-warn-type-defaults #-}
import qualified Data.ByteString as BS
import Network.Wreq
import Control.Lens
-- import System.Environment
-- import Shelly
-- import qualified Data.Text as T
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
<InstanceID>0
</InstanceID>
<CurrentURI>
</CurrentURI>
<CurrentURIMetaData/>
</u:SetAVTransportURI>
POST /smp_18_ HTTP/1.1
Host: 192.168.219.6:7676
Accept-Encoding: gzip
Content-Length: 725
Content-Type: application/octet-stream
SOAPAction: urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI
User-Agent: haskell wreq-0.1.0.1
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
@dontdieych
dontdieych / dmesg
Created October 20, 2014 16:40
dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.55-std440-amd64 (root@gl-sysrcd-p11.dupoux.int) (gcc version 4.4.7 (Gentoo 4.4.7 p1.2, pie-0.4.5) ) #2 SMP Sun Oct 5 14:08:51 UTC 2014
[ 0.000000] Command line: initrd=initram.igz BOOT_IMAGE=rescue64 scandelay=5
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009dc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000d0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000cfe7ffff] usable
@dontdieych
dontdieych / gist:4999b4a517ff0414e6a7
Created October 20, 2014 17:27
mount btrfs error
-- Logs begin at Tue 2014-10-21 02:12:07 UTC, end at Tue 2014-10-21 02:22:12 UTC. --
Oct 21 02:12:07 manjaro kernel: Initializing cgroup subsys cpuset
Oct 21 02:12:07 manjaro kernel: Initializing cgroup subsys cpu
Oct 21 02:12:07 manjaro kernel: Initializing cgroup subsys cpuacct
Oct 21 02:12:07 manjaro kernel: Linux version 3.12.20-1-MANJARO (nobody@korrode) (gcc version 4.9.0 20140507 (prerelease) (GCC) ) #1 SMP PREEMPT Tue May 20 16:54:28 EST 2014
Oct 21 02:12:07 manjaro kernel: Command line: initrd=/manjaro/boot/x86_64/manjaro.img misobasedir=manjaro misolabel=MJRO0810 nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 logo.nologo overlay=free quiet splash vga=0x31a video=1280x1024 lang=en_US keytable=us layout=us
Oct 21 02:12:07 manjaro kernel: e820: BIOS-provided physical RAM map:
Oct 21 02:12:07 manjaro kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009dbff] usable
Oct 21 02:12:07 manjaro kernel: BIOS-e820: [mem 0x000000000009dc00-0x000000000009ffff] reserved
Oct 21 02:12:07 manjaro kernel: BIOS
@dontdieych
dontdieych / gist:e15561c835d30b858ab8
Created April 11, 2015 09:04
How could I build ubuntu asterisk package with opus patch?
{ config, pkgs, ... }:
{
imports = [ <nixos/modules/installer/virtualbox-demo.nix> ];
users.extraUsers.demo.shell = "/run/current-system/sw/bin/fish";
environment.systemPackages = with pkgs; [
vim
fish
gist
firefox
set nocompatible
syntax on
filetype plugin indent on