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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Multi Select</title> | |
<style> | |
#select-from, #select-to { | |
width: 200px; | |
height: 200px; | |
} | |
</style> |
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 org.jasig.cas.adaptors.jdbc; | |
import org.jasig.cas.authentication.principal.UsernamePasswordCredentials; | |
import org.springframework.security.crypto.bcrypt.BCrypt; | |
import org.springframework.beans.factory.InitializingBean; | |
import org.jasig.cas.adaptors.jdbc.AbstractJdbcUsernamePasswordAuthenticationHandler; | |
public class BCryptSearchModeSearchDatabaseAuthenticationHandler extends | |
AbstractJdbcUsernamePasswordAuthenticationHandler implements InitializingBean { |
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
db.grades.aggregate({ $match : { score : { $gte : 65 }, type:'exam' }}, { $group:{_id:'$student_id',count:{$sum: 1}, score :{ $min:'$score'}}}, {'$sort':{'score':1}}, {'$limit':1}); | |
Mongo Aggregration example http://docs.mongodb.org/manual/tutorial/aggregation-examples/ | |
http://docs.mongodb.org/manual/reference/aggregation/match/ |
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
Got "v" from here | |
http://discogscounter.getfreehosting.co.uk/js-noalnum.php | |
(+(+[])+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+!+[]+[+[]]] | |
http://stackoverflow.com/questions/2343557/in-javascript |
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 a,b=0,c=10,qwer ="TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!"; | |
while ((a = qwer.charCodeAt(b++)) != 0) { | |
while (a-- > 64) { | |
require('sys').print( ++c==90 ? String.fromCharCode(c = c/ 9):String.fromCharCode(33^b&1)); | |
} | |
} | |
//Source : http://codepad.org/ngiITeZ4 |
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 a = {}; | |
console.log(a); | |
Object {} | |
a.name = 'Object'; | |
Object.prototype.name = 'Object'; |
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
{"hash":"f3752abd2fbd9f1b706100325cd31542","data":{"version":7,"Players":[{"v":2,"pid":1,"bestScore":6397395,"bestScoreNoResurrection":3275168,"bestCoinScore":6478,"bestSpecialCurrencyScore":63,"bestDistanceScore":14459,"lifetimePlays":327,"lifetimeCoins":250027,"lifetimeSpecialCurrency":176,"lifetimeDistance":827577,"coinCount":12879,"specialCurrencyCount":26,"activePlayerCharacter":8,"gameCenterNeedsUpdate":true,"artifactsPurchased":[0,5,25,20,6,10,35,21,15,11,1,2,16,3,12,26,27,22,30,13,40,17,7,8,9,31,4,18,23,28],"artifactsDiscovered":[],"objectives":[2,1,0,5,4,44,6,7,9,3,8,49,11,48,16,12,10,18,14,17,23,24,21,50,22,15,13,52,20,19,28,26,25,27,43,31,32,30,46,29,45,35,33,34,53,42,36],"powersPurchased":[0,4,1,5],"randomSeed":-43418228,"numberResurectsUsed":0,"hashID":"17e20a8da3006e551f95d19a7270ed97","ldcc":0,"lwcc":0,"licc":0,"iappc":0,"iapms":0,"CollectablesFound":[{"CollectableId":18,"NumFound":7,"FoundState":"CollectFound_FoundAndViewed"},{"CollectableId":17,"NumFound":4,"FoundState":"CollectFound_FoundAnd |
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 LinkedList = function() | |
{ | |
this._head = this._tail = null; | |
this._transverse = null; | |
this._size = 0; | |
} | |
function QEntry(prev, obj, next) | |
{ | |
if (typeof obj === 'undefined' || obj === null) { |
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
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
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
sudo blkit | |
sudo mount -t vfat -o defaults,user,exec,uid=1000,gid=100,umask=000,rw /dev/sda1 /mnt/usb |
OlderNewer