Skip to content

Instantly share code, notes, and snippets.

View nicerobot's full-sized avatar
🤖
☯️ ☮️ 🐶 🐾 👾 🎮 🎼 🎶 🕺 🎧 🌻 🌱 🏞 🌊 🌔 🌎

nicerobot

🤖
☯️ ☮️ 🐶 🐾 👾 🎮 🎼 🎶 🕺 🎧 🌻 🌱 🏞 🌊 🌔 🌎
View GitHub Profile
@nicerobot
nicerobot / install.sh
Created October 27, 2012 02:23
Jira WAR installation is crazy dumb
#!/bin/sh
# From within CATALINA_HOME:
# curl -Lks https://raw.github.com/gist/3962722/install.sh | sh -s [JIRA_HOME]
# https://confluence.atlassian.com/display/JIRA051/Installing+JIRA+on+Tomcat+6.0
JIRA_VERSION=5.1.7
CATALINA_HOME=${CATALINA_HOME:-${PWD}}
[ -x ${CATALINA_HOME}/bin/catalina.sh ] || {
echo "${CATALINA_HOME} does not look like a CATALINA_HOME" >&2
@nicerobot
nicerobot / README.md
Created November 26, 2012 02:36
First test :Gish
@nicerobot
nicerobot / Story.scala
Created December 2, 2012 16:19
Simple Scala "DSL" example using easy to understand constructs.
object Story {
object Once { def upon = (x: a.type) => x }
object a { def time = (x: languages.type) => x }
object languages { def were = (x: inflexible.type) => x }
object inflexible { def along = (x: came.type) => x }
object came { def Scala = (x: inflexible.type) => x }
implicit def string(s : String) : inflexible.type = inflexible
def main(args: Array[String]): Unit = {
Once upon a time languages were inflexible; "Then " along came Scala ". The End!"
@nicerobot
nicerobot / README.md
Created December 2, 2012 19:18
Create Google Drive webViewLink folders via JavaScript.

Create Google Drive webViewLink folders via JavaScript (You must change CLIENT_ID before this will work.)

These folders are suitable for publishing websites. Once the folder is created, simply upload index.html and other resources to the folder.

@nicerobot
nicerobot / README.md
Created December 5, 2012 07:07
Learning a language will help you know how to use the language :P

There's plenty of rebuttal/criticism to http://beust.com/weblog/2011/08/15/scalas-parallel-collections/

I feel I'm still learning Scala so I wanted to just test my own criticisms before reading the comments.

It seems such a well-seasons Java developer would not have overlooked the obvious flaws in his arguments. This was really obvious to me but i have gone through Martin's https://class.coursera.org/progfun-2012-001/lecture/index

Run

curl -kLs https://raw.github.com/gist/4213299/batch.par.scala | scala; stty echo

@nicerobot
nicerobot / README.md
Last active October 13, 2015 18:38
Now with Disqus :Gish
@nicerobot
nicerobot / README.md
Last active February 10, 2024 23:46
Nice Robot :Gish™

A site served from GitHub Gists, it's a

@nicerobot
nicerobot / README.md
Last active February 10, 2024 23:44
Introducing :Gish™
@nicerobot
nicerobot / README.md
Created December 9, 2012 22:12
waitUntilExists

This through lint and minified.

@nicerobot
nicerobot / README.md
Last active October 13, 2015 20:47
Gish™ to do :Gish