I hereby claim:
- I am moorer2k on github.
- I am moorer (https://keybase.io/moorer) on keybase.
- I have a public key ASD23Ha0wkfvgSabIH4keVfmhELkUQetkBzEofOFXIgO0Ao
To claim this, I am signing this object:
#Automatically switch between desired threads for XMRIG. | |
$path = 'C:\Users\Moore\Desktop\xmrig\config.json' | |
$minThreads = '15' | |
$maxThreads = '28' | |
if (Select-String -Path $path -Pattern "$minThreads," -SimpleMatch -Quiet) | |
{ | |
(Get-Content $path) -replace "$minThreads,", "$maxThreads," | Out-File -encoding ASCII $path | |
} |
I hereby claim:
To claim this, I am signing this object:
opkg install python3-cryptodomex | |
wget https://bootstrap.pypa.io/get-pip.py | |
python3 get-pip.py | |
pip install -U setuptools | |
pip install scapy | |
git clone https://github.com/hexway/r00kie-kr00kie.git && cd ./r00kie-kr00kie |
opkg update && opkg install ca-certificates zsh curl git-http
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sed -i -- 's:/bin/ash:/bin/zsh:g' /etc/passwd
# -- reboot, all done.
Public Function DecodeUri(ByVal inputText As String) | |
Dim rx As New System.Text.RegularExpressions.Regex("(\\x.{2})") | |
For Each m As System.Text.RegularExpressions.Match In rx.Matches(inputText) | |
inputText = inputText.Replace(m.Groups(1).Value, Chr(m.Groups(1).Value.Replace("\x", "&H"))) | |
Next | |
inputText = WebUtility.UrlDecode(inputText) | |
If inputText.Contains("%") Then 'just make sure it's actually fully decoded. Sometimes it skips a necessary step for all parameters to be decoded. | |
inputText = WebUtility.UrlDecode(inputText) | |
End If | |
Return inputText |
Public Function DecodeUri(ByVal inputText As String) | |
Dim rx As New System.Text.RegularExpressions.Regex("(\\x.{2})") | |
For Each m As System.Text.RegularExpressions.Match In rx.Matches(inputText) | |
inputText = inputText.Replace(m.Groups(1).Value, Chr(m.Groups(1).Value.Replace("\x", "&H"))) | |
Next | |
Return inputText | |
End Function |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Symfony\Component\Process\Process; | |
class FanController extends Command | |
{ |
<?php | |
namespace App; | |
use Symfony\Component\Process\Process; | |
use Symfony\Component\Process\Exception\ProcessFailedException; | |
class GetCPUTemps | |
{ | |
public function getTemps(){ |
#DietPi setup script for RTL-SDR/Multimon-ng/Pagermon for decoding pager messages(FLEX/POCSAG etc.) | |
cat <<EOF >no-rtl.conf | |
blacklist dvb_usb_rtl28xxu | |
blacklist rtl2832 | |
blacklist rtl2830 | |
EOF | |
mv no-rtl.conf /etc/modprobe.d/ |
<html> | |
<head></head> | |
<body> | |
<div hidden="" by-polymer-bundler=""> | |
<script> | |
(function() { | |
"use strict"; |