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
// Name: Sahat Yalkabov | |
// Date: September 15, 2011 | |
// Class: CS22100 | |
// Homework 1: Radiation Data Log | |
import java.util.ArrayList; | |
import java.util.Collections; // to get minimum and maximum | |
import javax.swing.JOptionPane;; | |
class hw1 { |
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 javax.swing.*; | |
import java.io.*; | |
import java.text.Format; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.*; | |
/** |
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 games_union (arr1, arr2) { | |
var union = arr1.concat(arr2); | |
for (var i = 0; i < union.length; i++) { | |
for (var j = i+1; j < union.length; j++) { | |
if (are_games_equal(union[i], union[j])) { | |
union.splice(i, 1); | |
console.log(union[i]); | |
} | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.ccny.semanticweb" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="14" | |
android:targetSdkVersion="17" /> |
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
var socket = io.connect('http://localhost'); | |
var startTime; | |
setInterval(function() { | |
startTime = Date.now(); | |
socket.emit('ping'); | |
}, 2000); | |
socket.on('pong', function() { | |
latency = Date.now() - startTime; |
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
var x = 4; | |
console.log(x); | |
var a = function() { | |
//test | |
}; |
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
angular.module('MyApp', ['ngCookies', 'ngResource', 'ngMessages', 'ngRoute', 'mgcrea.ngStrap']) | |
.config(function() { | |
}); |
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
app.use(function(req, res, next) { | |
if (req.path !== '/auth' && | |
req.path !== '/login' && | |
req.path !== '/logout' && | |
req.path !== '/signup' && | |
req.path !== '/img' && | |
req.path !== '/fonts' && | |
req.path !== '/favicon') { | |
req.session.returnTo = req.path; | |
next(); |
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
app.use(function(req, res, next) { | |
var path = req.path.split('/')[1]; | |
if (/auth|login|logout|signup|img|fonts|favicon/i.test(path)) { | |
return next(); | |
} | |
req.session.returnTo = req.path; | |
next(); | |
}); |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js oldie lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js oldie lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js oldie lt-ie9" lang="en"> <![endif]--> | |
<!--[if IE 9]> <html class="no-js lt-ie10" lang="en"> <![endif]--> | |
<!--[if gt IE 9]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<title>RONIIT</title> | |
<meta charset="utf-8" /> | |
<meta name="description" content="American dark electro-pop artist. Includes biography, discography, tour schedule, gallery, and more." /> |
OlderNewer