This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import serial | |
import time | |
import struct | |
import os | |
# Define the serial ports for console and data | |
console_port = "COM3" # Change to your specific port for usb_cdc.console | |
data_port = "COM4" # Change to your specific port for usb_cdc.data | |
# Display the banner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Power Rev - v0.1 | |
$script = Read-Host "Enter the script's path you need to reserve" | |
$a = Get-Content -Path ..\..\DEV\deployer.ps1 -raw | |
$b = $a -split '' | |
[array]::Reverse($b) | |
$c = -join($b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import ssl | |
from socket import * | |
from requests.packages.urllib3.contrib import pyopenssl as reqs | |
setdefaulttimeout(1) | |
port_num = "24800" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# DNS records management tool for YAML Files in Ansible | |
# By Dong Guo at 20140926 | |
basedir=$(dirname ${0}) | |
domain=heylinux.com | |
function print_help(){ | |
echo "Usage: ${0} -t A|CNAME|PTR -u add|del -n servername -v record_value" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use Net::SNMP; | |
use Data::Dumper; | |
use Getopt::Std; | |
use Net::RawIP; | |
sub usage() { printf STDERR "Usage: $0 -s srcipaddr [-S srcport] -d dstipaddr [-D dstport] -t tftpsipaddr -f cfgfilename\n"; exit(1); }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in *.xml; do | |
xsltproc $i -o $i.htm | |
echo "Converting $i to HTML" | |
done | |
echo "" | |
echo "Conversion Complete" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am roobixx on github. | |
* I am roobixx (https://keybase.io/roobixx) on keybase. | |
* I have a public key whose fingerprint is 87D8 CDDA 790D D0A7 C5EA B5D2 1524 8C54 B24E 5498 | |
To claim this, I am signing this object: |