Skip to content

Instantly share code, notes, and snippets.

View 1H0's full-sized avatar
🐧

Lukas 1H0

🐧
  • Online / 0x7F000001
  • 22:31 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am 1h0 on github.
  • I am 1h0 (https://keybase.io/1h0) on keybase.
  • I have a public key ASDZJSzNtKd1oNK9YFgua1jKvuRGQ0-ZOWt4Vt6G-qREdQo

To claim this, I am signing this object:

Stop-Service CcmExec
# Create new archiv and add files
Compress-Archive -Path $source -CompressionLevel Optimal -DestinationPath $destination
# Update existing archive
Compress-Archive -Path $source -Update -DestinationPath $destination
@1H0
1H0 / msg.cmd
Created January 14, 2019 10:27
Command to send a MSG box to every logged-on user on a device
msg * /TIME:2 "Message"
@1H0
1H0 / image-cover.sass
Created January 12, 2019 20:43
Image resizing without changing it's aspect ratio.
#test-image
width: 50%
height: 25%
object-fit: cover
@1H0
1H0 / checkFunction.js
Created January 12, 2019 20:40
How to check if a function exists before calling it in JS
if (typeof functionName === 'function') {
functionName();
};