Skip to content

Instantly share code, notes, and snippets.

View FollowMeDown's full-sized avatar
🎯
Focusing

Deface FollowMeDown

🎯
Focusing
View GitHub Profile
@FollowMeDown
FollowMeDown / debian-source-pkg-build.txt
Last active April 4, 2024 22:30
How to create debian package from source
In any GNU/Linux distribution, which have a package manager on board, is recommended to install software by using "packages".
Building from source
Step 1. GPG key
The first thing you need is generate a gpg key.
Package will be signed by this key.
Run this commands in your terminal:
@FollowMeDown
FollowMeDown / vmm_howto.md
Created December 23, 2017 20:26 — forked from tvlooy/vmm_howto.md
OpenBSD VMM howto

OpenBSD VMM howto

Setup

/etc/rc.conf.local

apmd_flags="-A"
dhcpd_flags=vether0
vmd_flags=
ntpd_flags="-s"
@FollowMeDown
FollowMeDown / capture_image.py
Created June 5, 2018 12:57 — forked from sharana04/capture_image.py
python script to automatically capture images from front and back camera.
import uiautomator,os,sys,datetime,time
from uiautomator import Device
print 'Getting Device Info'
os.system('adb devices > deviceinfo')
devinf = open('deviceinfo','rb')
devlines = devinf.readlines()
devinf.close()
for i in range(len(devlines)):
if 'device' not in devlines[i]:continue
@FollowMeDown
FollowMeDown / gist:b48b60cdfe078cae9a8f6d589ca795b2
Created July 3, 2018 14:59 — forked from jorritfolmer/gist:e4bfb69b6d609542730b
.spec file to build Russell Stuart's pam-python on RHEL

pam_python.so on RHEL systems

pam_python.so is not readily available on RHEL systems. Here's how to create an RPM from Russell's tar.gz:

  1. download pam-python.1.0.4.tar.gz to ~/rpmbuild/SOURCES
  2. copy/paste pam-python.spec from below in ~/rpmbuild/SPECS/
  3. copy/paste pam-python-1.0.4-fix-compile-rhel.patch from below in ~/rpmbuild/SOURCES
  4. rpmbuild -bb ~/rpmbuild/SPECS/pam-python.spec

pam-python.spec

@FollowMeDown
FollowMeDown / debian-jessie-kubernetes-1.3-manual-install-guide.md
Created July 12, 2018 14:57 — forked from apokalyptik/debian-jessie-kubernetes-1.3-manual-install-guide.md
Set up Kubernetes on 3 Debian Jessie virtual machines -- No magic

The Goal

Set up Kubernetes on 3 Debian Jessie virtual machines: One master. Two nodes. Additionally do this without any "magic" so that what is required to be running to make everything work is plain and obvious.

We will be using flannel for the inter-machine networking layer. Mainly because it is useful and it seems to be pretty popular.

The Setup

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@FollowMeDown
FollowMeDown / KLR.DMe_Recipe.txt
Created December 1, 2019 21:06 — forked from SadProcessor/KLR.DMe_Recipe.txt
Kali L33tR4t - SadProcessor's HomeGrown Kali ISO Recipe >> DeadMouse Edition (i3wm)
#########################################################################
# $$\ $DEAD$\ $MOUSE\ $$\ EDITION\ $$\ V2\ $$\ #
# $$ | $$ ___$$\ $$ ___$$\ $$ | $$ __$$\ $$ | $$ | $$ | #
# $$ | \_/ $$ |\_/ $$ |$$$$$$\ $$ | $$ |$$ | $$ |$$$$$$\ #
# $$ | $$$$$ / $$$$$ / \_$$ _| $$$$$$$ |$$$$$$$$ |\_$$ _| #
# $$ | \___$$\ \___$$\ $$ | $$ __$$< \_____$$ | $$ | #
# $$ | $$\ $$ |$$\ $$ | $$ |$$\ $$ | $$ | $$ | $$ |$$\ #
# $L33tR4t\\$Kali$ |\$Linux | \$$$$ |$$ | $$ | $$ | \$ISO | #
# \________|\______/ \______/ \____/ \__| \__| \__| \____/ #
#########################################################################
@FollowMeDown
FollowMeDown / irc.md
Created December 4, 2019 12:05 — forked from xero/irc.md
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
    • Leaves the specified channel.
@FollowMeDown
FollowMeDown / create-iso.sh
Created December 7, 2019 14:10 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
@FollowMeDown
FollowMeDown / l2tp_ipsec_setup_arch_linux_raspberry_pi.sh
Created December 14, 2019 01:38 — forked from Tantas/l2tp_ipsec_setup_arch_linux_raspberry_pi.sh
Guide to install L2TP-IPSEC VPN Server on a Raspberry Pi with ArchLinux
#!/bin/bash
# Guide to install L2TP-IPSEC VPN Server on a Raspberry Pi with ArchLinux
# Used parts of several instructions,
# http://nls.io/setup-an-ipsec-l2tp-vpn-with-text-or-ldap-auth-on-arch-linux/
# https://smileykeith.com/2014/01/27/ipsec-l2tp-vpn-on-a-raspberry-pi-running-arch-linux/
# http://linux.tips/tutorials/how-to-setup-l2tp-vpn-server-on-raspberry-pi
# Tested and works with OSX and iOS 7.1 supplied vpn client