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
create schema nj_teacher_salaries; | |
create table nj_teacher_salaries.salaries ( | |
last_name TEXT, | |
first_name TEXT, | |
county TEXT, | |
district TEXT, | |
school TEXT, | |
primary_job TEXT, | |
fte TEXT, | |
salary TEXT, |
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
public int cardinality() { | |
if (byteArray == null || isNull()) return 0; | |
int bitsOn = 0; | |
for (int i = 0; i < maxSize; i++) { | |
if (contains(i)) bitsOn++; | |
} | |
return bitsOn; | |
} |
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
2018-01-13 17:42:04.985 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10000000 is [Bank Fees] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10001000 is [Bank Fees, Overdraft] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10002000 is [Bank Fees, ATM] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10003000 is [Bank Fees, Late Payment] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10004000 is [Bank Fees, Fraud Dispute] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10005000 is [Bank Fees, Foreign Transaction] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtilities : 10006000 is [Bank Fees, Wire Transfer] | |
2018-01-13 17:42:04.986 INFO 92421 --- [nio-8080-exec-1] PlaidUtili |
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
// Justin Raczak | |
// This program calculates the max one-day increase of a stock price over a 10-day period. | |
import java.util.*; | |
class Increase { | |
public static void main(String [] args) { | |
// Set up the Scanner | |
Scanner scanner = new Scanner(System.in); |
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
int sum = 0; | |
int counter = 1; | |
while (counter < 10) { | |
System.out.println("Counter is at " + counter); | |
sum += counter * counter; | |
counter++; | |
} | |
System.out.println("The sum of the squares of 1-10 is " + sum); |
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
[{ | |
"account_id" => "ejR5rQ4KwPuBpXNb67kzIJ4ZK7KxnwSxbRP5p", | |
"balances" => { | |
"available" => 20498.78, "current" => 20498.78, "limit" => nil | |
}, | |
"mask" => "0510", | |
"name" => "Primary Checking", | |
"official_name" => nil, | |
"subtype" => "checking", | |
"type" => "depository" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Intercom Survey Template</title> | |
<style type="text/css"> | |
body { |
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
Analytics.identify( | |
user_id: @beta_signup.email, | |
traits: { email: "#{@beta_signup.email}" }, | |
context: {ip: "#{request.remote_ip}", agent: "#{request.env['HTTP_USER_AGENT']}"} | |
) |
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
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script> | |
<script src="https://cdn.plaid.com/link/v2/stable/link-initialize.js"></script> | |
<script> | |
// TODO: Move this to a .js file and out of the view code | |
(function($) { | |
var handler = Plaid.create({ | |
apiVersion: 'v2', | |
clientName: 'Sprout Development', | |
env: 'sandbox', | |
product: ['transactions'], |
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
[ | |
{ | |
"id": 2, | |
"local_realm_id": null, | |
"name": "something to do", | |
"note": null, | |
"original_scheduled_date": "5/27/17", | |
"current_scheduled_date": "8/27/17", | |
"migration_count": null, | |
"complete": false, |
NewerOlder