Skip to content

Instantly share code, notes, and snippets.

View jicksta's full-sized avatar

Jay Phillips jicksta

View GitHub Profile
@jicksta
jicksta / designer.html
Created August 11, 2014 19:26
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="note-editor">
<template>
<style>
:host {
@jicksta
jicksta / designer.html
Created August 20, 2014 17:46
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="note-editor">
<template>
<style>
:host {
@jicksta
jicksta / Dockerfile
Last active August 29, 2015 14:13
Dockerfile for installing Ruby via ruby-install (with GPG / SHA256 verification)
FROM ubuntu
MAINTAINER Jay Phillips
RUN sudo apt-get -q -y update
RUN sudo apt-get -q -y upgrade
RUN sudo apt-get -q -y install wget
RUN sudo apt-get -q -y install build-essential
# Install Ruby:
RUN wget -L -nv -O /tmp/ruby-install-0.5.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.5.0.tar.gz
Info 2008-07-29 21:43:24 Twinners Core Server v.2.2.1 instance twinners started.
Info 2008-07-29 21:43:24 Processing ReloadPacket
Info 2008-07-29 21:43:24 Finished processing ReloadPacket
Info 2008-07-29 21:43:26 Server listening on port 10001
Info 2008-07-29 21:43:26 Server listening on port 10000
Info 2008-07-29 21:43:26 netHandler is alive 75.101.141.230:53903
Info 2008-07-29 21:43:26 Client with ip 75.101.141.230 connected.
Fine 2008-07-29 21:53:25 RECV [75.101.141.230:53903]: "REGI 13370017000000000000"
Info 2008-07-29 21:53:25 Processing REGI Owner: 1337 Room: 1337
Info 2008-07-29 21:53:25 netHandler is set
-- AGI Script Executing Application: (Conference) Options: (21/R)
[Aug 1 02:33:20] WARNING[31009]: translate.c:283 ast_translator_build_path: No translator path from unknown to unknown
[Aug 1 02:33:39] WARNING[30733]: chan_sip.c:1950 retrans_pkt: Maximum retries exceeded on transmission NTgxMWE2NTEzZjA4YjM3ZTU1ZTlhZTE1OGFiYTIwMjg. for seqno 2 (Critical Response)
[Aug 1 02:33:39] WARNING[30733]: chan_sip.c:1972 retrans_pkt: Hanging up call NTgxMWE2NTEzZjA4YjM3ZTU1ZTlhZTE1OGFiYTIwMjg. - no reply to our critical packet.
== Spawn extension (avatar_complete, 10, 2) exited non-zero on 'SIP/jicksta-081d7dc8'
-- Executing [h@avatar_complete:1] Answer("SIP/jicksta-081d7dc8", "") in new stack
== Spawn extension (avatar_complete, h, 1) exited non-zero on 'SIP/jicksta-081d7dc8'
[Aug 1 02:33:46] NOTICE[30733]: chan_sip.c:15851 sip_poke_noanswer: Peer 'jicksta' is now UNREACHABLE! Last qualify: 1627
[Aug 1 02:33:57] NOTICE[30733]: chan_sip.c:12669 handle_response_peerpoke: Peer 'jicksta' is now Re
do |${1:object}|
$0
end
require 'rubygems'
require 'twitter'
TwitterClient = Twitter::Base.new("jicksta@gmail.com", "xxxxxxxxx")
class Twitter::User
def friends
TwitterClient.friends_for @screen_name
end
end
external {
simon = new_simon_game
simon.start
}
internal {
play "Hello"
+external
}
require 'rubygems'
require 'hpricot'
require 'open-uri'
require 'sinatra'
def overview
Hpricot open("http://docs.adhearsion.com/@api/deki/pages?format=xml")
end
def page_contents_for_id(id)