Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am anon10w1z on github.
  • I am cbugwadia32 (https://keybase.io/cbugwadia32) on keybase.
  • I have a public key ASCrqsWrSR_GYF_VKILmSfju4zlJbct4wPCzuJG7qr0RUQo

To claim this, I am signing this object:

@Anon10W1z
Anon10W1z / cpdf.py
Last active September 1, 2019 20:58
Composing Programs PDF Producer
import subprocess
import os
open('pages.txt', 'a').close()
if not os.path.exists('pages'):
os.makedirs('pages')
if not os.path.exists('output'):
os.makedirs('output')
output_pages = os.path.join('output', 'pages')
if not os.path.exists(output_pages):
@Anon10W1z
Anon10W1z / ElementData.java
Created July 8, 2015 01:51
Periodic Table
package io.anon10w1z.periodictable;
public class ElementData {
public static Element emptyElement = new Element();
private static int TOTAL_ELEMENTS = 118;
public static Element[] elements = new Element[TOTAL_ELEMENTS];
static {
int i;
for (i = 0; i < TOTAL_ELEMENTS; ++i) {
@Anon10W1z
Anon10W1z / ArraySums.java
Created May 11, 2015 01:20
AP Comp Sci 2015 FRQ Answers
public class ArraySums { //question 1
public static int arraySum(int[] arr) { //part a
int arraySum = 0;
for (int i : arr)
arraySum += i;
return arraySum;
}
public static int[] rowSums(int[][] arr2D) { //part b
int[] rowSums = new int[arr2D.length];