- http://tech.pro/tutorial/1555/10-easy-steps-to-a-complete-understanding-of-sql
- http://www.postgresql.org/docs/current/static/using-explain.html
- http://blog.heapanalytics.com/dont-iterate-over-a-postgres-array-with-a-loop/
- http://use-the-index-luke.com/blog/2013-08/its-not-about-the-star-stupid
- http://www.citusdata.com/blog/76-postgresql-columnar-store-for-analytics
- http://johtopg.blogspot.se/2014/04/upsertisms-in-postgres.html?m=1
# Add multimedia source | |
echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list | |
echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list | |
apt-get update | |
apt-get install deb-multimedia-keyring # if this aborts, try again | |
apt-get update | |
# Go to local source directory | |
cd /usr/local/src |
# Markdown to PDF Conversion | |
# | |
# This script converts Markdown markup to PDF directly on your iOS device. | |
# | |
# Please see the "Requirements" section in the docstring below for required | |
# dependencies and the "Installation" section for instructions on how to | |
# install them. | |
# | |
# Run this script directly or put it into the Pythonista editor action menu | |
# with one of the following options as the first and sole argument: |
/* | |
* Script to log summon usage statistics & customize Summon UI | |
* http://gvsu.summon.serialssolutions.com/search?s.cmd=nextPage%28%29&s.light=t&s.pn=4&s.q=test | |
* Authors: Matthew Reidsma & Adam Luckenbaugh | |
* Version 1.2 | |
* Last Edited by: Jenny Jing & Sharifi Ahmed, 05/24/2015 | |
* Function: find the ISSN and DOI in each record displayed in Summon result page, and use them as the input for 360Link API, in order to generate the links in the mini-popup window. | |
*/ | |
$(document).ready(function() { |
// | |
// **Bugsnag.js** is the official JavaScript notifier for | |
// [Bugsnag](https://bugsnag.com). | |
// | |
// Bugsnag gives you instant notification of errors and | |
// exceptions in your website's JavaScript code. | |
// | |
// Bugsnag.js is incredibly small, and has no external dependencies (not even | |
// jQuery!) so you can safely use it on any website. | |
// |
# IMPORTANT SETUP INSTRUCTIONS: | |
# | |
# 1. Go to http://www.dropbox.com/developers/apps (log in if necessary) | |
# 2. Select "Create App" | |
# 3. Select the following settings: | |
# * "Dropbox API app" | |
# * "Files and datastores" | |
# * "(No) My app needs access to files already on Dropbox" | |
# * "All file types" | |
# * (Choose any app name) |
The following files add some view keybindings and other functional and styling changes to Slack when used inside of a Fluid app.
Specifically:
<cmd>-number
will bring you to the respective starred channel. For example, if you have 4 starred channels,<cmd-1>
will bring you to the first starred channel,<cmd-2>
to the second, etc.
#!/usr/bin/env bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
BRISS="${DIR}/briss-0.9-sakin-1/briss-0.9.jar" | |
JPATH="$(which java)" | |
#get list of all non-cropped PDFs | |
pdfs="$(find ${DIR} -type f -name "*.pdf" | grep -v "cropped")" | |
#number of documents cropped | |
count=0 |
As of just writing this, Express 4.0 was released and there are points in there that no longer matter. So, this remains as a great >4.0 article.
Node.js is the red-hot new hotness! You can't throw a stick on the internet without hitting someone talking about Node. But why? For one, it's built on JavaScript which is completely ubiquitous. So, why not build a development stack and server on JavaScript? I would argue that the installation is almost painless while the terseness of the language is not.
While you can create apps 100% from Node.js, the Express framework is a great tool that helps you solve many standard problems without having to write boilerplate code.
Node.js is here and it's not going anywhere anytime soon. So if you are new to Node.js, Express, and even JavaScript in general, this is a great newb's step-by-step guide to get started.
'use strict'; | |
//npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev | |
var gulp = require('gulp'), | |
clean = require('gulp-clean'), | |
cleanhtml = require('gulp-cleanhtml'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
stripdebug = require('gulp-strip-debug'), |