Skip to content

Instantly share code, notes, and snippets.

Day 1
-----
Odaiba - bridge, see mt fuji
Edo castle
Day 2
------
Sensō-ji - temple
Ueno park
Tokyo imperial palace
https://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
https://www.amazon.com/exec/obidos/ASIN/0679762884/offsitoftimfe-20
https://www.amazon.com/exec/obidos/ASIN/0062292048/offsitoftimfe-20
https://www.amazon.com/Managers-Path-Leaders-Navigating-Growth/dp/1491973897
https://www.amazon.com/gp/product/0062560700/ref=as_li_tl?ie=UTF8&tag=angelthebook-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=0062560700&linkId=9389c029b677d5776d26440f52040353
https://www.amazon.com/Winning-Data-Transform-Culture-Empower/dp/1119257239
https://www.amazon.com/Innovators-Solution-Creating-Sustaining-Successful/dp/1422196577/ref=sr_1_3?s=books&ie=UTF8&qid=1395002772&sr=1-3
https://www.amazon.com/Years-General-Motors-Alfred-Sloan/dp/0385042353/ref=sr_1_1?s=books&ie=UTF8&qid=1395002740&sr=1-1
https://www.amazon.com/Hooked-How-Build-Habit-Forming-Products/dp/1591847788/ref=sr_1_1?ie=UTF8&qid=1513921726&sr=8-1&keywords=how+to+build+habit+forming+products
https://www.amazon.com/The-Hard-Thing-About-Things/dp/0062273205
https://www.amazon.com/Blink-Power-Thinking-Without/dp/03160106
{
"receipt" : {
"version_external_identifier" : 0,
"original_purchase_date_ms" : "1375340400000",
"request_date_pst" : "2017-09-05 11:35:52 America\/Los_Angeles",
"receipt_type" : "ProductionSandbox",
"original_purchase_date_pst" : "2013-08-01 00:00:00 America\/Los_Angeles",
"bundle_id" : "com.spokeo.spokeomobile",
"request_date" : "2017-09-05 18:35:52 Etc\/GMT",
"receipt_creation_date_ms" : "1504636551000",
fs.readdir(statementDir, (err, files) => {
for (var i = 0; i < files.length; i++) {
console.log(files[i]);
if (err) {
throw err;
}
fs.readFile(statementDir + '/' + files[i], 'utf8', (err, data) => {
if (err) {
throw err;
<!-- flat style used on dialogs -->
<Button
android:id="@+id/my_flat_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/flat"
android:textAppearance="@style/TextAppearance.AppCompat.Button"
android:textColor="@color/app_body_text"
style="?borderlessButtonStyle" />
int searchNumOccurrence(vector<int> &V, int k, int start, int end) {
if (start > end) return 0;
int mid = (start + end) / 2;
if (V[mid] < k) return searchNumOccurrence(V, k, mid + 1, end);
if (V[mid] > k) return searchNumOccurrence(V, k, start, mid - 1);
return searchNumOccurrence(V, k, start, mid - 1) + 1 + searchNumOccurrence(V, k, mid + 1, end);
}
@jonathanyee
jonathanyee / The Technical Interview Cheat Sheet.md
Last active August 29, 2015 14:28 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
pip install networkx distance pattern
In Flipboard's article[1], they kindly divulge their interpretation
of the summarization technique called LexRank[2].
[FacebookSDK.WebDialog] Webview loading URL: https://m.facebook.com/v2.1/dialog/oauth?client_id=308281129289437&e2e=%7B%22init%22%3A1414517444764%7D&scope=public_profile%2Cuser_friends%2Cemail%2Cuser_relationships%2Cuser_birthday%2Cfriends_birthday&default_audience=friends&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=touch&response_type=token&return_scopes=true
[Request] Warning: Sessionless Request needs token but missing either application ID or client token.
[FacebookSDK.WebDialog] Webview loading URL: https://m.facebook.com/login.php?skip_api_login=1&api_key=308281129289437&signed_next=1&next=https%3A%2F%2Fm.facebook.com%2Fv2.1%2Fdialog%2Foauth%3Fredirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26display%3Dtouch%26scope%3Dpublic_profile%252Cuser_friends%252Cemail%252Cuser_relationships%252Cuser_birthday%252Cfriends_birthday%26response_type%3Dtoken%26default_audience%3Dfriends%26return_scopes%3Dtrue%26client_id%3D308281129289437%26ret%3Dlogin&cancel_uri=fbconnect%3A%2F%2Fsuccess%3Ferror%3Daccess_denied%26e