I hereby claim:
- I am gegere on github.
- I am gegere (https://keybase.io/gegere) on keybase.
- I have a public key ASCic0OS3dFkVj9gvirvG7W1ak_MXE7XY0_4rsf2p5IgbQo
To claim this, I am signing this object:
<?php | |
class RecentTweets{ | |
private $username; | |
const cache = '/cache/'; | |
public function __construct($username){ | |
$this->username = $username; | |
} |
<?php | |
class tweet_scroll { | |
/****************************************************************** | |
** database access constants ** | |
** edit these ** | |
******************************************************************/ | |
private $dbName = 'YOUR MYSQL DATABASE NAME'; | |
private $dbHost = 'YOUR MYSQL DATABASE HOST'; | |
private $dbUser = 'YOUR MYSQL DATABASE USERNAME'; |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Credit Card Functions | |
* | |
* This helper module contains functions which can be used to manipulate credit | |
* card numbers and related information. | |
* | |
* @package CodeIgniter |
#!/bin/bash | |
# | |
# Cheap Rsync System for Remote Backups | |
# | |
# This is the cheapest of cheapo you will find for a script | |
# that performs remote backups using simply rsync, a destination | |
# host, and a directory on that destination host to store the backups. | |
# | |
# Author: Jason Gegere | |
# Date: 11-21-2006, 9:29AM CST |
I hereby claim:
To claim this, I am signing this object:
This gist assumes:
# How to run docker-compose up -d at system start up? | |
# https://stackoverflow.com/a/43672627 | |
# | |
# crontab -e | |
# | |
# Install Compose on Linux systems | |
# https://docs.docker.com/compose/install/#install-compose | |
# | |
# | |
# Install using the repository |
gcloud compute instances create www-hg3 \ | |
--machine-type e2-small \ | |
--tags ssh,http-server,https-server \ | |
--image-family=ubuntu-minimal-1804-lts \ | |
--image-project=ubuntu-os-cloud \ | |
--service-account vm-instance-compute@webserv0.iam.gserviceaccount.com \ | |
--zone $ALT_ZONE | |
#!/bin/bash | |
# Source directory to be backed up | |
SOURCE_DIR=/data/MOVIES | |
# Destination directory for backup | |
DEST_DIR=/data/samba | |
# SSH configuration for remote server (if using rsync over ssh) | |
SSH_HOST=192.168.2.123 |
#!/bin/bash | |
# Replace 'YOUR_SLACK_TOKEN' with your Slack Bot Token | |
SLACK_TOKEN="ABC123" | |
# Replace 'YOUR_CHANNEL_ID' with the ID of the Slack channel where you want to send the message | |
CHANNEL_ID="C123456789ZYX" | |
LOG_FILE="/var/log/update_script.log" | |
# Get the start date |