Skip to content

Instantly share code, notes, and snippets.

@johnymontana
johnymontana / enron.cypher
Created August 24, 2016 21:17
Import script for Enron emails into Neo4j
CREATE CONSTRAINT ON (u:User) ASSERT u.eid IS UNIQUE;
CREATE CONSTRAINT ON (f:Folder) ASSERT f.name IS UNIQUE;
CREATE CONSTRAINT ON (m:Message) ASSERT m.mid IS UNIQUE;
CREATE INDEX ON :User(email);
LOAD CSV WITH HEADERS FROM "file:///employeelist.csv" AS row
MERGE (u:User {eid: row.eid})
SET u.firstName = row.firstName,
u.lastName = row.lastName,
u.email = row.Email_id;
@kumpelblase2
kumpelblase2 / keybindings.txt
Created March 12, 2017 12:19
Vimium Dvorak Mappings
# Insert your preferred key mappings here.
unmapAll
# Basic movement
map d scrollLeft
map h scrollDown
map t scrollUp
map n scrollRight
map ii scrollToTop
map I scrollToBottom
@riandyrn
riandyrn / INSTALL_GOLANG_1.13.4_AMI_LINUX.md
Last active December 18, 2021 21:23
[Install Golang 1.13.4 on AMI Linux]

Install Golang

cd /usr/local/
sudo wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
sudo tar -xzf go1.13.4.linux-amd64.tar.gz

Append Golang Binary to Path

@jeremyjordan
jeremyjordan / button_example.md
Last active September 19, 2022 03:34
Streamlit button example
@pablovela5620
pablovela5620 / demo_run_graph_main_out.cc
Created November 3, 2019 19:02
How to retrieve hand landmark proto from desktop cpu example
// Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@eknight7
eknight7 / BUILD
Last active February 8, 2023 06:24
Multi-Hand Tracking via Live Webcam on CPU on Desktop: Shows how to extract landmarks on desktop.
// Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@veekaybee
veekaybee / normcore-llm.md
Last active July 6, 2024 12:01
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models