This file contains 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
.ed"""" """$$$$be. | |
-" ^""**$$$e. | |
." '$$$c | |
/ "4$$b | |
d 3 $$$$ | |
$ * .$$$$$$ | |
.$ ^c $$$$$e$$$$$$$$. | |
d$L 4. 4$$$$$$$$$$$$$$b |
This file contains 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 | |
# ENVIRONMENT SETUP, CURRENT UBUNTU 20.04 | |
cd ~ | |
mkdir Packages | |
cd Packages | |
# GNOME STYLING | |
wget -L -O gtk.css https://gist.githubusercontent.com/lukeawyatt/870c6af8e2f546164cdb1b1b4804fad1/raw/gtk.css | |
cp ./gtk.css ~/.config/gtk-3.0/gtk.css |
This file contains 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
docker run –i –t --rm ubuntu sh –c /bin/bash |
This file contains 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
Option Explicit | |
Dim oShell, WshShell, Title, strInputIU, strInputPATH, executeString, objShell, strCurrentDir, result, filesys | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
Set objShell = CreateObject("WScript.shell") | |
Set filesys = CreateObject("Scripting.FileSystemObject") | |
strCurrentDir = objShell.CurrentDirectory | |
If WScript.Arguments.Named.Exists("elevated") = False Then | |
CreateObject("Shell.Application").ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ /elevated", "", "runas", 1 |
This file contains 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
# FROM REMOTE TO LOCAL | |
scp -r user@ipaddress:/remote/path/to/directory /local/directory/to/copy/to | |
# FROM LOCAL TO REMOTE | |
scp -r /local/directory/to/copy/from user@ipaddress:/remote/path/to/directory |
This file contains 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
using System; | |
using System.IO; | |
using CsvHelper; | |
namespace CsvHelperTest | |
{ | |
// THIS USES CsvHelper FROM NUGET | |
public class Program | |
{ |
This file contains 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
// WRITES TO THE MAIN LOG | |
logger.info('MESSAGE'); | |
// WRITES TO THE MAIN LOG | |
java.lang.System.err.println("MESSAGE"); |
This file contains 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
<?php | |
if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == "" || $_SERVER['HTTPS'] == "off"){ | |
$redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; | |
header('Status: 301 Moved Permanently', true); | |
header("Location: $redirect", true, 301); | |
} | |
?> |
This file contains 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
SELECT percent_complete, start_time, status, command, estimated_completion_time, cpu_time, total_elapsed_time | |
FROM sys.dm_exec_requests; |
NewerOlder