Skip to content

Instantly share code, notes, and snippets.

View daviddwlee84's full-sized avatar
💭
Just wanna be happier

David Lee daviddwlee84

💭
Just wanna be happier
View GitHub Profile
@daviddwlee84
daviddwlee84 / .s3cfg
Last active May 31, 2024 08:18
Read S3 Parquet using config of `~/.s3cfg` (shared with `s3cmd`)
# ~/.s3cfg
[default]
access_key = AAAAAAAAAAAAAAAAAAAA
bucket_location = US
host_base = url.to.minio
secret_key = 0000000000000000000000000000000000000000000
@daviddwlee84
daviddwlee84 / fingpt_forecaster.ipynb
Last active April 24, 2024 07:48
fingpt_forecaster.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html>
<head>
<title>Execution Log Monitor</title>
</head>
<body>
<div id="log-container"></div>
@daviddwlee84
daviddwlee84 / Dockerfile
Last active December 16, 2020 11:40
Quick start Elastic Search docker with Chinese support
FROM docker.elastic.co/elasticsearch/elasticsearch:7.9.0
# Install plugins for Chinese support
RUN bin/elasticsearch-plugin install analysis-smartcn
RUN bin/elasticsearch-plugin install --batch https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.9.0/elasticsearch-analysis-ik-7.9.0.zip
@daviddwlee84
daviddwlee84 / GoogleChromeDinosaurBOT.js
Last active April 22, 2022 11:16
When you have no internet while using Chrome (or go to chrome://dino). Copy and paste this code into console (F12) and press space to make Dinosaur come to life!!
config = {
'updateInterval' : 33,
'autoRestart' : false,
'restartTimeout' : 1000,
'intergateArduino' : true
};
littleDinoLoaded = false;
function loadLittleDino() {