Skip to content

Instantly share code, notes, and snippets.

View muddydev's full-sized avatar

muddydev muddydev

View GitHub Profile
@muddydev
muddydev / .bashrc
Last active August 14, 2020 12:51 — forked from rickdaalhuizen90/.bashrc
Parrot Os bash theme for ubuntu
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
#HISTCONTROL=ignoredups:ignorespace
@muddydev
muddydev / tinysyslog.py
Last active December 2, 2019 14:58 — forked from marcelom/pysyslog.py
Tiny Python Syslog Server
#!/usr/bin/env python
## Tiny Syslog Server in Python.
##
## This is a tiny syslog server that is able to receive UDP based syslog
## entries on a specified port and save them to a file.
## That's it... it does nothing else...
## There are a few configuration parameters.
LOG_FILE = 'tinysyslog.log'
@muddydev
muddydev / install-wp.sh
Created June 29, 2019 16:13 — forked from kevindees/install-wp.sh
Install WordPress, vhost and DB on a Ubuntu bash script
#!/bin/bash
#
# Install WordPress on a Ubuntu 13+ VPS
#
# run as root
if [[ $UID != 0 ]]; then
echo "Please run this script with sudo:"
echo "sudo $0 $*"
exit 1