seq 1 254 | xargs -P255 -I{} bash -c 'ip="192.168.1.{}"; ping -c 1 -W 1 $ip >/dev/null 2>&1 && { nc -z -w 1 $ip 22 2>/dev/null && echo "$ip: Port 22 is open" || echo "$ip: Port 22 is closed"; }' | sort -n -t . -k 4,4
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
<div aria-hidden="true" class="mandala-container animate-colors"> | |
<div class="mandala-svg-container"><svg width="675" height="675" viewBox="0 0 675 675" fill="none" xmlns="http://www.w3.org/2000/svg" class="mandala"> | |
<title>Mandala</title> | |
<defs> | |
<path d="M337.5,337.5 m-320,0 a320,320 0 1,1 640,0 a320,320 0 1,1 -640,0" id="circle1"> | |
<animateTransform attributeName="transform" begin="0s" dur="500s" type="rotate" from="0 337.5 337.5" to="360 337.5 337.5" repeatCount="indefinite"></animateTransform> | |
</path> | |
<path d="M337.5,337.5 m-280,0 a280,280 0 1,1 560,0 a280,280 0 1,1 -560,0" id="circle2"> | |
<animateTransform attributeName="transform" begin="0s" dur="500s" type="rotate" from="360 337.5 337.5" to="0 337.5 337.5" repeatCount="indefinite"></animateTransform> | |
</path> |
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
// enable drive api service | |
// manually set a time-driven trigger(the alarm icon) that runs monthly after 25th evening, | |
function entrypoint() { | |
return main(); | |
} | |
function deIndent(str) { | |
return str.replace(/^[ \t]+/gm, ""); | |
} |
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
#!/usr/bin/env bash | |
# Util to set up displays using displayplacer: https://github.com/jakehilborn/displayplacer | |
# to get the display id run `displayplacer list | grep -A2 Serial` | |
DISPLAY_1=s4251086178 | |
DISPLAY_2=s261348 | |
if [ "$#" -ne 1 ]; then |
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
network: | |
version: 2 | |
ethernets: | |
enp9s0: | |
dhcp4: false | |
wifis: | |
wlan0: | |
access-points: | |
"wifi": | |
password: "pass" |
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://macosicons.com | |
https://parsefiles.back4app.com/JPaQcFfEEQ1ePBxbf6wvzkPMEqKYHhPYv8boI1Rc/6ba4356c379a0e212b2af5a8ef1a57ef_YouTube%20Music.icns |
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
ACTION=="add", SUBSYSTEM=="usb", ATTR{idProduct}=="c52b", ATTR{idVendor}=="046d", ATTR{power/wakeup}="disabled" |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.13.5 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=110100 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=23601 |
install pipdeptree
pip install pipdeptree
pipdeptree -f 2>/dev/null | grep -v '^ ' | tee requirements.txt
NewerOlder