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
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

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

@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]

const rp = require('request-promise')
const Nightmare = require('nightmare')
const run = async () => {
const nightmare = Nightmare({
show: false
})
let allTypes = []
@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>

ADD

(a) Adjustments attributable to conversion from S. Corporations to C Corporations - section 481 is amended by adding at the end the following new subsection:

(a) Adjustments attributable to conversion from S corporation to C corporation

(1) In General in the case of an elligable terminated S. Corporation any increase in tax under this chapter by reason of an adjustment required by subsection (a)(2) and which is attributable to such corporations revocation described in paragraph (2)(A)(ii), shall be taken into account notably during the 6-taxable year period beginning with the (unknown)

@ZECTBynmo
ZECTBynmo / .gitignore
Created July 6, 2017 22:13 — forked from bergie/.gitignore
Node.js email handling examples
config.json
reading-image.png
2/29/16 12:09:55.000 AM kernel[0]: rtsIsoWriteCompleteStatic called with status:E000400E
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkAudioInCompletion status:E00002ED mTransferedBytes:00001A00
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkAudioInCompletion Transfer aborted, giving up
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkAudioInCompletion Transfer aborted, giving up
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkInpEvent: STC_STREAM_BROKEN
2/29/16 12:09:55.000 AM kernel[0]: before m_pUSBDevice->ResetDevice()
2/29/16 12:09:55.476 AM coreaudiod[47278]: PtASPlugInDevice received STC_STREAM_BROKEN
2/29/16 12:09:55.000 AM kernel[0]: USBF: 661380.652 AppleUSBEHCI::DeleteIsochEP- after abort there are STILL 1 active TDs
2/29/16 12:09:55.480 AM coreaudiod[47278]: DoIO In: UNDERRUN Attempt to read 512 frames at 53828710 with 2 available (diff 510), cumul err=1
2/29/16 12:09:55.480 AM coreaudiod[47278]: DoIO in: @ 1219796 Missed 510
var Util = require('util');
var Https = require('https');
var Tls = require('tls');
/**
* HTTPS Agent for node.js HTTPS requests via a proxy.
* blog.vanamco.com/connecting-via-proxy-node-js/
*/
function HttpsProxyAgent(options)
{
@ZECTBynmo
ZECTBynmo / install_docker_playlist.yml
Last active October 31, 2015 20:29
Ansible playlist to install docker and set things up
---
- name: Install docker
hosts: all
sudo: yes
tasks:
- name: add docker apt key
apt_key: >
id=2C52609D
url=https://apt.dockerproject.org/gpg
state=present