Skip to content

Instantly share code, notes, and snippets.

import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int[] rainfallPerMonth = new int[11]; // One month less than 12 because we use 0
// Get total rainfall for all months
int totalRainfall = 0;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
int[] rainfallPerMonth = new int[12];
String[] monthNames = { "January", "February", "March", "April", "May", "June", "July",
"August", "September","October", "November", "December" };
#
# cobpile
# author: blake bartenbach
# purpose: ease of command line compiling and running cobol programs
#
version="0.0.1"
red="\e[0;31m"
green="\e[032m"
reset="\e[0m"
NO_SOURCE_FILE=5
#
# cobpile
# author: blake bartenbach
# purpose: ease of command line compiling and running cobol programs
#
version="0.0.1"
red="\e[0;31m"
green="\e[032m"
reset="\e[0m"
NO_SOURCE_FILE=5
#!/bin/bash
# upscrot - screenshot, upload, copy url to clipboard in one fell swoop :)
# author: blake bartenbach
#
img_name=$RANDOM
function main {
scrot -s "$img_name".png > /dev/null
#!/bin/bash
# upscrot - screenshot, upload, copy url to clipboard in one fell swoop :)
# author: blake bartenbach
#
img_name=$RANDOM
green="\e[0;32m"
red="\e[031m"
reset="\e[0m"
#!/bin/bash
#####################################
# Song of Storms! #
# Author: Blake Bartenbach #
#####################################
# Notes and octaves matched to frequencies
a3='220'
d3='146.832'
f3='174.614'
/* pacmirror - uses reflector to update your pacman mirrorlist automagically!
author: blake bartenbach
version: 0.0.1
*/
#include <stdio.h>
#include <stdlib.h>
main() {
backup_mirrorlist();
# Master file for snd_soc_msm tabla 2.0 sound card
# Lists all use case verbs
SectionUseCase."HiFi" {
Comment "Music playback use case"
SectionVerb
Name "HiFi"
EnableSequence
'SLIMBUS_0_RX Audio Mixer MultiMedia1':1:1
EndSequence
if (shield.getRemainingTime() == 1) {
for (Collector x : base.getCollectors()) {
x.collect();
}
}