Skip to content

Instantly share code, notes, and snippets.

Created April 28, 2014 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/11379175 to your computer and use it in GitHub Desktop.
Save anonymous/11379175 to your computer and use it in GitHub Desktop.
cnt = SYS_IN.L[0] % 100; /* FIXME !!!! 24APR07 */ /* function */
@magicmonty
Copy link

String[] dataArray = csvRow.split(",");

@magicmonty
Copy link

// Fall 1
if ((clientID == null || !clientID.HasValues || !clientID.PartnerID.HasValue || !clientID.SubPartnerID.HasValue ? true : !clientID.GlobalClientID.HasValue))

// Fall 2
return ((clientID == null || !clientID.HasValues || !clientID.PartnerID.HasValue || !clientID.SubPartnerID.HasValue ? false : clientID.GlobalClientID.HasValue) ? true : false);

@magicmonty
Copy link

fizzbuzz = lambda n: (n, "Fizz", "Buzz", "FizzBuzz")[(n%3 == 0) + 2*(n % 5 == 0)]

@magicmonty
Copy link

if (n and (n-1)) = 0 then print "power of 2"

@magicmonty
Copy link

// macht aus einem Date-Object einen Unix-Timestamp
+(new Date())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment