- SensorFusion MeetUp (https://www.meetup.com/Sunnyvale-Sensor-Fusion-Meetup/)
- Wednesday, July 25, 2018, presentation 6:30pm to 8pm
- Hosted at Plug-n-play (https://www.plugandplaytechcenter.com/) with over 100 attendees.
- Speaker: Jake Li, Business Development Manager for Hamamatsu Corporation. ([email protected])
- Slides available (https://drive.google.com/file/d/1RBGGernLF3DwAf9eQKFi9o8rXA7Te9hb/view?usp=sharing)
This file contains 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
LR | |
11A = (11B, XXX) | |
11B = (XXX, 11Z) | |
11Z = (11B, XXX) | |
22A = (22B, XXX) | |
22B = (22C, 22C) | |
22C = (22Z, 22Z) | |
22Z = (22B, 22B) | |
XXX = (XXX, XXX) |
This file contains 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
extern crate regex; | |
use regex::Regex; | |
use std::collections::HashMap; | |
type NodeList = HashMap<String, (String, String)>; | |
fn parse_input(input_filename: &str) -> (String, NodeList) { | |
let contents = std::fs::read_to_string(input_filename).unwrap(); |
This file contains 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
extends Resource | |
class_name As | |
static func demo_usage(): | |
print("These are booleans: %s %s" | |
% [tf(true), tf(false)]) | |
print("These are numbers: %s %s" | |
% [comma_int(1234), comma(1234.567, 2)]) | |
print("This is scientific: %s %s" | |
% [scientific(0.000123), scientific(1234.56)]) |
This file contains 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
import collections | |
class Solution: | |
def findLadders(self, beginWord, endWord, wordList): | |
""" | |
:type beginWord: str | |
:type endWord: str | |
:type wordList: List[str] | |
:rtype: List[List[str]] |
This file contains 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
<style> | |
.heart { | |
position: absolute; | |
margin: auto; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
background-color: pink; | |
height: 50px; |
This file contains 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
from flask import g | |
from werkzeug import escape # so "<sqlInstance ... >" isn't taken as a tag. | |
@app.route("/show_user_data") | |
def show_user_data(): | |
""" show the user date, i.e., the flask.g data """ | |
## The dump_val() function is what you might want to reuse. | |
def dump_val(key, value): | |
""" return an html snippet with lists for dictionaries. . """ |
This file contains 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
echo "1. ====== Throw a copy of everything into git " | |
git add . | |
git commit -m "MAKING LEDGER" |
This file contains 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
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import sublime_plugin | |
# Adding too much documentation: | |
# 1. The original Gist had %M instead of %m in the strftime() class. %M means minute, | |
# while %m means month as a decimal. | |
# 2. To install this: | |
# Sublime's menu Tools -> New Plugin..., |
layout | title |
---|---|
default |
File List |
The website stores most pages in MarkDown format. The server runs these pages through the jekyll preprocessor and the pygments syntax highlighter. Also, the webserver remaps certain directories such as /images to ~/images.