Skip to content

Instantly share code, notes, and snippets.

View stagfoo's full-sized avatar
🎨
Do I Dream of Electric Bugs

Alex King stagfoo

🎨
Do I Dream of Electric Bugs
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor -->
<!-- ============================================ -->
<!-- app: http://tmtheme-editor.herokuapp.com -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<plist version="1.0">
<dict>
<key>name</key>
<string>Meteor</string>
@stagfoo
stagfoo / example-comp.php
Last active April 16, 2016 21:26
function-get_component.php
<!-- Example component to get -->
<?php
$vars['title'] = $vars[0];
$vars['description'] = $vars[1];
$vars['class'] = $vars[2];
?>
<div class="<?php echo $vars['class']; ?>">
<h1><?php echo $vars['title']; ?></h1>
<p><?php echo $vars['description']; ?></p>
</div>
@stagfoo
stagfoo / function-get_components.php
Last active May 16, 2016 22:28
A simple template inclusion function to help make consistent reusable code, to use not with wordpress just remove `locate_template` on line 36. expired by http://bradfrost.com/blog/post/atomic-web-design/
<?php
/**
* Get Component for wordpress
* @link https://gist.github.com/109e43bb5987a177ecbb20819f3f1870
*
* @author Alex King (@stagfoo) & Hector Nuvarro
* @version 0.2
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
/*=====================================
@stagfoo
stagfoo / pinky.scss
Last active March 5, 2017 09:04
Really small and Simple Sass Grid system
[class*='col-'] {
//Aligns the columns next to each other
width: 100%;
float:left;
min-height: 1px;
}
// an extend only class for clearfixing
%clearfix {
*zoom: 1;
&:before,
@stagfoo
stagfoo / extensions.json
Last active May 13, 2017 22:05
VSCode's Settings - Syncing
[
{
"name": "html-css-class-completion",
"publisher": "Zignd",
"version": "1.1.0",
"id": "Zignd.html-css-class-completion",
"__metadata": {
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a",
"publisherId": "20bf23ac-66a2-4404-9047-4b8215047b8b",
"publisherDisplayName": "Zignd"
@stagfoo
stagfoo / index.html
Last active April 19, 2017 05:43
ancient, a template and state setup for javascript 1.1
<html>
<head>
</head>
<body>
<div id="ancient"></div>
<script src="index.js"></script>
</body>
</html>
@stagfoo
stagfoo / mirror-dirs.sh
Last active April 16, 2017 04:59
New Computer Setup
#bash
cd /home/al/Documents/Code
while read x;
do mkdir "/home/al/Documents/Design/$x";
done << EOF
$(ls $1)
EOF
@stagfoo
stagfoo / install-cockatrice.sh
Created April 23, 2017 08:33 — forked from skwerlman/install-cockatrice.sh
install cockatrice bleeding-edge on xubuntu
#!/usr/bin/env bash
sudo true || (echo "fatal: Root is needed to perform an upgrade!" & kill $$)
sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get -y install git libprotobuf-dev protobuf-compiler qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools qttools5-dev qtmultimedia5-dev libqt5svg5-dev cmake
cd ~
git clone git://github.com/Daenyth/Cockatrice
cd Cockatrice
mkdir build
cd build
@stagfoo
stagfoo / settings.json
Created May 13, 2017 22:09
Visual Studio Code Theme and Preferences
// Place your settings in this file to overwrite the default settings
{
"javascript.validate.enable": false,
"window.zoomLevel": 1,
"editor.fontSize": 17,
"git.enabled": true,
"git.autofetch": false,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
@stagfoo
stagfoo / general-install.sh
Last active August 10, 2017 10:00
computer install
#Move into downloads
cd ~/Downloads/
sudo wget -O - https://tagplus5.github.io/vscode-ppa/ubuntu/gpg.key | sudo apt-key add - && \
sudo wget -O /etc/apt/sources.list.d/vscode.list https://tagplus5.github.io/vscode-ppa/ubuntu/vscode.list && \
sudo apt update -y
sudo apt install code
# Install Node
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -