Skip to content

Instantly share code, notes, and snippets.

View IanBoyanZhang's full-sized avatar

Ian Zhang IanBoyanZhang

View GitHub Profile
bazel build tensorflow/tools/graph_transforms:summarize_graph \
&& bazel-bin/tensorflow/tools/graph_transforms/summarize_graph \
--in_graph=/tmp/tensorflow_inception_graph.pb
@thundergolfer
thundergolfer / bloomberg_beta_state_of_machine_intelligence_three.md
Last active March 23, 2018 17:25
List of all companies and technologies in Bloomberg Beta's "State of Machine Intelligence 3.0"

AGENTS


AGENTS - PERSONAL


  • amazon alexa
  • Cortana
  • Allo
  • Facebook
  • Siri
  • Replika
@nicolov
nicolov / .gitignore
Last active January 24, 2024 19:37
Car speed estimation from a windshield camera
*.pyc
*.tar.gz
*.mp4
@MightyPork
MightyPork / usb_hid_keys.h
Last active June 30, 2024 10:41
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
@natchiketa
natchiketa / a Super-simple Nginx reverse proxy with Homebrew on OS X.md
Last active May 18, 2023 04:54
Super-simple Nginx reverse proxy with Homebrew on OS X

Installation

1)

brew install nginx
sudo cp /usr/local/Cellar/nginx/1.8.0/homebrew.mxcl.nginx.plist /Library/LaunchAgents

2)

Replace /usr/local/etc/nginx/nginx.conf with the nginx.conf in this gist. I'm using port 5000 for my current project. Obviously, change server_name as well, and probably the name of its access log.

(function($, window, undefined) {
var InfiniteScroll = function() {
this.initialize = function() {
this.setupEvents();
};
this.setupEvents = function() {
$(window).on(
'scroll',
this.handleScroll.bind(this)

Sorry for the delay。本来想系统的写点东西,但动笔之后发现自己的水平还是差得 太远,没法handle,时间精力目前也不允许。所以估计就只能零零散散的写点感受了。 大家随便看看就好,不要期望过高,道歉先。这个板上牛人很多,真正的大牛可能根本 没时间来发帖子,我也就抱着回报社会的心态班门弄斧好了。

这几年几次换工作,job版上的信息都对我起到了很大的帮助。所以希望能把我的一点 心得回报这里。以下都是我个人的一点浅见,完全可能不正确或者不符合别人的实际情 况。仅供大家参考。

这次经历感觉最深刻的有以下几点可以作为经验向大家推荐。

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active June 28, 2024 10:38
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.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@MattSurabian
MattSurabian / JS Quiz Answer Explanations.md
Last active October 11, 2023 19:38
My attempt to explain the answers for David Shariff's feelings hurting JS quiz found at: davidshariff.com/js-quiz/

Are your feelings hurt?

If you rushed through David Shariff's JS Quiz or are just new to JS they might be. I know mine were. After I dried my eyes, I took the quiz again, this time very slowly trying to get at the meat behind each answer. Below is my attempt to explain each question's answer and offer some interesting permutations so that others can move beyond their hurt feelings and come out the other side better JS developers.

I initially thought I'd turn this into a blog post but think it's probably better as a gist.

Question #1

Don't over think it.

var foo = function foo() {
@addyosmani
addyosmani / cranium.js
Last active February 7, 2019 15:02
Cranium
/* Cranium MVC
* A minimalist MVC implementation written for
* demonstration purposes at my workshops
* http://addyosmani.com
* Copyright (c) 2012 Addy Osmani; Licensed MIT */
var Cranium = Cranium || {};
// Set DOM selection utility