Skip to content

Instantly share code, notes, and snippets.

View exadeci's full-sized avatar

Gaëtan Guéraud exadeci

  • Sydney
  • 16:02 (UTC +10:00)
View GitHub Profile
exadeci / UAPFailsafeBootSequence1407
Created August 14, 2022 16:50 — forked from andrewhoff/UAPFailsafeBootSequence1407
How to get into Unifi UAP failsafe mode (running OpenWrt 14.07)
Set Host Machine Static IP -> (SNM
Disconnect POE/LAN cable from UAP
Reconnect POE/LAN cable to UAP
Watch for ~500ms green led blink
Click reset button once, green led blinks ~150ms
`telnet` from host machine
mount_root to fix config
exadeci / .rb
Last active March 20, 2017 02:35
ApplicationRecord model template for RubyMine
#set($ctrlName = $NAME.replaceAll(".rb", ""))
#set($ctrlNewName = "")
#foreach($str in $ctrlName.split("_"))
#set($str = $str.substring(0,1).toUpperCase()+$str.substring(1))
#set($ctrlNewName = $ctrlNewName + $str)
class ${ctrlNewName} < ApplicationRecord

Keybase proof

I hereby claim:

  • I am exadeci on github.
  • I am exa ( on keybase.
  • I have a public key whose fingerprint is 702D 38C9 43AF 5F35 3B31 1AD3 070D 1875 AB37 4500

To claim this, I am signing this object:

exadeci /
Created September 15, 2015 10:11 — forked from tomas-stefano/
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
$(document).ready ->
$('.form-list').bind 'cocoon:after-insert', (e, insertedItem) ->
Verifying I am +exa on my passcard.