This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on Apr 4, 2013 | |
@author: andrewjkerr | |
Shout out to kiks for the sweet Python lesson last night! | |
''' | |
import urllib2 | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on Apr 11, 2013 | |
@author: andrewkerr | |
''' | |
import math | |
input = raw_input("Enter your birthdate in a YYYY-MM-DD format:") | |
year = int(input[0:4]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function setGrades() { | |
// Define those variables! | |
var quiz1 = parseFloat(document.getElementById('quiz1').value); | |
var quiz2 = parseFloat(document.getElementById('quiz2').value); | |
var quiz3 = parseFloat(document.getElementById('quiz3').value); | |
var quiz4 = parseFloat(document.getElementById('quiz4').value); | |
var quiz5 = parseFloat(document.getElementById('quiz5').value); | |
var quiz6 = parseFloat(document.getElementById('quiz6').value); | |
var quiz7 = parseFloat(document.getElementById('quiz7').value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"birthday": "01/01/2000", | |
"first_name": "John", | |
"last_name": "Doe", | |
"hometown": { | |
"name": "Tampa, Florida" | |
}, | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.lang.Math; | |
import java.util.Arrays; | |
/** | |
* Discussion 11 COP 3503 Fall 2012 | |
* | |
*/ | |
public class SearchingAndSorting { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$( "#datepicker" ).datepicker({ | |
onSelect: function(){ | |
// Gets the information from the picked date | |
var picked = $("#datepicker").datepicker('getDate'); | |
var ddPicked = $("#datepicker").datepicker('getDate').getDate(); | |
var mmPicked = $("#datepicker").datepicker('getDate').getMonth(); | |
var yyyyPicked = $("#datepicker").datepicker('getDate').getFullYear(); | |
var dotwPicked = $("#datepicker").datepicker('getDate').getDay(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* In C, you cannot do the following: | |
* for(int i = 0; i < 5; i++){ | |
* // do stuff | |
* } | |
* | |
* You must do the following: | |
*/ | |
void main( void ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'net/smtp' | |
file = File.open("grades_current.html", "rb") | |
cur_source = file.read | |
message = <<MESSAGE_END | |
From: Andrew Kerr Updates <updates@andrewjkerr.com> | |
To: MicroP Peeps <microp@lists.ufl.edu> | |
Subject: MicroP Grades Updated! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$(".calc").hide(); | |
//toggle the component with class msg_body | |
$(".className").click(function() | |
{ | |
$(this).nextAll(".calc:first").slideToggle(500); | |
}) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LCtrl::LAlt | |
LAlt::LCtrl |
OlderNewer