Skip to content

Instantly share code, notes, and snippets.

import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//Variables:
// [Shelf #, First Call No, Last Call No, First Call No Comp, Last Call No Comp.]
// Note: Shelf arrays[0] is a blank.
// Make sure that the first Shelf # is 1, not 0. Leave Shelf # = 0 blank.
//int[] ShelfNumber = new int[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13};
double[] FirstCallNo = new double[] {10000, 10000, 10000, 700.000, 800.000, 900.000, 10000, 0.001, 300.000, 400.000, 500.000, 600.000, 10000, 10000};
Personal Programming Notes:
Write 2+ resumes
LibFinder:
Original Java: https://gist.github.com/M0N57R0517Y/5d077b8afcadfccbd1784d5ae10fa150
Finish writeup of Libfinder on personal site
Email Michelle Walsh for drawings of library (Meeting scheduled for 3:20 Tuesday)
Work on button for JS argument
Interactive map with CoSpaces Maker: https://cospaces.io/maker/
Can Libfinder be put on githup to host? Perhaps connect githup account and komodo editor?
# code modified, tweaked and tailored from code by bertwert
# on RPi forum thread topic 91796
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
# GPIO ports for the 7seg pins
segments = (11,4,23,8,7,10,18,25)
# 7seg_segment_pins (11,7,4,2,1,10,5,3) + 100R inline
/* Generated from Java with JSweet 2.0.0 - http://www.jsweet.org */
/*jshint sub:true*/
function Main(InputString){
Main.main = function () {
//Variables:
// [Shelf #, First Call No, Last Call No, First Call No Comp, Last Call No Comp.]
// Note: Shelf arrays[0] is a blank.
// Make sure that the first Shelf # is 1, not 0. Leave Shelf # = 0 blank.
//var ShelfNumber = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13];
var FirstCallNo = [10000, 10000, 10000, 700.0, 800.0, 900.0, 10000, 0.001, 300.0, 400.0, 500.0, 600.0, 10000, 10000];