Skip to content

Instantly share code, notes, and snippets.

--- TLP 0.7 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=ondemand
(defrecord OneShotThing [with some fields])
(defn do-other-stuff [{:keys [with some fields]}] (str with some fields))
(defn do-stuff [thing] (println "do-stuff" (do-other-stuff thing)))
" Global vim settings
" NeoBundle {{{
if has('vim_starting')
set nocompatible
filetype off
set rtp+=~/.vim/bundle/neobundle.vim/
endif
@spacepluk
spacepluk / gnowesome.dconf
Last active April 6, 2024 03:02
awesome-ish key bindings for gnome-shell
[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0]
binding='<Super>Return'
command='urxvtc'
name='Open Terminal'
[org/gnome/desktop/wm/preferences]
action-middle-click-titlebar='none'
mouse-button-modifier='<Super>'
num-workspaces=9
#!/usr/bin/env python2
import sys
from neovim import attach
try:
#nvim = attach('socket', host='127.0.0.1', port='6666')
nvim = attach('socket', path='/tmp/figwheel')
nvim.command('edit ' + sys.argv[1])
nvim.command(sys.argv[2])
except:
(ns diamonds.core
(:require [clojure.string :refer [upper-case]]))
(defn- repeat-space [n]
"Returns a string of n spaces"
(apply str (take n (repeat " "))))
(defn- ping-pong [n]
"Returns a sequence of numbers from 0 to n and back to 0."
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Original Package: Vítor Ferreira <vitor.dominor@gmail.com>
pkgname=xboxdrv-git
pkgver=0.9.0.1433.6b540db
pkgrel=1
pkgdesc="An XBox/XBox 360 gamepad driver - as alternative to the xpad-kernel module - with more configurability, runs in userspace and supports a multitude of controllers"
arch=('i686' 'x86_64')
url="http://pingus.seul.org/~grumbel/xboxdrv/"
license=('GPL3')
depends=('libx11' 'dbus-glib' 'libusbx')
24665: find library=libgtk-x11-2.0.so.0 [0]; searching
24665: search path=/opt/Unity/Editor/Data/Tools/tls/x86_64:/opt/Unity/Editor/Data/Tools/tls:/opt/Unity/Editor/Data/Tools/x86_64:/opt/Unity/Editor/Data/Tools:/opt/Unity/Editor/tls/x86_64:/opt/Unity/Editor/tls:/opt/Unity/Editor/x86_64:/opt/Unity/Editor (RPATH from file /opt/Unity/Editor/Unity)
24665: trying file=/opt/Unity/Editor/Data/Tools/tls/x86_64/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/Data/Tools/tls/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/Data/Tools/x86_64/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/Data/Tools/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/tls/x86_64/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/tls/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/x86_64/libgtk-x11-2.0.so.0
24665: trying file=/opt/Unity/Editor/libgtk-x11-2.0.so.0
#!/bin/sh
./script2 "$@"
./script2 $@
#!/bin/sh
echo $#