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
# Show message box popup. | |
Add-Type -AssemblyName System.Windows.Forms | |
$result = [System.Windows.Forms.MessageBox]::Show("My message", "Window Title", [System.Windows.Forms.MessageBoxButtons]::OK, [System.Windows.Forms.MessageBoxIcon]::None) | |
# Show input box popup. | |
Add-Type -AssemblyName Microsoft.VisualBasic | |
$inputText = [Microsoft.VisualBasic.Interaction]::InputBox("Enter some value:", "Window Title", "Default value") | |
# Show an Open File Dialog and return the file selected by the user. | |
function Read-OpenFileDialog([string]$InitialDirectory, [switch]$AllowMultiSelect) |
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 noreply@github.com Mon Sep 21 08:11:17 2015 | |
Date: Mon, 21 Sep 2015 01:11:16 -0700 | |
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; | |
s=pf2014; t=1442823076; | |
bh=QJ+iRNg51Ie1MXXu3obvigZttsZqvMWRd19wG8iIbZI=; | |
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID: | |
List-Archive:List-Post:List-Unsubscribe:From; | |
b=TcjocpkPCkhZg/SgjcGeO8G/tu1sA1bhNZbiE37uDtNJpQNpW69eP/p4d5qAAWKZm | |
gaos2RIauHf5RkmnZ+uydlQ8dz8ZzbmKiEpr4096/7RgKQpO39rxWnoTVECh+oBBO+ | |
VytJiyUjiOAlM80CZnOOStTkCJI3tcP1Hea3TbXY= |
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
<unity_prefs version_major="1" version_minor="1"> | |
<pref name="DataJson" type="string">eyJTZXR0aW5nc0Z1bGxTY3JlZW4iOiIxIiwiU2V0dGluZ3NSZXNvbHV0aW9uIjoiMTM2Nng3NjgifQ==</pref> | |
<pref name="Screenmanager Is Fullscreen mode" type="int">1</pref> | |
<pref name="Screenmanager Resolution Height" type="int">768</pref> | |
<pref name="Screenmanager Resolution Width" type="int">1366</pref> | |
<pref name="UnitySelectMonitor" type="int">-1</pref> | |
</unity_prefs> |
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
<unity_prefs version_major="1" version_minor="1"> | |
<pref name="DataJson" type="string">eyJTZXR0aW5nc0Z1bGxTY3JlZW4iOiIxIiwiU2V0dGluZ3NSZXNvbHV0aW9uIjoiMTM2Nng3NjgiLCJQbGF5ZXJfMF9Db250cm9sbGVyIjoiIiwiUGxheWVyXzFfQ29udHJvbGxlciI6IiIsIlBsYXllcl8yX0NvbnRyb2xsZXIiOiIiLCJQbGF5ZXJfM19Db250cm9sbGVyIjoiIiwiTGFzdFNlbGVjdGVkTWFwIjoiYTBlNWIzZTkzMzQ4OWZiYjhmM2RmMDMzMjUzNjI2ZTgiLCJQbGF5ZXJfMF9Ta2luIjoiY29tbWFuZGVyIiwiTWFwXzYxZWE1N2RiMzVhZGYzNzNmNTQzYjc3YjZmNTIxYzA3X0NvbXBsZXRlZCI6IjEiLCJNYXBfNjFlYTU3ZGIzNWFkZjM3M2Y1NDNiNzdiNmY1MjFjMDdfTWlzc2lvbjEiOiIxIiwiTWFwXzYxZWE1N2RiMzVhZGYzNzNmNTQzYjc3YjZmNTIxYzA3X01pc3Npb24yIjoiMSIsIk1hcF82MWVhNTdkYjM1YWRmMzczZjU0M2I3N2I2ZjUyMWMwN19UaW1lIjoiNDguMzgxNiIsIk1hcF82MWVhNTdkYjM1YWRmMzczZjU0M2I3N2I2ZjUyMWMwN19Db2lucyI6IjI0IiwiTWFwXzYxZWE1N2RiMzVhZGYzNzNmNTQzYjc3YjZmNTIxYzA3X0RpYW1vbmQiOiIxIn0=</pref> | |
<pref name="GoogleUniversalAnalytics_SystemInfo_since_v001" type="int">1441577695</pref> | |
<pref name="GoogleUniversalAnalytics_clientID" type="string">NTVFQ0JBREU0YWQ5ZWFjYkYyMDQyNTg0</pref> | |
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
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
Stacktrace: | |
Native stacktrace: | |
/home/josh/.local/share/Steam/steamapps/common/Commander Cool 2/CommanderCool_Data/Mono/x86/libmono.so(+0x894bb) [0xf59d14bb] | |
/home/josh/.local/share/Steam/steamapps/common/Commander Cool 2/CommanderCool_Data/Mono/x86/libmono.so(+0x219c3) [0xf59699c3] | |
[0xf774d410] | |
/lib/i386-linux-gnu/libc.so.6(_IO_vfprintf+0x494f) [0xf726afef] |
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
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
Setting breakpad minidump AppID = 356070 | |
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198006357720 [API loaded no] | |
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
ERROR: ld.so: object '/home/josh/.local/share/Steam/ubuntu12_32/gameoverlayrenderer |
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
# These are tests to determine which is faster: | |
# 1. getting the file, fixing it with tr, | |
# and outputting that to a new file, then deleting the original | |
# 2. getting the file, and fixing it with sed in-line. | |
sedtest () { | |
sedcount=0 | |
echo 'This test is for sed performance' | |
time ( | |
while [ $sedcount -lt 1000 ]; do | |
cp ./a.safe ./a |
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
# Algorithms and Encoding | |
$md5 = new-object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider | |
$utf8 = new-object -TypeName System.Text.UTF8Encoding | |
# Used variables | |
$alpha = 0 | |
$num = 1 | |
$dot = 3 | |
$dash = 5 |
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
Beta Steam Controllers | |
Steam Controller button | Keyboard button | |
================================================= | |
Y 1 | |
B 2 | |
X 3 | |
A 4 | |
Top-Left 5 |