Skip to content

Instantly share code, notes, and snippets.

View azh's full-sized avatar
:bowtie:

Alex Zhang azh

:bowtie:
  • Canada
View GitHub Profile
@azh
azh / SketchSystems.spec
Created June 21, 2023 20:57
Honeywell VISTA
Honeywell VISTA
Armed
some event -> Disarmed
Disarmed
Programming
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
@azh
azh / userChrome.css
Created September 11, 2019 21:40
firefox macos userchrome that removes the tab bar
#navigator-toolbox {
--tabs-border-color: none;
}
#TabsToolbar {
/* visibility: collapse !important; */
}
#tabbrowser-tabs .tabs-newtab-button {
visibility: collapse;
@azh
azh / thinkpad x220 touchpad toggler
Created October 26, 2014 04:23
toggles the touchpad on my thinkpad
# enables and disables the touchpad for people that don't only use the nub
TOGGLE=$HOME/.tpadoff
if [ ! -e $TOGGLE ]; then
touch $TOGGLE
synclient Touchpadoff=1
echo "Touchpad off"
else
rm $TOGGLE