Skip to content

Instantly share code, notes, and snippets.

View luandevpro's full-sized avatar

Luận Trần luandevpro

View GitHub Profile
@luandevpro
luandevpro / cloud_effects.csv
Last active April 13, 2020 07:14 — forked from mlubej/cloud_effects.csv
Tables in gist
Model Overall Accuracy [%]
No filtering/no masking 92.8
No filtering/with masking 94.2
With filtering/no masking 94.0
With filtering/with masking 94.4
@luandevpro
luandevpro / index.html
Last active November 29, 2019 09:30 — forked from jcollins-g/index.html
Sunflower
<!-- Copyright 2011 the Dart project authors. All rights reserved.
Use of this source code is governed by a BSD-style license
that can be found in the LICENSE file. -->
<h2>Dr. Fibonacci's Sunflower Spectacular</h2>
<div>
<canvas id="canvas" width="300" height="300"></canvas>
</div>
@luandevpro
luandevpro / postgres-json-cheatsheet.md
Created December 26, 2018 08:35 — forked from rmtsrc/postgres-json-cheatsheet.md
Using JSON in Postgres by example

PostgreSQL JSON Cheatsheet

Using JSON in Postgres by example.

Quick setup via Docker

  1. Download and install: Docker Toolbox
  2. Open Docker Quickstart Terminal
  3. Start a new postgres container:
    docker run --name my-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
@luandevpro
luandevpro / socket-cheatsheet.js
Created November 11, 2018 02:12 — forked from alexpchin/socket-cheatsheet.js
A quick cheatsheet for socket.io
// sending to sender-client only
socket.emit('message', "this is a test");
// sending to all clients, include sender
io.emit('message', "this is a test");
// sending to all clients except sender
socket.broadcast.emit('message', "this is a test");
// sending to all clients in 'game' room(channel) except sender