- git
- docker
- docker-compose
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
/* More space at the bottom of the page */ | |
.md-main__inner { | |
margin-bottom: 1.5rem; | |
} |
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
#!/bin/bash | |
# Uninstall snap | |
apt-get autoremove snap | |
# Prevent snap from running again | |
echo -e 'Package: snapd\nPin: release *\nPin-Priority: -1' > /etc/apt/preferences.d/nosnap |
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
import os | |
import re | |
for f in os.listdir("cogs"): | |
if re.match(r".*\.py.swp", f): | |
pass | |
elif re.match(r".*\.py", f): | |
bot.load_extension("cogs." + f.replace(".py", "")) |
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
{ | |
"menu_class": [ | |
{ | |
"key": "arch", | |
"class": "arch" | |
}, | |
{ | |
"key": "arcolinux", | |
"class": "arcolinux" | |
}, |
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
#!/bin/sh | |
# Increment versionCode | |
perl -pi -e 's/versionCode ([0-9]+)/"versionCode " . ($1+1)/e' ./app/build.gradle | |
# Increment versionName | |
perl -pi -e 's/versionName \"([0-9]+)\"/"versionName \"" . ($1+1) . "\""/e' ./app/build.gradle |
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
#!/bin/bash | |
echo 0 > /sys/class/leds/led0/brightness | |
echo 0 > /sys/class/leds/led1/brightness |
A few days ago my brother bought a LED strip and then realized it wasn't what he was looking for, so I thought I could do something with it. In this tutorial I'll show you how I turned a classic LED strip into a Bluetooth controlled one.
The LED strip I have as four pins :
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
/* | |
* Watch2Gether by default is not dark enough, not flat at all and does not use the screen as it should do | |
* So I decided to make a style to make it flat, dark, use the full potential of the screen and look a bit | |
* more like a webapp. | |
* If you want to use it you'll need something like Stylus, to apply CSS on websites | |
*/ | |
/* | |
Use the entire screen |
Do you have a dual boot? If so, isn't it annoying that you have to reboot each time you need the other os? Then boot from the physical disk with VirtualBox! It's not complicated, we'll see how to do this with a Linux host and a Windows host
- VirtualBox
- A physical disk to boot (the other OS can be on the same disk or another one)
NewerOlder