Skip to content

Instantly share code, notes, and snippets.

View BazzalSeed's full-sized avatar
🎯
Focusing

SeedofWind BazzalSeed

🎯
Focusing
View GitHub Profile
@BazzalSeed
BazzalSeed / launch_sublime_from_terminal.markdown
Created October 26, 2016 13:20 — forked from artero/launch_sublime_from_terminal.markdown
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

{
"email": "[email protected]",
"message_id": "ABCDE",
"timestamp": 1544153562,
"ip": 127.0.0.1,
"browser": "Safari 12.0.1"
}
{
"email": "[email protected]",
"message_id": "ABCDE",
"timestamp": 1544153562,
"ip": "127.0.0.1",
"browser": "Safari 12.0.1"
}
@BazzalSeed
BazzalSeed / abacus_1.csv
Last active June 7, 2019 19:33
abacus_1.csv
Framework stateful highly-available easy-to-scale real-time
Spark no yes yes micro-batching
Storm no yes yes yes
Flink yes yes yes yes
In-memory DB yes yes partially yes
action_identifier customers
open email holiday sales on Dec 7 2018 customer 1/customer 2/customer 6...
receive email holiday sales on Dec 7 2018 customer 2/customer 9...
click email holiday sales on Dec 7 2018 customer 8/customer 12...
@BazzalSeed
BazzalSeed / example payload of scraper
Created January 28, 2019 18:38
example_payload.json
[
{
"service_request_id": "101002365161",
"status": "closed",
"status_notes": "Case Resolved. Marked completed at case creation.",
"service_name": "Pothole",
"service_code": "4f389210e75084437f0001ca",
"requested_datetime": "2018-02-06T09:30:56-05:00",
"updated_datetime": "2018-02-06T09:32:22-05:00",
"address": "221 Bennington St, East Boston",
import yfinance as yf
import calendar
import argparse
import arrow
def get_start_end(date):
"""
Takes a date and returns the first and last date of that month.
"""