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
<#------------------------------------------------------------------------------------------------------------------- | |
.SYNOPSIS | |
PIC SELECT | |
Randomly select a amount of photos | |
.NOTES | |
Author: Charles Christensen (github.com/charlesrc19) | |
Required Dependencies: ExifTool, ImgMagik | |
Optional Dependencies: none |
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
/*------------------------------------------------------------- | |
* | |
* .SYNOPSIS | |
* PARKING HELPER - GARAGE DOOR CONTROLLER | |
* Relay controller to open/close the garage door.. | |
* | |
* .NOTES | |
* Author: Charles Christensen | |
* | |
-------------------------------------------------------------*/ |
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
/*------------------------------------------------------------- | |
* | |
* .SYNOPSIS | |
* STOPLIGHT | |
* A simple, wifi-controlled stoplight. | |
* | |
* .NOTES | |
* Author: Charles Christensen | |
* | |
-------------------------------------------------------------*/ |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <stack> | |
using namespace std; | |
void findprimes(int &num, vector<int> &primes) | |
{ | |
// Special starting case. |
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
<#------------------------------------------------------------------------------------------------------------------- | |
.SYNOPSIS | |
FRAME PREP | |
Randomize JPG photos for uploading to a digital picture frame. | |
.NOTES | |
Author: Charles Christensen (github.com/charlesrc19) | |
Required Dependencies: WinSCP binaries, FTPES account | |
Optional Dependencies: none |
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
sudo certbot certonly --preferred-challenges=dns --manual --manual-auth-hook=/etc/letsencrypt/renewal-hooks/insightlabs.dev.py --manual-cleanup-hook=/etc/letsencrypt/renewal-hooks/insightlabs.dev.py -d "dev1.insightlabs.dev" |
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
# Package generated configuration file | |
# See the sshd_config(5) manpage for details | |
# What ports, IPs and protocols we listen for | |
Port 22 | |
# Use these options to restrict which interfaces/protocols sshd will bind to | |
#ListenAddress :: | |
#ListenAddress 0.0.0.0 | |
Protocol 2 | |
# HostKeys for protocol version 2 |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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
# Default | |
server { | |
server_name dev1.simplifize.co; | |
root /var/www/html; | |
index index.php index.html index.htm index.nginx-debian.html; | |
server_name _; |
NewerOlder