Skip to content

Instantly share code, notes, and snippets.

View nitrate92's full-sized avatar
๐Ÿ‹
combustable lemon that burns your house down!

nitrate92

๐Ÿ‹
combustable lemon that burns your house down!
  • hell
  • 20:57 (UTC -05:00)
View GitHub Profile
-- AI ahh code to make sure the internet is working before we try mounting a share
set retryCounter to 0
-- shouldn't have to be super generous with this one, as we have a 5 second delay between tries
set maxRetries to 5
set networkUp to false
repeat until networkUp is true
try
do shell script "ping -c 1 192.168.1.1"
#!/bin/bash
watch -n 1 vcgencmd measure_temp
@nitrate92
nitrate92 / halenSPA2102.xml
Created September 10, 2023 07:10
Personal Linksys SPA2102 config.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<flat-profile xmlns="http://www.sipura.net/xsd/SPA2102" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sipura.net/xsd/SPA2102 http://www.sipura.net/xsd/SPA2102/SPA2102-5-2-10.xsd">
<!-- System Configuration -->
<Restricted_Access_Domains ua="na"></Restricted_Access_Domains>
<Enable_Web_Admin_Access ua="na">Yes</Enable_Web_Admin_Access>
<Admin_Passwd ua="na">admin</Admin_Passwd>
<User_Password ua="rw">admin</User_Password>