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
#!/bin/bash | |
### CMatrix TUI Screensaver for i3wm ### | |
### | |
### In i3 config, first disable power saving and screen blanking: | |
### exec --no-startup-id xset s off -dpms | |
### | |
### Ensure xautolock is installed on system, include the following | |
### in your i3wm config file: | |
### exec --no-startup-id xautolock -time 10 -locker ~/.cmatrix-lock |
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
{ | |
"name": "project", | |
"version": "0.1.0", | |
"description": "SASS compile|autoprefix|minimize and live-reload dev server using Browsersync for static HTML", | |
"main": "public/index.html", | |
"author": "5t3ph", | |
"scripts": { | |
"build:sass": "sass --no-source-map src/sass:public/css", | |
"copy:html": "copyfiles -u 1 ./src/*.html public", | |
"copy": "npm-run-all --parallel copy:*", |
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
function formatDate(d) { | |
const mm = d.getMonth() + 1; | |
const yy = d.getFullYear(); | |
const dd = d.getDate(); | |
return `${mm}/${dd}/${yy}`; | |
} |
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 python3 | |
from dotenv import dotenv_values | |
from icalevents.icalevents import events as ical_events | |
from datetime import date, datetime | |
from os import system as shell | |
from os import path | |
import subprocess | |
from time import sleep |
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
/** | |
* Carousel(query, options) | |
* query - top level element selector | |
* options - { | |
* indicators: true/'interactive', // interactive creates clickable indicators | |
* step: true, // next/previous buttons | |
* auto: true // timed next calls | |
* } | |
*/ | |
export class Carousel { |
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/bash | |
function funsplash { | |
clear | |
echo ======================================== | |
echo This script presents you with 2 options: | |
echo 1. Choose the width of your photo. | |
echo 2. Choose the height of your photo. | |
echo ---------------------------------------- | |
read -n 1 -s -r -p "Press the 'ANY' key to continue - LOL!!!" |