I hereby claim:
- I am dmnc-net on github.
- I am dmnc (https://keybase.io/dmnc) on keybase.
- I have a public key whose fingerprint is 0ABE 9519 2B20 E3FF 8A7A 668F 603F 17A3 8E99 B62D
To claim this, I am signing this object:
#!/usr/bin/python | |
import sys | |
import csv | |
rf = open(sys.argv[1]) #input file handle | |
wf = open(sys.argv[2],'w') #output file handle | |
writer = csv.writer(wf) | |
for row in rf.readlines(): |
<?php | |
/* | |
this is .htaccess file: | |
---------------------- | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.php [QSA,L] | |
*/ | |
ini_set('error_reporting', E_ALL); |
#!/bin/sh | |
basedir="/opt/minecraft/bukkit" | |
RB="http://dl.bukkit.org/downloads/craftbukkit/get/latest-rb/craftbukkit.jar" | |
BETA="http://dl.bukkit.org/downloads/craftbukkit/get/latest-beta/craftbukkit.jar" | |
DEV="http://dl.bukkit.org/downloads/craftbukkit/get/latest-dev/craftbukkit.jar" | |
# Choose desired version: RB, BETA, DEV | |
DOWNLOAD=$BETA | |
##################################################### |
I hereby claim:
To claim this, I am signing this object:
Code below is modified version of monitor-volume written by Andrew Dupont.
I hereby claim:
To claim this, I am signing this object:
For building and running akpw/mktxp as a container.
# Check if the script is running with administrative privileges | |
if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
Write-Output "Script is not running as Administrator. Attempting to restart with elevated privileges..." | |
# Relaunch the script with the RunAs verb to prompt for elevation | |
Start-Process -FilePath "powershell.exe" -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs | |
exit | |
} | |
# Install PowerShell 7 | |
Write-Output "Installing PowerShell 7..." |