A Pen by thinsoldier on CodePen.
This file contains hidden or 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
for i in *.rar; do mkdir "${i%%.rar}"; unrar x -r "$i" "${i%%.rar}"; done |
This file contains hidden or 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://askubuntu.com/questions/772050/reset-the-password-in-ubuntu-linux-bash-in-windows | |
Close Bash on Ubuntu if it is running (or the next command will fail). | |
In Windows admin command prompt (Super+X, A) change the default user to root: | |
ubuntu config --default-user root | |
If you are using Ubuntu 18.04 in WSL, the command has changed to ubuntu1804 , so |
This file contains hidden or 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://social.technet.microsoft.com/Forums/en-US/ee897671-fa3a-4e06-8cb6-0986900c032e/powershell-function-unzip-all-files-in-a-folder?forum=winserverpowershell | |
user rex02 | |
#Extract zip files to the same location with same folder name (removed .zip) | |
gci -Recurse -Filter *.zip |ForEach-Object {$n=($_.Fullname.trimend('.zip')); Expand-Archive -Path $_.Fullname -DestinationPath $n -Force} |
This file contains hidden or 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
for x in ls *.webp; do ffmpeg -i "$x" "${x%.webp}.jpg"; done |
This file contains hidden or 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 class="container-1"> | |
<div class="box big-box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/11/Minecraft-Pillager-Outpost.jpg);"> | |
<h2>Minecraft 1.14: Pillager Outpost seed</h2> | |
</div> | |
<div class="box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/10/Minecraft-Bamboo-Jungle-1.jpg);"> | |
<h2>Minecraft 1.14 Bamboo Jungle Seed – The first ever bamboo forest seed for 1.14!</h2></div> | |
<div class="box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/09/Minecraft-1.13-Shaders-Comparison.jpg);"> | |
<h2>Best shaders for Minecraft 1.13 Java (2018)</h2></div> | |
<div class="box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/09/Dimmer-Android-screen-than-minimum.jpg);"> | |
<h2>How to make your Android screen dimmer or darker than minimum</h2></div> |
This file contains hidden or 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 class="container-1"> | |
<div class="box big-box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/11/Minecraft-Pillager-Outpost.jpg);"> | |
<h2>Minecraft 1.14: Pillager Outpost seed</h2> | |
</div> | |
<div class="container-2"> | |
<div class="section"> | |
<div class="box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/10/Minecraft-Bamboo-Jungle-1.jpg);"> | |
<h2>Minecraft 1.14 Bamboo Jungle Seed – The first ever bamboo forest seed for 1.14!</h2></div> | |
<div class="box" style="background-image:url(https://tech-ranking.a2hosted.com/wp-content/uploads/2018/09/Minecraft-1.13-Shaders-Comparison.jpg);"> | |
<h2>Best shaders for Minecraft 1.13 Java (2018)</h2></div> |
This file contains hidden or 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
@supports( display: grid) | |
{ | |
#quicksearch form { | |
display: grid; | |
grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); | |
grid-gap: .5em; | |
min-height: 208px; | |
justify-content: center; | |
} | |
This file contains hidden or 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 $files string is list of file names will be turned into an array. | |
$files = ' | |
3.jpg | |
4.jpg | |
5.jpg | |
6.jpg | |
7.jpg | |
8.jpg | |
9.jpg |
A Pen by thinsoldier on CodePen.
NewerOlder