This is a list of country codes I found on http://telephonecodes.workpermit.com/ I’m putting it here so I can, hopefully, find it again if I need it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
class SbtPluginProject(info:ProjectInfo) extends PluginProject(info) { | |
// *-- Copy of ResolverPlugin contents because a project can't depend on itself | |
val resolverPath = propertyOptional[String](".resolver") | |
private def sbtPublishResolver = { | |
import java.io.FileInputStream | |
import java.util.Properties | |
val props = new Properties() { def apply(key:String) = this.getProperty(key) } | |
props.load(new FileInputStream(resolverPath.value)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait User extends Credentials { | |
def credentials:WkCredentials | |
val uuid:Option[String] | |
val username:String = credentials.username | |
val password:String = credentials.password | |
val role:UserRole = credentials.role | |
val title:String = credentials.title | |
val active:Boolean = credentials.active | |
} | |
case class Credentials( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************** | |
Author : Joey Mazzarelli | |
Email : mazzarelli@gmail.com | |
Homepage : http://joey.mazzarelli.com/js-opts | |
Source : http://bitbucket.org/mazzarell/js-opts/ | |
License : Simplified BSD License | |
Version : 1.0 | |
Copyright 2010 Joey Mazzarelli. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bryanjswift.android.view; | |
import android.content.Context; | |
import android.graphics.Rect; | |
import android.util.AttributeSet; | |
import android.util.Log; | |
import android.widget.EditText; | |
import android.widget.ScrollView; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Card = new Class({ | |
Implements: [Options, Events], | |
options: { | |
index: 0, | |
bg: null | |
}, | |
initialize: function(el, options){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Custom CSS/JavaScript --> | |
<script type="text/javascript" src="<?= PERCH_LOGINPATH ?>/plugins/ui/usability.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# This ruby script will print out useful information about running ec2 | |
# instances | |
# | |
# Reads AWS access and secret keys from environment variables | |
# | |
# Requires the amazon-ec2 gem (gem install amazon-ec2) | |
# | |
# Author: Bryan J Swift (bryan.j.swift@gmail.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Graph */ | |
#graph { padding: 5px; width: 477px; height: 299px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example | |
import javax.servlet.http.{Cookie, HttpServlet, HttpServletRequest => Request, HttpServletResponse => Response} | |
import scala.util.matching.Regex | |
trait Servlet extends HttpServlet { | |
override def doGet(request:Request, response:Response) = doGet(new HttpHelper(request, response)) | |
override def doPost(request:Request, response:Response) = doPost(new HttpHelper(request, response)) | |
def doGet(http:HttpHelper) { } | |
def doPost(http:HttpHelper) { } |