This file contains hidden or 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.awt.Color; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.Scanner; | |
import javax.imageio.ImageIO; | |
public class avatar { | |
static int charSum = 0; | |
public static void main(String[] args) throws IOException { |
This file contains hidden or 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
------------------- | |
| Nima's Movies | | |
------------------- | |
- Inside Llewin Davis | |
- The Big Lebowski | |
- No Country For Old Men | |
- Barton Fink | |
- 2001: A Space Odyssey | |
- There Will Be Blood |
This file contains hidden or 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
---------------- | |
| Movies Nima | | |
| Should Watch | | |
| or Finish | | |
---------------- | |
- A Serious Man | |
- Blue is the Warmest Color | |
- Lawrence of Arabia | |
- The Abyss |
This file contains hidden or 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
// | |
// LinkedList.cpp | |
// Assignment2 | |
// | |
// Created by Nima Boscarino on 2014-09-29. | |
// Copyright (c) 2014 NimaBoscarino. All rights reserved. | |
// | |
#ifdef __Assignment2__LinkedList__ |
This file contains hidden or 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
Cool books from when I was a kid: | |
================================= | |
- Wayside School (series) | |
- Holes (and the sequel too!) | |
- Silverwing (Saga) | |
- Wind on Fire series | |
- Gregor the Overlander (series) | |
- Claidi (series) |
This file contains hidden or 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 sys | |
# input is just command line: R S T L | |
# e.g. 1 2 0 1 == 1 R, 2 S, 0 T, 1 L | |
# easy! | |
result = "no" | |
done = 0 | |
minoes = sys.argv[1:] | |
# we're going to be unintelligent and hard-code the cases! |
This file contains hidden or 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 https = require('https') | |
exports.handler = (event, context) => { | |
try { | |
if (event.session.new) { | |
// New Session | |
console.log("NEW SESSION") | |
} |
This file contains hidden or 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 obj = { | |
fo1 : 5, | |
fo2 : 3, | |
fo3 : 10, | |
fo4 : 3, | |
fo5 : 4, | |
fo6 : 4, | |
} | |
function getMax(object) { |
This file contains hidden or 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
source 'https://rubygems.org' | |
gem 'sqlite3' | |
gem 'activerecord' | |
gem 'activesupport' |
This file contains hidden or 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_relative 'app_config' | |
require_relative 'models/genre' | |
require_relative 'models/track' | |
AppConfig.establish_connection | |
genres = Genre.where(name: 'Rock') | |
song = Track.new name: "Genreless Song" # Our Track model says we need to have a genre, so we won't be able to save this. | |
puts song.save # returns false, since the save failed |
OlderNewer