Skip to content

Instantly share code, notes, and snippets.

View ZECTBynmo's full-sized avatar
💻
must go faster

Mike Vegeto ZECTBynmo

💻
must go faster
View GitHub Profile
@ZECTBynmo
ZECTBynmo / index.html
Created July 15, 2018 20:19
Neural Melody Autocompletion
<div class="container">
<div class="machine-bg">
<div class="player"></div>
<div class="controls">
<div>
<div id="temperature" class="mdc-slider" tabindex="0" role="slider" aria-valuemin="0.2" aria-valuemax="2" aria-valuenow="1.1"
aria-label="Select temperature">
<div class="mdc-slider__track-container">
<div class="mdc-slider__track"></div>
</div>
const rp = require('request-promise')
const Nightmare = require('nightmare')
const run = async () => {
const nightmare = Nightmare({
show: false
})
let allTypes = []
@ZECTBynmo
ZECTBynmo / Rocks.md
Last active March 12, 2019 23:26
Rocks

Rocks

Sync V3 Infrastructure Abstraction

Basics

At its core, the system is event driven.

ex: "a record changed", "an Entity changed", or [future event type]

ES Playbooks

Some quick snippots for how to keep ES alive

Check ES Status

To check the general status of ES hit this url (while on the VPN)

https://egw0/_cluster/health?pretty

apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
  creationTimestamp: null
  labels:
    kops.k8s.io/cluster: prod.my.cluster
  name: spot-nodes
spec:
 image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20210415