Skip to content

Instantly share code, notes, and snippets.

View YourFriendCaspian's full-sized avatar
🙃
I'm sure I'll be slow to respond so don't be mad.

yourfriendcaspian YourFriendCaspian

🙃
I'm sure I'll be slow to respond so don't be mad.
View GitHub Profile

This document is still a scratch

Python Deployment

Setup A Workplace

You’ll want a directory to do this in so that you don’t screw up your machine.

@YourFriendCaspian
YourFriendCaspian / watchRobot.cron.php
Created July 28, 2016 12:45 — forked from eyecatchup/watchRobot.cron.php
Mr. Robot Season 2 easter egg website email alert cronjob
<?php
ini_set('max_execution_time', 300);
/**
* Mr. Robot Season 2 easter egg website email alert cronjob
* (Note: requires your PHP to be able to send emails (of course)!)
*
* 1. Download this script. Browser download: https://gist.github.com/eyecatchup/f5f5929f57b22fc1b37ef516d675ac92/download/
* Or, for the console users:
* # wget --no-check-certificate https://gist.github.com/eyecatchup/f5f5929f57b22fc1b37ef516d675ac92/raw/watchRobot.cron.php
*
@YourFriendCaspian
YourFriendCaspian / mr.robot_season-2_easter-egg-sites.md
Created July 28, 2016 12:53 — forked from eyecatchup/mr.robot_season-2_easter-egg-sites.md
A collection of "Mr. Robot" Season 2 Easter Egg Sites. #mrrobot #hackingrobot #robotegg
@YourFriendCaspian
YourFriendCaspian / log.md
Created October 25, 2016 01:30 — forked from m-jowett/log.md
Setup LibreOffice Online (Log/Guide) [WIP]

Setup LibreOffice Online (Log/Guide) [WIP]

About

This guide/log is based off my experience attempting to build and install LibreOffice Online and it's dependencies on my system.

The end goal is to get LibreOffice Online integrated with Karoshi Server.

LibreOffice Online is still in development (17/06/16).

@YourFriendCaspian
YourFriendCaspian / Extract Linux
Created December 10, 2016 06:37 — forked from koenhendriks/Extract Linux
Extract Function Linux Bash
# Extract archives - use: extract <file>
# Based on http://dotfiles.org/~pseup/.bashrc
function extract() {
if [ -f "$1" ] ; then
local filename=$(basename "$1")
local foldername="${filename%%.*}"
local fullpath=`perl -e 'use Cwd "abs_path";print abs_path(shift)' "$1"`
local didfolderexist=false
if [ -d "$foldername" ]; then
didfolderexist=true
@YourFriendCaspian
YourFriendCaspian / gitrob_install.txt
Last active August 2, 2024 03:56 — forked from jmi4/gist:243a31799befcf36a547
Install Gitrob on Kali
##Installation of gitrob a tool used to crawl a github org for sensitive info
## I have done this on kali linux
$ git clone https://github.com/michenriksen/gitrob
$ cd gitrob
$ apt-get update
$ apt-get install ruby-bcrypt ruby2.1-dev postgresql-server-dev-9.1 -y
@YourFriendCaspian
YourFriendCaspian / kali2.0_sources.txt
Last active August 29, 2017 04:48
Kali 2.0 sources.list
##For Kali 2.0
deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
## Debian - stable
@YourFriendCaspian
YourFriendCaspian / rotate-screen.sh
Created February 5, 2017 10:12 — forked from rubo77/rotate-screen.sh
This script rotates the screen and touchscreen input, disables or enbles the touchpad, and dis- or enables the virtual keyboard on a Lenovo Yoga 13 or Yoga 2 Pro (source: http://askubuntu.com/q/405628/34298)
#!/bin/bash
# This script rotates the screen and touchscreen input 90 degrees each time it is called,
# also disables the touchpad, and enables the virtual keyboard accordingly
# by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766
#### configuration
# find your Touchscreen and Touchpad device with `xinput`
TouchscreenDevice='ELAN Touchscreen'
TouchpadDevice='SynPS/2 Synaptics TouchPad'
@YourFriendCaspian
YourFriendCaspian / lmde_lvm_luks-install.txt
Last active March 20, 2017 16:50 — forked from seanorama/notes-lmde-with-lvm-on-luks.txt
Install LMDE (Linux Mint Debian Edition) with LVM on LUKS (encryption) & hibernation support
# Title: Install LMDE (Linux Mint Debian Edition) 17 with LVM on LUKS (encryption) & hibernation support
#
# Description: These are very rough notes for installing LMDE with
# encryption via LVM on top of LUKS.
# - This includes SWAP being within LUKS
# - Includes fixing hibernation (which will also apply to Debian Jessie or greater)
########
# 1. Boot from LMDE DVD/USB/...
#!/bin/sh
# http://d.hatena.ne.jp/jeneshicc/20110215/1297778049
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.tar.xz) tar xvJf $1 ;;
*.bz2) bunzip2 $1 ;;