View Dots.java
1 2 3 4 5 6 7 8 9 10
/*
Dots.java
Title: Dots
Author: Laura Toma based on code from Eric Chown based on code from Northeastern University
Description: This program can be used to draw geometric puzzles
through the use of loop structures.
*/
 
///////////////////////////////////////////////////////////////////////////////
View gist:6ffc1ab4b1ab6c920da8
1 2 3 4 5 6 7 8 9 10
package equationfinder;
import javax.swing.*;
 
/**
*
* @author Jaken Herman
* 1/15/2015
*
* This extremely simple program finds both the slope and the equation for
* a user-specified set of 2 points on a graph.
View SRIPREL_Clean
1 2 3 4 5 6 7 8 9 10
Sub SRIPREL_Clean()
'
' SRIPREL_Clean Macro
'
' Keyboard Shortcut: Ctrl+m
'
Columns("C:K").Select
Range("C3").Activate
Selection.Delete Shift:=xlToLeft
Range("C3").Select
View Pattern
1 2 3 4 5 6 7 8 9 10
Sub Pattern()
Dim i As Integer
Dim z As Integer
Dim y As Integer
Dim lastrow As Integer
Dim append
append = Array("Create", "Read", "Write", "Append", "Append To")
y = 1
Sheets("Input").Select
lastrow = Range("A65536").End(xlUp).Row
View suitcase-challenge.py
1 2 3 4 5 6 7 8 9 10
__author__ = 'Jaken'
 
import urllib
import webbrowser
from xml.etree.ElementTree import parse
 
lat = 41.980262
lon = -87.668452
 
u = urllib.urlopen('http://ctabustracker.com/bustime/map/getBusesForRoute.jsp?route=22')
View suitcase-challenge.py
1 2 3 4 5 6 7 8 9 10
__author__ = 'Jaken'
 
import urllib
import webbrowser
 
lat = 41.980262
lon = -87.668452
 
u = urllib.urlopen('http://ctabustracker.com/bustime/map/getBusesForRoute.jsp?route=22')
data = u.read()
View daily-programmer-156.dart
1 2 3 4 5 6 7 8 9 10
import 'dart:math';
 
decodeMessage(String f){
String cipher = "Etvmp\$Jsspw%%%%[e}\$xs\$ks%\$]sy\$lezi\:"+
"\$wspzih\$xli\$lmhhir\$qiwweki2\$Rs{\$mx\$mw\$}syv\$xyvr\$xs\$nsmr"+
"mr\$sr\$xlmw\$tvero2\$Hs\$rsx\$tswx\$er}xlmrk\$xlex\${mpp\$kmzi\$e{e}\$xlmw\$qiwweki2"+
"\$Pixtistpi\$higshi\$xli\$qiwweki\$sr\$xlimv\$s{r\$erh\$vieh\$xlmw\$qiwweki2\$]sy\$ger"+
"\$tpe}\$epsrkf}\$RSX\$tswxmrk\$ls{\$}sy\$higshih\$xlmw\$qiwweki2\$Mrwxieh\$tswx\$}syv"+
"\$wspyxmsr\$xs\$fi\$}syvjezsvmxi\$Lipps\${svph\$tvskveq\$mr\$sri\$perkyeki\$sj\$}syv\$glsmgi2"+
"\$Qeoi\$wyvi\$}syv\$tvskveq\$we}w\$&Lipps\$[svph%%%&\${mxl\$7\$%\$ex\$xli\$irh2\$Xlmw\${e}"+
View The-Traveling-Suitcase.py
1 2 3 4 5 6 7 8 9 10
import urllib
import webbrowser
 
u = urllib.urlopen('http://ctabustracker.com/bustime/map/getBusesForRoute.jsp?route=22')
data = u.read()
f = open('rt22.xml', 'wb')
f.write(data)
f.close()
 
from xml.etree.ElementTree import *
View disemvoweler.py
1 2 3 4 5 6 7 8
x = raw_input( ": ")
v = x.lower()
vowel = 'aeiou'
for f in v:
if f in vowel:
v = v.replace(f, '')
print v
 
Something went wrong with that request. Please try again.