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
#!/bin/bash | |
# | |
# git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
# modified by [email protected] | |
# modified by aconway@[redacted] - handle diffs that introduce new files | |
# modified by [email protected] - fixes diffs that introduce new files | |
# modified by [email protected] - fix sed syntax issue in OS X | |
# modified by [email protected] - fix whitespaces | |
# | |
# Generate an SVN-compatible diff against the tip of the tracking branch |
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
#!/bin/sh | |
# This routine was written by "Amerefelie" | |
# https://www.linuxquestions.org/quest...nature-137111/ | |
#Last updated 090507 by Andy Lavarre [email protected] to insert comment analysis documentation | |
#Last edited 081231 by Amerefelieat 07:58 AM.. Reason: updated script for hash test fail. | |
#Usage: | |
# tar_verify $1 | |
# where $1 is the name of the xxx.tar.gz file | |
# Name the key ring | |
VENDOR_KEYRING=vendors.gpg |
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
$ cat ~/.sbtconfig | |
SBT_OPTS="-XX:+CMSClassUnloadingEnabled -XX:PermSize=128M -XX:MaxPermSize=256M" |
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
$ brew versions sbt | |
$ git checkout 785f6f8 /usr/local/Library/Formula/sbt.rb | |
$ brew unlink sbt (if you have old verion, you might need this) | |
$ brew install sbt |
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 models; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.List; | |
import javax.persistence.Entity; | |
import javax.persistence.Id; | |
import javax.persistence.Table; |
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 controllers; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.net.URL; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.Map; | |
import java.util.UUID; | |
import java.util.concurrent.Callable; |
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 SHOPINION_DOMAIN="a.shopinionapp.com"; // either "j." or "" for j.shopinionapp.com or shopinionapp.com | |
var friends = null; | |
var friendsName = []; | |
var loadingPusher=false; | |
var xhr; | |
var head = document.getElementsByTagName('head')[0]; | |
var initialized = false; | |
var counter = 0; | |
var idList = new Array(); |
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 SHOPINION_DOMAIN="a.shopinionapp.com"; // either "j." or "" for j.shopinionapp.com or shopinionapp.com | |
var friends = null; | |
var friendsName = []; | |
var loadingPusher=false; | |
var xhr; | |
var head = document.getElementsByTagName('head')[0]; | |
var initialized = false; | |
var counter = 0; | |
var idList = new Array(); |
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 common; | |
import play.Logger.ALogger; | |
import play.api.Play; | |
public class MyLoggerJ { | |
private static final BLogger logger = of("application"); | |
/** |
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
SASLAuthentication.registerSASLMechanism(SASLXFacebookPlatformMechanism.NAME, SASLXFacebookPlatformMechanism.class); | |
SASLAuthentication.supportSASLMechanism(SASLXFacebookPlatformMechanism.NAME, 0); | |
ConnectionConfiguration config = new ConnectionConfiguration("chat.facebook.com", 5222); | |
config.setSASLAuthenticationEnabled(true); | |
config.setDebuggerEnabled(false); | |
XMPPConnection conn = null; | |
try { | |
conn = new XMPPConnection(config); |
OlderNewer