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
/* | |
* filterJSON v.9.1 - http://www.jeffrey-way.com | |
* Last Updated: January 29, 2009 | |
* When you attach a JSON file, it will parse it with getJSON, and then allow you to filter through and display the items on the page according to | |
* a specified limit, delay, transition, etc. | |
* Developed by Jeffrey Way | |
* http://jeffrey-way.com/filterjson-a-jquery-plugin/ | |
* [email protected] |
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 utilities = function() { | |
var util = this; | |
util.log = function(msg){ | |
alert(msg); | |
}; | |
var p = document.createElement('p'); | |
p.innerHTML = '<input type="checkbox" onclick="util.log(\'hey\')" value="1">Check me'; // this part is a legacy code and I have no control over to rewrite it as HTMLObjectElement way | |
}; |
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
/** | |
* | |
* MD5 (Message-Digest Algorithm) | |
* http://www.webtoolkit.info/ | |
* | |
**/ | |
var MD5 = function (string) { | |
function RotateLeft(lValue, iShiftBits) { |
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
using System; | |
using System.Text; | |
namespace testalot | |
{ | |
public class testa | |
{ | |
override public string ToString() | |
{ | |
return ("testa tostring()"); |
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
Blog post on jekyll and gh-pages functionality | |
http://haacked.com/archive/2013/12/02/dr-jekyll-and-mr-haack/ | |
Balrog | |
Node based static site generator | |
https://github.com/jlord/balrog | |
Example >> https://github.com/jlord/jlord.github.io | |
GitPress (Python / Node backend) | |
https://github.com/joeyespo/gitpress |
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
CREATE TABLE [dbo].[testBF]( | |
[field1] [varchar](max) NOT NULL, | |
[field2] [varchar](max) NOT NULL, | |
[bitfield] [int] NOT NULL CONSTRAINT [DF_testBF_bitfield] DEFAULT ((0)) | |
) ON [PRIMARY] | |
INSERT INTO testBF(field1,field2) | |
VALUES ('F1start1','F2start1'); | |
INSERT INTO testBF(field1,field2) |
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
CREATE TABLE TTable | |
( | |
ProjectId INT, | |
MonthYear DATETIME, | |
Month VARCHAR(5), | |
Year INT, | |
Generation FLOAT, | |
Expected FLOAT, | |
CarryOver FLOAT | |
) |
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
class test | |
{ | |
public string sam { get; set; } | |
public int anumber { get; set; } | |
} | |
void Main() | |
{ | |
var z = new test { sam = "sam", anumber = 99}; | |
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
void Main() | |
{ | |
List<offer> OfferList = new List<offer>() { | |
new offer() { id=1, f=new DateTime(2011,1,1), t=new DateTime(2011,1,31),status=true}, | |
new offer() { id=1, f=new DateTime(2011,2,1), t=new DateTime(2011,2,28), status=false}, | |
new offer() { id=2, f=new DateTime(2011,2,1), t=new DateTime(2011,2,28), status=false}, | |
new offer() { id=3, f=new DateTime(2011,1,1), t=new DateTime(2011,1,31), status=true }, | |
new offer() { id=3, f=new DateTime(2011,1,1), t=new DateTime(2011,1,26), status=true }, | |
new offer() { id=4, f=new DateTime(2011,1,1), t=new DateTime(2011,1,31), status=true }, | |
new offer() { id=1, f=new DateTime(2011,3,1), t=new DateTime(2011,3,31), status=false}, |
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
class TestMe | |
{ | |
public string test = "test"; | |
} | |
void Main() | |
{ | |
List<TestMe> aList = new List<TestMe>(); | |
for (int index = 0; index < 10000000;index++) |
OlderNewer