Skip to content

Instantly share code, notes, and snippets.

View yumsuresht's full-sized avatar

Sureshkumar Packiyarajah yumsuresht

View GitHub Profile
@yumsuresht
yumsuresht / class
Created September 27, 2014 18:07
Hacker
public class MyClass {
public static void main(String args[]) {
StringBuilder sb = new StringBuilder(700);
for (int a = 1; a <= 100; a++) {
if (a % == 0) {
sb.append("CracklePopz\n");
} else if (a % 3 == 0) {
sb.append("Crackle\n");
} else if (k % 5 == 0) {
sb.append("Pop\n");
@yumsuresht
yumsuresht / newyear.sh
Created January 1, 2012 07:05
New year 2012 shell script
#!/bin/bash
if [ $# -eq 1 ]
then
fname=$1
else
echo "Invalid Arguments"
echo "Usage: newyear.sh filename"
exit