Requirements:
- Java 6;
- Maven 2.2.1
- (Optional) Ant 1.7.1;
- If you are on Linux don't use Maven or Ant installed by root (file permission issues with
mvn deploy
- download it and install it as yourself).
This file contains hidden or 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
git pull -s recursive -X theirs |
This file contains hidden or 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 v = $.browser.msie && !(op.attributes['value'] != null && | |
op.attributes['value'].specified) ? op.text : op.value; | |
// var v = $.browser.msie && !(op.attributes['value'].specified) ? | |
op.text : op.value; |
This file contains hidden or 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
function selectDropDownIEbehavior() { | |
// Apply this behavior for IE only | |
if (!$.browser.msie) | |
return; | |
var expand = function() | |
{ | |
var width = $(this).css("width"); | |
// Don't overwrite the stored original width, |
This file contains hidden or 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
- redis-cli BGSAVE | |
- on each cassandra node nodetool -h localhost -p 7199 snapshot snapshot-name |
This file contains hidden or 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
// taken from http://snes9x-rr.googlecode.com/svn/trunk/snes9x-151/lua-engine.cpp | |
// http://snes9x-rr.googlecode.com/svn/trunk/snes9x-151/SFMT/SFMT.c | |
// same as math.random, but uses SFMT instead of C rand() | |
// FIXME: this function doesn't care multi-instance, | |
// original math.random either though (Lua 5.1) | |
static int sfmt_random (lua_State *L) { | |
lua_Number r = (lua_Number) genrand_real2(); | |
switch (lua_gettop(L)) { // check number of arguments | |
case 0: { // no arguments |
-- My fiddles:
This file contains hidden or 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
http://www.thebuzzmedia.com/software/imgscalr-java-image-scaling-library/#solve | |
https://github.com/thebuzzmedia/imgscalr | |
http://stackoverflow.com/questions/10245220/java-image-resize-maintain-aspect-ratio |
This file contains hidden or 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
#iGivefirst API | |
This api allows iGivefirst partners to show nonprofit advertisements on their websites and collect donations on behalf of iGivefirst, and nonprofits. | |
## General Concepts | |
### Guids | |
Our API utizes business keys in the form of standard 36 character guids. These guids are created with-in our system and are unique. The main guids that are utilized: |
OlderNewer