Skip to content

Instantly share code, notes, and snippets.

View o0x2a's full-sized avatar
🍏

o0x2a

🍏
  • LvLs
View GitHub Profile
@o0x2a
o0x2a / bot.json
Created February 14, 2022 09:29
sample bot config
[
{
"id": "dca3c9ee-d59e-40e0-a686-e29ae62c9ab5",
"name": "Testamente",
"type": "parent",
"blocks": [
{
"category": "waypoint",
"id": "dca3c9ee-d59e-40e0-a686-e29ae62c9ab5",
"next": {
{
"openapi": "3.0.0",
"info": {
"title": "LianaMailer REST API documentation",
"version": "1.0.0",
"description": "REST API of LianaMailer"
},
"servers": [
{
"url": "https://rest.lianamailer.com/api"
@o0x2a
o0x2a / bot-config-schema.json
Created February 22, 2021 17:16
Bot Config Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"APIBlockType": {
"properties": {
"api": {
"$ref": "#/definitions/APIConfig"
},
"category": {
"anyOf": [
@o0x2a
o0x2a / cloud-config.yaml
Last active November 15, 2020 14:51
Cloud Config for installing Docker
#cloud-config
apt:
sources:
docker.list:
source: deb [arch=amd64] https://download.docker.com/linux/ubuntu $RELEASE stable
keyid: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
#ca-certs:
# remove-defaults: true
@o0x2a
o0x2a / classnames.ts
Last active November 4, 2020 09:26
createGenerateClassName
import { GenerateClassNameOptions } from '@material-ui/styles/createGenerateClassName/createGenerateClassName';
import nested from '@material-ui/styles/ThemeProvider/nested';
import logger from './logger';
const pseudoClasses = [
'checked',
'disabled',
'error',
'focused',
'focusVisible',
@o0x2a
o0x2a / disable.sh
Created August 20, 2018 20:31
Disable bunch of #$!@ in Sierra (Version 2.1)
#!/bin/bash
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi
@o0x2a
o0x2a / introrx.md
Created November 4, 2017 22:39 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@o0x2a
o0x2a / 0-startup-overview.md
Created October 30, 2017 11:29 — forked from dideler/0-startup-overview.md
Startup Engineering notes
@o0x2a
o0x2a / bobp-python.md
Created August 27, 2017 16:44 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@o0x2a
o0x2a / nginx.docker-compose.yml
Last active August 24, 2016 14:44
nginx.docker-compose.yml
version: '2'
services:
web:
image: nginx
ports:
- "80:80"