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
What to do if: | |
- XFCE is destroyed: | |
xfwm4 --replace | |
If not sufficient try: | |
sudo rm .Xauthority | |
sudo rm .ICEauthority | |
sudo rm .xsession-errors* | |
sudo reboot |
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
/* log arrays and objects as tables in console - works for firefox and chrome - kudos to MDN newsletter*/ | |
// log array in console | |
var array = ['donut', 'meat', 'banana', 'coffee']; | |
console.table(array); | |
// log object same way | |
var obj = {'breakfast': 'coffee', 'snack': 'coffee', 'lunch': 'dunno', 'afternoon snack': 'coffee'}; | |
console.table(obj); | |
// combine - can be chaotic |
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
# source https://askubuntu.com/questions/372607/how-to-create-a-bootable-ubuntu-usb-flash-drive-from-terminal/579615#579615 | |
# list mounted devices, use df, lsblk, fdisk -l or parted -l (try sudo for last two) | |
df | |
# unmount device - instead of /dev/sdb1 use whatever device you found in df | |
sudo umount /dev/sdb1 | |
# start working with dd | |
sudo dd bs=4M if=path/to/cd.iso of=/dev/sdb1 conv=fdatasync |
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
.bounce-enter-active { | |
animation: bounce-in .5s; | |
} | |
.bounce-leave-active { | |
animation: bounce-in .5s reverse; | |
} | |
@keyframes bounce-in { | |
0% { | |
transform: scale(0); | |
} |
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
# center aligned | |
.underlink { | |
position: relative; | |
width: 100%; | |
text-align: center; | |
min-width: 100%; | |
max-width: 100%; | |
font-weight: bold; | |
text-decoration: none; | |
color: white; |