Skip to content

Instantly share code, notes, and snippets.

@horusint
horusint / cloudflare-export-all-dns-records.ps1
Created July 30, 2025 20:03 — forked from fbrettnich/cloudflare-export-all-dns-records.ps1
A PowerShell script to export all Cloudflare DNS records from all zones to Excel
$bearerToken = "" # Required Permission: Zone.DNS
$zones = @()
$page = 1
do {
$response = Invoke-RestMethod -Uri "https://api.cloudflare.com/client/v4/zones?page=$page&per_page=50" -Headers @{ "Authorization" = "Bearer $bearerToken" }
$zones += $response.result
$page++
} while ($response.result_info.page * $response.result_info.per_page -lt $response.result_info.total_count)
@horusint
horusint / README
Created August 19, 2020 22:53 — forked from xbb/README
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
@horusint
horusint / remove_gui_from_debian.sh
Created May 19, 2020 18:18 — forked from gismo141/remove_gui_from_debian.sh
Remove all GUI-related Packages from Existing Debian-Installation
apt-get remove -y --purge x11-common
apt-get autoremove -y --purge
apt-get install -y deborphan
deborphan | xargs dpkg -P # do this a bunch of times
@horusint
horusint / remove_gui_from_debian.sh
Created May 19, 2020 18:18 — forked from gismo141/remove_gui_from_debian.sh
Remove all GUI-related Packages from Existing Debian-Installation
apt-get remove -y --purge x11-common
apt-get autoremove -y --purge
apt-get install -y deborphan
deborphan | xargs dpkg -P # do this a bunch of times
@horusint
horusint / ClearWSUSSync.sql
Created August 16, 2017 13:05 — forked from dsolodow/ClearWSUSSync.sql
Delete WSUS Sync History
DELETE FROM [SUSDB].[dbo].[tbEventInstance]
WHERE [EventID]=381 or [EventID]=382 or [EventID]=384 or [EventID]=386 or [EventID]=387
@horusint
horusint / tomcat.service
Created June 29, 2017 18:10 — forked from obatiuk/tomcat.service
Example systemd unit file for tomcat 7.x
# Systemd unit file for tomcat 7.x
[Unit]
Description=Apache Tomcat 7.x Web Application Container
Wants=syslog.target network.target
After=syslog.target network.target
[Service]
Type=forking
Environment=JAVA_HOME=/usr/java/latest