Skip to content

Instantly share code, notes, and snippets.

View 666threesixes666's full-sized avatar

666threesixes666 666threesixes666

View GitHub Profile
@666threesixes666
666threesixes666 / index.html
Created November 6, 2013 04:38
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();
@666threesixes666
666threesixes666 / index.css
Created November 6, 2013 04:39
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
@666threesixes666
666threesixes666 / make.conf
Created November 23, 2013 06:08
laptop 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
@666threesixes666
666threesixes666 / .bashrc
Created December 11, 2013 00:14
.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
@666threesixes666
666threesixes666 / wallpaper
Created February 24, 2014 02:31
gentoo animated 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') &
@666threesixes666
666threesixes666 / puma
Last active August 29, 2015 14:05
funtoo/gentoo puma init file
#!/sbin/runscript
# puma init script for Funtoo/Gentoo Linux
RAILS_BASE=$HOME(changeme)/testproject
RAILS_USER=youruserhostingtheapp
RAILS_ENVIRONMENT=development
depend() {
need net
}
@666threesixes666
666threesixes666 / .htaccess
Created August 26, 2014 16:21
known working rewrites
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">
Require all granted
</FilesMatch>
# Don't show directory listings for URLs which map to a directory.
@666threesixes666
666threesixes666 / conn_man.sh
Last active August 29, 2015 14:06
anthony's conn_man script
#!/bin/bash
#conn_man by anthony guevara, forked by 666threesixes666
#set interface, if you need to manually enter the interface because of multiple cards
#change to: IFACE=wlan0 or IFACE=wlp2s0
IFACE=$(ifconfig | grep -o 'wl[a-z0-9]*')
#Check if iface is up
if( ! $IFACE); then
@666threesixes666
666threesixes666 / gist:0d5f6d9434212b4fc1c6
Created May 9, 2015 16:32
system-config-firewall python 3 src compile freak out
Making install in src
make[1]: Entering directory `/home/mkultra/Downloads/system-config-firewall-1.2.29/src'
make[2]: Entering directory `/home/mkultra/Downloads/system-config-firewall-1.2.29/src'
test -z "/usr/bin" || /bin/mkdir -p "/usr/bin"
/usr/bin/install -c system-config-firewall-tui system-config-firewall '/usr/bin'
test -z "/usr/sbin" || /bin/mkdir -p "/usr/sbin"
/usr/bin/install -c lokkit '/usr/sbin'
install -d //usr/share/icons/hicolor
cp -fpR icons/* //usr/share/icons/hicolor
test -z "/usr/share/system-config-firewall" || /bin/mkdir -p "/usr/share/system-config-firewall"
[rssguard] DEBUG: Instantiated Application class.
[rssguard] DEBUG: Available icon theme paths: '/usr/share/rssguard/icons'.
[rssguard] DEBUG: Initializing settings in '/home/mkultra/.rssguard/data/config/config.ini' (non-portable way).
[rssguard] DEBUG: Installed icon themes are: '-', 'mini-kfaenza'.
[rssguard] DEBUG: Loading icon theme 'mini-kfaenza'.
[rssguard] DEBUG: Loading skin 'base/vergilius.xml'.
[rssguard] DEBUG: Skin 'base/vergilius.xml' loaded.
[rssguard] DEBUG: Application localization 'en_US' loaded successfully.
[rssguard] WARNING: Qt localization 'en_US' was not loaded.
[rssguard] DEBUG: Creating main application form in thread: '140414461351808'.