Skip to content

Instantly share code, notes, and snippets.

@T3chArmy
T3chArmy / readme
Last active March 29, 2019 10:09 — forked from lowjoel/sleepbot-migrate-to-sleep_as_android.rb
Migrates SleepBot data to Sleep as Android's format. Updated!
When exporting from mysleepbot.com:
-go to settings
-Change Date Format to Day/Month/Year
-Change Time Format to 24 hours
-Go to Entries
-Select from date that is older than your first sleepbot entry
-Select to date as todays date
-Export as CSV name file sleepbot-raw.csv
-Edit file and remove the first line and also do a find & replace and remove all 's from the file
@T3chArmy
T3chArmy / cf_update.php
Last active August 29, 2015 14:17
CloudFlare Dynamic IP PHP Update Script
<?php
# set your user, token (key), and domains
$CloudFlareUser='<Your CloudFlare Email>';
$CloudFlareToken='<Your CloudFlare API Token>';
$CloudFlareHosts=[]; # an array of the domains you want to update ex: ['example.com', 'myothersite.com']
$noUpdate = []; # an array of the sub domains you don't want updated ex: ['mail.example.com']
# This script will only update A records, so don't worry about ignoring CNAME or other record types
# the v2 of HTTP PECL extension is required for this to work correctly
# it can be found here: http://devel-m6w6.rhcloud.com/mdref/http
@T3chArmy
T3chArmy / Translations
Created April 8, 2015 01:39
Translations
de = Deutsch
en = English
pl = Polisk
@T3chArmy
T3chArmy / client.ini
Last active April 7, 2022 19:26
IRC bot
; default servers to send chat messages to
; currently no way to change this in the client
; this functionality will come in the future.
server = "pine"
channel = "#Pine64"
@T3chArmy
T3chArmy / autorestart_sdrsharp.bat
Created May 5, 2022 20:54
Script that will automatically launch SDRSharp, and will restart SDRSharp when it crashes
@echo off
set workdir="C:\SDRSharp\bin\"
set runprog="SDRSharp.exe"
set disname=SDRSharp
CD %workdir%
title Auto Restart %disname%
:search