Skip to content

Instantly share code, notes, and snippets.

View cessationoftime's full-sized avatar

Chris Van Vranken cessationoftime

  • Akron, OH
View GitHub Profile
VERSION=1.6.1
ARCH=`uname -m`
ARCH_SYS=`uname -s | tr "[A-Z]" "[a-z]"`
if [[ "$ARCH" = "i386" ]]
then
ARCH = "i686"
fi
WORK_DIR=`pwd`

SQL Developer Manual

Problems unique to querying Oracle from Access

Syntax Error in FROM clause, invalid use of vertical bars in query expression

Oracle queries can fail for no good reason when running in Access.

When using || to concatenate, or at other times.

@cessationoftime
cessationoftime / ConfigurableAssets.scala
Last active January 10, 2017 22:59 — forked from drcharris/ConfigurableAssets.scala
Use different assets for different configurations with Play Framework
package controllers
import play.api.Play
import play.api.mvc.Action
import play.api.mvc.AnyContent
import com.google.inject.Inject
import play.api.http.HttpErrorHandler
class ConfigurableAssets @Inject() (playConfig: play.api.Configuration, errorHandler: HttpErrorHandler) extends AssetsBuilder(errorHandler) {
@cessationoftime
cessationoftime / autosuggest.elm
Last active March 24, 2017 23:56 — forked from TheSeamau5/autosuggest.elm
Autosuggest with caching in Elm
import Dict exposing (Dict)
import Html exposing (Html, div, text, input, ul, li)
import Html.Events exposing (..)
import Task exposing (Task)
import String
---------------------------
main =
Html.program
@cessationoftime
cessationoftime / botos3upload.py
Created May 13, 2017 20:17 — forked from SavvyGuard/botos3upload.py
Use boto to upload directory into s3
import boto
import boto.s3
import os.path
import sys
# Fill these in - you get them when you sign up for S3
AWS_ACCESS_KEY_ID = ''
AWS_ACCESS_KEY_SECRET = ''
# Fill in info on data to upload