Skip to content

Instantly share code, notes, and snippets.

View JacobMillner's full-sized avatar

Jacob Millner JacobMillner

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jacobmillner on github.
  • I am vimdiesel (https://keybase.io/vimdiesel) on keybase.
  • I have a public key ASDZWqKX0jcVET5FmfZ8yM1ApBCjkNtVsLejnG7fAoc26go

To claim this, I am signing this object:

@JacobMillner
JacobMillner / Rake Routes
Created December 12, 2015 02:54
Noob help
edit_stock_datum GET /stock_data/:id/edit(.:format) stock_data#edit
stock_datum GET /stock_data/:id(.:format) stock_data#show
PATCH /stock_data/:id(.:format) stock_data#update
PUT /stock_data/:id(.:format) stock_data#update
DELETE /stock_data/:id(.:format) stock_data#destroy
chris_sandbox_index GET /chris_sandbox/index(.:format) chris_sandbox#index
sync_syncSymbol GET /sync/syncSymbol(.:format) sync#syncSymbol
stock_data_multiCreate GET /stock_data/multiCreate(.:format) stock_data#multiCreate
root GET / home#index
<p id="notice"><%= notice %></p>
<h1>Listing Stock Data</h1>
<table>
<thead>
<tr>
<th>Symbol</th>
<th colspan="3"></th>
</tr>
class StockDataController < ApplicationController
before_action :set_stock_datum, only: [:show, :edit, :update, :destroy]
require 'scrapeLogic'
require 'htmlMachine'
# GET /stock_data
# GET /stock_data.json
def index
@stock_data = StockDatum.all
end
private bool foo() { var bar = new List<bool>(new bool[] { !true, !true, !true, !true, false }); bar.ForEach(l1l => { if (true == !false) { if(true ? true == true : true) return; } }); return true; }