Skip to content

Instantly share code, notes, and snippets.

View metalx1000's full-sized avatar

Kristofer Occhipinti metalx1000

View GitHub Profile
@metalx1000
metalx1000 / config
Last active January 29, 2018 13:02
i3 Config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@metalx1000
metalx1000 / ytsubs
Last active February 11, 2018 02:43
Get Recent Videos from a Youtube channel
#!/bin/bash
#created by Kris Occhipinti https://filmsbykris.com
#Copyright Jan 20th 2018
#License GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt
goback="3day"
ytdir="$HOME/.ytsubs"
subs="$ytdir/ytsubs.lst"
current="$ytdir/current.lst"
viewed="$ytdir/viewed.lst"
@metalx1000
metalx1000 / .muttrc
Created January 10, 2018 19:42
Mutt link view for email mbox mailbox
#for muttrc file
#custom script for link viewing
#ctrl-w
macro index,pager \cw "|maillinks<enter>"
@metalx1000
metalx1000 / ytsubs.sh
Last active January 9, 2018 20:53
YouTube Subscription Viewer for your Shell
#!/bin/bash
#created by Kris Occhipinti https://filmsbykris.com
#Copyright Jan 9th 2018
#License GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt
sublist="$HOME/.ytsublist"
ua="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) G ecko/20100101 Firefox/21.0"
ytu="https://www.youtube.com/user/"
ytc="https://www.youtube.com/channel/"
@metalx1000
metalx1000 / .conkyrc
Last active December 31, 2017 02:19
Conky config 2017
# Conky settings
background no
update_interval 1
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
@metalx1000
metalx1000 / init
Last active March 19, 2023 02:41
fluxbox config
! If you're looking for settings to configure, they won't be saved here until
! you change something in the fluxbox configuration menu.
session.menuFile: ~/.fluxbox/menu
session.keyFile: ~/.fluxbox/keys
session.styleFile: /usr/share/fluxbox/styles//Squared_for_Debian
session.configVersion: 13
session.screen0.defaultDeco: NONE
session.screen0.toolbar.widthPercent: 100
session.screen0.toolbar.maxOver: true
@metalx1000
metalx1000 / popCheck.sh
Created August 16, 2015 21:33
BASH check POP3 mail with telnet
#!/bin/bash
fetch(){
sleep 1
echo "USER user@website"
sleep 1
echo "PASS mypassword"
sleep 1
echo "LIST"
@metalx1000
metalx1000 / webCMD.ps1
Created August 16, 2015 21:32
This creates a web server that runs given commands with Powershell
<#
This creates a web server on port 800 that runs given commands
It servers up output from this script.
example: http://localhost:8000/?cmd=dir c:\
#>
$url = 'http://localhost:8000/'
$listener = New-Object System.Net.HttpListener
$listener.Prefixes.Add($url)
@metalx1000
metalx1000 / theta360.py
Last active August 29, 2015 14:27 — forked from tako2/theta360.py
Controlls RICOH THETA 360 (Python).
#!/usr/bin/env python
# coding: UTF-8
import socket
import struct
DEBUG = True
DEBUG2 = False
PTP_OC_GetDeviceInfo = 0x1001