Skip to content

Instantly share code, notes, and snippets.

View ixmatus's full-sized avatar

Parnell Springmeyer ixmatus

View GitHub Profile
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
*.elc
marketvibe-docs
├── gh-pages
│   ├── *.html
└── master
├── Makefile
├── README.md
├── _build
├── _static
@ixmatus
ixmatus / test.erl
Last active December 23, 2015 18:45
PropER test timingout EUnit case
{inparallel, [ { "Property test network block construction"
, { timeout
, 30
, ?assertEqual( true
, proper:quickcheck( wifi:prop_set_network()
, [ {to_file, user}
, {numtests, 1000}
, {spec_timeout, 360000}
]))}},
...
<?PHP
// JSON results is the default
$rt = new Ranktracker($this->accessSecret, $this->accessToken);
// Get all your pairs - this works fine
var_dump($rt->get_all());
//$data['keyword']='smart income';
//$data['url']='http://www.smartpassiveincome.com';
@ixmatus
ixmatus / gist:5372691
Created April 12, 2013 15:05
alfred vagrant
# -*- mode: ruby -*-
Vagrant::Config.run do |config|
config.vm.box = "quantal_uwsgi-py3k-amd64"
config.vm.box_url = "https://secure.whooshtraffic.com/static/downloads/quantal_uwsgi-py3k-amd64.box"
config.vm.host_name = "alfred"
config.vm.customize ["modifyvm", :id, "--memory", "512"]
config.vm.customize ["modifyvm", :id, "--cpus", "1"]
SELECT
COUNT(id)
FROM
ranktrack_urls
WHERE
daily_tracked = 1;
SELECT
COUNT(ranktrack_urls.id)
FROM
ranktrack_urls
JOIN users ON ranktrack_urls.user_id = users.id
JOIN pools ON pools.id = (
SELECT
id
FROM
pools
;; ====================================================
;; Markdown Mode
;; ====================================================
(add-to-list 'auto-mode-alist '("\\.md$" . markdown-mode))
(add-hook 'markdown-mode-hook
(function (lambda ()
(writegood-mode)
(auto-fill-mode)
<metal:main
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
use-macro="view.global_template">
<tal:block metal:fill-slot="header">
<h1>404 Not Found</h1>
</tal:block>
</metal:main>