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 | |
dt=$(date '+%d/%m/%Y %H:%M:%S'); | |
echo "$dt" $@ >> ~/log.txt |
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
;Display the time, useful for autohiding taskbar and still wanting to see the time | |
;Inspired by; | |
;http://autohotkey.com/board/topic/80594-how-to-enable-drag-for-a-gui-without-a-titlebar | |
#singleinstance force | |
Gui, +AlwaysOnTop +ToolWindow -SysMenu -Caption | |
Gui, Color, 000000 ;black | |
Gui, Font, CCCCCC s10 , Aptos Narrow ;red | |
Gui, Add, Text, vD y0, %a_hour%:%a_min%:%a_sec% | |
Gui, Show, NoActivate, Uptime ; screen position here |
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
25 Nov 2023 | |
----------- | |
Realized I lost track of my last model?? | |
Realized I need to take notes ;) | |
Downloaded and installed https://github.com/RahulSChand/gpu_poor | |
Name RTX-2060 | |
bandwidth 336 GB | |
compute 13 TFlops/s | |
memory 6 GB |
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
Test-NetConnection -ComputerName hostname -Port 443 |
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
console.log('Local loaded'); | |
bookmarks = { | |
'snow':'https://ldc.service-now.com/', | |
'snow portal':'https://ldc.service-now.com/sp_ldc' | |
; |
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 animateFireBlaze(x1, y1, x2, y2) { | |
const canvas = document.createElement("canvas"); | |
canvas.width = x2 - x1; | |
canvas.height = y2 - y1; | |
document.body.appendChild(canvas); | |
const ctx = canvas.getContext("2d"); | |
function drawFlame() { | |
ctx.clearRect(0, 0, canvas.width, canvas.height); |
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
Statement Date<input id="statementDate" type="date"></input> | |
Statement Start<input id="statementStart" type="number"></input> | |
<button id="go" >Go!</button> | |
<textarea id="mt940" cols="120" rows="50"> | |
:20:ACME2203100000001 | |
:28C:6789/1 | |
:60F:C220310USD0,00 | |
:61:2203100310C2000,00NTRF00000000//00000000 | |
0 |
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
(\ (\ | |
( -.- ) | |
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 | |
Public Sub processMessages() | |
Dim objOL As Outlook.Application | |
Dim currentExplorer As Explorer | |
Dim Selection As Selection | |
Dim obj As Object | |
Dim dict As Object | |
Set objOL = Outlook.Application | |
Set currentExplorer = objOL.ActiveExplorer |
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
Get-ADUser -filter 'Name -like "*Prath*"' -Properties AccountExpirationDate | Select sAMAccountName, UserPrincipalName, distinguishedName, AccountExpirationDate |
NewerOlder