Skip to content

Instantly share code, notes, and snippets.

View andyngo's full-sized avatar
🏠
Working from home

Andy Ngo andyngo

🏠
Working from home
View GitHub Profile
@andyngo
andyngo / Conversable-alt.js
Created October 9, 2020 14:28
Conversable (alt)
// Configs
// Modify the array below and your own contacts
const contacts_list = [
{
name: "Placeholder",
phone: "+0123456789",
type: "sms",
photo: "1.png",
},
@andyngo
andyngo / machine.js
Created November 26, 2019 13:55
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@andyngo
andyngo / init.lua
Last active August 23, 2023 09:32
My personal hammerspoon config.
-- global config --
-- disable all window animation
hs.window.animationDuration = 0
-- custom alert style
hs.alert.defaultStyle.radius = 4
hs.alert.defaultStyle.fillColor = {white = 0, alpha = 0.9}
hs.alert.defaultStyle.strokeColor = {white = 0, alpha = 0}
hs.alert.defaultStyle.fadeInDuration = 0
hs.alert.defaultStyle.fadeOutDuration = 0
@andyngo
andyngo / styles.less
Created February 27, 2017 03:51
Custom styles.less
// to be used with Gloom syntax theme
@import "syntax-variables";
// custom styles for atom-choose-pane
.choose-pane {
color: @syntax-text-color;
color: rgba(255,255,255,1);
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
font-weight: 200;
&::after {
@andyngo
andyngo / style.css
Last active July 4, 2016 02:04
Some CSS to change how Dropbox Paper looks.
html, body, input, textarea, select, button {
font-family: -apple-system, BlinkMacSystemFont, AtlasGrotesk, 'Helvetica Neue', Helvetica, sans-serif !important;
}
.highlight, .highlight.code, .highlight.inline-code {
background-color: #ffe89b !important;
color: #332B1E !important;
}