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
// Book | |
class Book { | |
constructor(title, author, isbn) { | |
this.title = title; | |
this.author = author; | |
this.isbn = isbn; | |
} | |
} | |
// UI Control |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css" /> | |
<style> | |
.success, .error { | |
color: white; |
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/python | |
""" | |
Script that spawns 2 threads. | |
1. Will start a notification that alerts you to keep working or if you deserve a break | |
2. Countdown timer to display in your polybar | |
""" | |
import time | |
from datetime import datetime, timedelta | |
import subprocess | |
import threading |
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 python | |
# Wallpaper Manager | |
import os | |
import re | |
import random | |
PICTURE_PATH = '/home/yourusername/Pictures' | |
PICTURE_PATTERN = 'wall_\d*' |