Skip to content

Instantly share code, notes, and snippets.

View claraj's full-sized avatar

Clara claraj

  • Minneapolis College
  • Minneapolis, MN
View GitHub Profile
package com.bignerdranch.android.scavengerhunttemp;
import android.app.DownloadManager;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
package com.bignerdranch.android.scavengerhunttemp;
import android.app.DownloadManager;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
<script>alert()</script>
package com.miked;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.text.ParseException;
import java.util.ArrayList;
@claraj
claraj / gist:5b7d17059c140ce77c3be0297ad19637
Created January 17, 2017 04:28
100 largest Cities; State in the US
New York City; NY
Los Angeles; CA
Chicago; IL
Houston; TX
Philadelphia; PA
Phoenix; AZ
San Antonio; TX
San Diego; CA
Dallas; TX
San Jose; CA
@claraj
claraj / state_abbr.txt
Created January 17, 2017 04:31
US states and their 2-letter abbreviations; separated with tabs
Alabama AL
Alaska AK
Arizona AZ
Arkansas AR
California CA
Colorado CO
Connecticut CT
Delaware DE
Florida FL
Georgia GA
package com.company;
import java.util.*;
public class Main {
public static void main(String[] args) {
LinkedList<Integer> linkedList = new LinkedList<Integer>();
ArrayList<Integer> arrayList = new ArrayList<Integer>();
package com.company;
/**
* Created by admin on 3/9/17.
*/
public class Stringbuilder2 {
public static void main(String[] args) {
int length = 100000;
int c = 0;
/** LakeRunMain.java */
package Lakes;
/* Will create RunningLaps objects and store them in a list
*
* Will ask the user for input
*
* Will print out data, like the fastest time for each lake

Install the latest MongoDB Community Server.

Verify you can run mongod and mongo from your command prompt or terminal

(If you can't, Google "configure path variable" for your platform. You need to add the mongo\bin directory to your path.)

Decide where you want your data directory to live. Assuming you are on a lab PC, let's say your StarID is ab1234cd so you'd like it to be at C:\Users\ab1234cd\data\db.

You'll need to create that data\db directory.