Skip to content

Instantly share code, notes, and snippets.

Avatar

666threesixes666 666threesixes666

View GitHub Profile
@666threesixes666
666threesixes666 / wallpaper
Created Feb 24, 2014
gentoo animated wallpaper
View wallpaper
#!/bin/bash
DM=xfdesktop
WALLPAPER=/usr/lib64/misc/xscreensaver/cubicgrid
while ! [ $(pgrep -c $DM) = '1' ];do
sleep 1
done
$WALLPAPER -window-id $(xwininfo -name "Desktop" | grep 'Window id' | sed 's/.*\(0x[0-9a-z]*\).*/\1/g') &
View .bashrc
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
View make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
View index.css
/*text&background*/
html, body, tbody, thead, th, tr, td, blockquote, li, ul, h1, h2, h3, h4, h5, h6, font, strong, p, form, footer, fieldset, pre
{
color: white !important;
background: black !important;
}
select, button
View index.html
<!DOCTYPE html>
<html>
<head>
<script>
function startTime()
{
var today=new Date();
var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();
View conky.conf
background yes
font Sans:size=10
#xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
@666threesixes666
666threesixes666 / wapresets
Created Jul 17, 2013
audacious winamp presets
View wapresets
[Presets]
Preset0=Classical
Preset1=Club
Preset2=Dance
Preset3=Flat
Preset4=Live
Preset5=Laptop Speakers/Headphone
Preset6=Rock
Preset7=Pop
Preset8=Full Bass and Treble
@666threesixes666
666threesixes666 / gitlab
Created Jun 28, 2013
gitlab init script
View gitlab
#!/sbin/runscript
# GitLab 5.3 init script for Gentoo Linux
# see https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md
GITLAB_BASE=/home/git/gitlab
GITLAB_USER=git
depend() {
need net redis
}
@666threesixes666
666threesixes666 / xdm
Created Jun 11, 2013
lightdm tweaks to xdm config
View xdm
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use ? [ xdm | gdm | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="lightdm"
@666threesixes666
666threesixes666 / config
Created Jun 11, 2013
generic kernel config
View config
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_SATA_NV=y
CONFIG_ATH5K=m
CONFIG_ATH5K_PCI=y
CONFIG_JFS_FS=y
CONFIG_FUSE_FS=y