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
| #!/usr/bin/env python3 | |
| from subprocess import check_output | |
| import os.path | |
| import subprocess | |
| import time | |
| cachedir = "/var/cache/pacman/pkg" # NO "/" AT THE END! | |
| print(check_output(["pacman", "-Sqy"]).decode("utf-8")) # update package data base |
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
| ╭─simon at localhost in ~ | |
| ╰─○ rm -R .config/spotify .cache/spotify; spotify | |
| /usr/share/spotify/spotify-client/spotify: /usr/lib/libssl.so.1.0.0: no version information available (required by /usr/share/spotify/spotify-client/spotify) | |
| /usr/share/spotify/spotify-client/spotify: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /usr/share/spotify/spotify-client/spotify) | |
| 16:06:05.578 I [breakpad.cpp:107 ] Registered Breakpad for product: spotify | |
| 16:06:05.579 I [translate.cpp:139 ] Reloading language file | |
| 16:06:05.600 I [translate.cpp:139 ] Reloading language file | |
| 16:06:05.601 I [breakpad.cpp:261 ] Searching for crashdumps: /home/simon/.cache/spotify/*.dmp |
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
| #include <avr/io.h> | |
| #define F_CPU 16000000UL | |
| #include <util/delay.h> | |
| int main (void) | |
| { | |
| DDRC = 0xff; | |
| while(1) | |
| { | |
| PORTC ^= 0xff; |
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
| #include <avr/io.h> | |
| #define F_CPU 16000000UL | |
| #include <util/delay.h> | |
| int main (void) | |
| { | |
| DDRC = 0xff; | |
| while(1) | |
| { | |
| PORTC ^= 0xff; |
NewerOlder