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
foreach (TreeViewItem messages in Messages) | |
{ | |
foreach (TreeViewItem item in messages.Items) | |
{ | |
s.Add(item.Header.ToString()); | |
} | |
} |
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
Helpers.ShowFileProperties(sourcePath); | |
IntPtr ptr = IntPtr.Zero; | |
var title = IsDirectory(sourcePath) ? new DirectoryInfo(sourcePath).Name : new FileInfo(sourcePath).Name; | |
title += " Properties"; | |
while (ptr == IntPtr.Zero) | |
ptr = Helpers.FindWindow("#32770", title); |
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
function rs | |
set PREV_CMD (history | head -1) | |
echo Running: sudo $PREV_CMD | |
sudo $PREV_CMD | |
end |
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
public class ActiveDirectoryHelper : IDisposable | |
{ | |
private readonly DirectoryEntry _de; | |
private readonly DirectorySearcher _searcher; | |
public ActiveDirectoryHelper(string ldapPath) | |
{ | |
_de = new DirectoryEntry(ldapPath); | |
_searcher = new DirectorySearcher(_de); | |
} |
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
function FileExists --argument-names path | |
if test -e $path | |
return 0 | |
else | |
return 1 | |
end | |
end | |
function WTF | |
set file '/cygdrive/c/Program Files/Microsoft VS Code/Code.exe' |
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
#NoTrayIcon | |
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_Outfile=UACHelper_x86.exe | |
#AutoIt3Wrapper_Outfile_x64=UACHelper.exe | |
#AutoIt3Wrapper_Compile_Both=y | |
#AutoIt3Wrapper_Run_Tidy=y | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
Dim $class = "[CLASS:Credential Dialog Xaml Host]" |
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
https://www.deviantart.com/alexgal23/art/Numix-Cursors-631491782 | |
https://www.deviantart.com/stamga/art/Pulse-Glass-122337588 | |
https://www.deviantart.com/tchiro/art/Eff-cursors-437903038 | |
https://www.deviantart.com/randomacronym/art/Cursor-Sans-Family-v1-5-1-468397737 |
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
foo | |
: command not found | |
~/~/tmp.fish (line 1): | |
echo "foo"; and \ | |
^ | |
in function “tmp2” | |
called on standard input | |
bar |
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
time="2018-09-28T13:21:55+02:00" level=warning msg="Checking for jobs... failed" runner=61bc41d3 status="couldn't execute POST against https://server.domain.local/api/v4/jobs/request: Post https://server.domain.local/api/v4/jobs/request: x509: certificate signed by unknown authority" | |
concurrent = 1 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "RUNNER01" |
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
$netconf = Get-NetConnectionProfile -InterfaceAlias "vEthernet" | |
$netconf.NetworkCategory = "Private" | |
Set-NetConnectionProfile -InputObject $netconf |
OlderNewer