Skip to content

Instantly share code, notes, and snippets.

@fcep
fcep / toNine.sh
Last active August 8, 2017 18:11
Script to install Gallium-Nine on Arch Linux using well supported AUR packages
set -e
export LANG=C
yes | yaourt -G pacs {lib32-,}mesa-git wine-d3dadapter-git xorg-server-git xf86-input-evdev-git xf86-input-synaptics-git xf86-video-nouveau
#pacman -S mesa-git/llvm-svn mesa-git/lib32-llvm-svn
sed -i "s@./autogen.sh@./autogen.sh --enable-nine@g" *mesa*/PKGBUILD
for i in xorg-server-git xf86*; do
<?php
/**
* Plugin Name: WooCommerce Settings Tab Demo
* Plugin URI: https://gist.github.com/BFTrick/b5e3afa6f4f83ba2e54a
* Description: A plugin demonstrating how to add a WooCommerce settings tab.
* Author: Patrick Rauland
* Author URI: http://speakinginbytes.com/
* Version: 1.0
*
* This program is free software: you can redistribute it and/or modify
@ScottPhillips
ScottPhillips / .htaccess
Created February 2, 2012 04:30
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/