CCCPaste

Find which shift you are on firefighting

function shift(){
var oneDay = 24*60*60*1000; // hours*minutes*seconds*milliseconds
var ashift = new Date(2015,08,15);
var bshift = new Date(2015,08,16);
var cshift = new Date(2015,08,17);

Change Password for User Apache

<?php

$file = '.htpasswds';
$login = $_SERVER['REMOTE_USER'];

Mail Archiver

#!/bin/bash
#Script By Kris Occhipinti
#GPLv3 September 11, 2015

dir="$HOME/mail/<domain>/<mbox>/new/"

Get Website's Title and Image Meta data

<?php
$file = 'http://www.winknews.com/2015/08/06/4-rescued-from-overnight-house-fire-in-naples/';

// the following line prevents the browser from parsing this as HTML.
//header('Content-Type: text/plain');

daily manning email for callback staffing

#!/bin/bash
#Copyleft 2015 Kris Occhipinti http://filmsbykris.com
#Released under GNU AGPLv3 - http://www.gnu.org/licenses/agpl-3.0.txt
#This script pulls the daily staffing PDF from the Callback Staffing website
#and emails it to set address

Mail Base64 Extraction JPEG

#!/bin/bash
#extracts base64 attachment form mailbox file
#if jpg and decodes it into a file based on
#subject name and date

Mplayer Desktop Link for Linux

[Desktop Entry]
Name=mplayer
GenericName=Media Player
Comment=Play any media
Exec=/usr/bin/mplayer %f

Callback Staffing Cookie to Notes

<script>
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();

Backup all SVN repositories

@echo off

echo Backup all SVN repositories using Hungarian date format
echo
echo Based on http://serverfault.com/a/573221/305124

gphoto2 notes

#!!!!!!!!!!!if camera is "claimed" look for process that is using it,
#!!!!!!!!!!!possible "gvfs-gphoto2-volume-monitor" and kill it

#Some Settings are only available if you are in “M” mode on the camera
List features: