Skip to content

Instantly share code, notes, and snippets.

@eddiemoya
eddiemoya / iitc-export-import-draw.js
Created February 2, 2016 21:18 — forked from svebal/iitc-export-import-draw.js
Plugin for IITC - let you im- / export your sketches from drawing tools
// ==UserScript==
// @id iitc-export-import-draw@skamander
// @name IITC plugin: export and import data from draw tools
// @version 0.0.1
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @description Import/Export Data from draw tools
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
// @match http://www.ingress.com/intel*
<?php
/*
* A walker class to use that extends wp_dropdown_categories and allows it to use the term's slug as a value rather than ID.
*
* See http://core.trac.wordpress.org/ticket/13258
*
* Usage, as normal:
* wp_dropdown_categories($args);
*
#!/bin/bash
##
# Name: wp-gitify
# Description: Turns the subversion repositories of wordpress
# plugins and themes into github read-only repositories.
# Author: Brian Greenacre <bgreenacre42@gmail.com>
# Requirements: git, svn, git-svn, svn2git, curl
##
#!/bin/bash
# readlink -f resolves symlinks but doesnt work on OSX or BSD.
# SYNC_BIN_PATH=`dirname $(readlink -f $0)`
# pwd is lazy, doesnt resolve symlinks, but works everywhere.
SYNC_BIN_PATH=$(pwd)
TMP_PATH="$SYNC_BIN_PATH/tmp"
REPO_PLUGINS="$SYNC_BIN_PATH/uxwpress/plugins/"
NEW_REPO_PLUGINS="$SYNC_BIN_PATH/plugins"
#!/bin/bash
function actual_path() {
if [ [ -z "$1" ] -a [ -d $1 ] ]; then
echo $(cd $1 && test `pwd` = `pwd -P`)
return 0
else
return 1
fi
}
#!/bin/bash
SYNC_BIN_PATH=`dirname $(readlink -f $0)`
TMP_PATH="$SYNC_BIN_PATH/tmp"
REPO_PLUGINS="$SYNC_BIN_PATH/uxwpress/plugins/*"
NEW_REPO_PLUGINS="$SYNC_BIN_PATH/plugins"
for i in $REPO_PLUGINS
do
CURRENT_PLUGIN_NAME=`basename "$i"`
@eddiemoya
eddiemoya / Featured Category Questions.html
Created September 18, 2012 06:02 — forked from tim-steele/Featured Category Questions
Featured Category Questions
@eddiemoya
eddiemoya / Featured Question.html
Created September 18, 2012 05:12 — forked from tim-steele/Featured Question
Featured Question
<article class="content-container featured-post span12">
<header class="content-header">
<h3>Featured Blog Post</h3>
</header>
<section class="content-body clearfix">
<div class="featured-image span6">
<img src="/wp-content/uploads/2012/07/blogmodule.jpg">
</div>
@eddiemoya
eddiemoya / gist:3740873
Created September 18, 2012 02:09 — forked from tim-steele/gist:3738582
Featured Category Questions
<article class="widget content-container featured-category-questions widget span12">
<header class="content-header">
<h1>Featured Questions</h1>
</header>
<section class="content-body clearfix">
<section class="span6">
<!-- DROPZONE: FIRST FEATURED QUESTION -->