Skip to content

Instantly share code, notes, and snippets.

View spacemud's full-sized avatar
👨‍⚕️

spacemud

👨‍⚕️
View GitHub Profile
@frimik
frimik / post-receive.irc
Created February 13, 2012 23:13
git post-receive IRC notification
#!/bin/bash
#
# IRC notification post-receive hook.
# Based on https://wiki.icinga.org/display/community/GIT+Commit+Bot
#
# Author: Mikael Fridh <frimik@gmail.com>
#
# This script pulls out the commit information and sends it to
# the Notify plugin in supybot via localhost 5050.
#
@fideloper
fideloper / usevm.md
Created June 6, 2012 02:24
You should develop in a Virtual Machine

#You should do all your LAMP development in a Virtual Machine

##Here's Why:

Many of us develop on Macintoshes. There are many reasons for this, but one of them is that it's based on a Unix platform of some sort. This allows us to run common server software such as Apache, Ruby, Python and Nodejs on our Macs.

Our computers become powerful develoment machines similar to the servers our apps will eventually live on.

Sometime we start our computer only to find Apache won't start, or MySQL can't create a PID file, or we've updated to Mountain Lion and Apache needs to be reconfigured. Death!

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 20, 2024 15:48
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@zenorocha
zenorocha / .hyper.js
Last active November 12, 2023 15:13 — forked from millermedeiros/osx_setup.md
Setup macOS Sierra (10.12)
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks
@nukeador
nukeador / DNS tunneling with iodine.md
Last active July 10, 2024 15:10
How to install and use iodine for DNS tunneling.

This guide provides detailed steps for setting up DNS records, configuring a DNS tunneling server and client, and setting up a browser for secure proxy connections.

Why iodine?

  • Bypassing Network Restrictions: iodine excels in environments with strict network restrictions. It utilizes DNS queries, which are typically allowed through firewalls, to tunnel data where traditional methods like VPNs might be blocked.
  • Efficient for Limited Bandwidth: Ideal for situations with bandwidth limitations, iodine requires less bandwidth compared to standard VPNs, making it a practical choice for networks with restricted data flow.
  • Customizability and Open Source: As an open-source tool, iodine offers extensive customization options. Users with specific technical needs or those interested in a hands-on approach to network tunneling can tailor iodine to their requirements.

Prerequisites

/*==============================================================================
Infinite Ammo
Dependencies:
tickcountfix: https://github.com/Southclaw/ScavengeSurvive/blob/master/gamemodes/SS/utils/tickcountfix.pwn
AdvancedWeaponData: https://github.com/Southclaw/AdvancedWeaponData
==============================================================================*/
@red-noise
red-noise / Spotify script for conky
Last active April 29, 2021 04:51
Spotify script for Conky
#This is ho you should edit your conkyrc file in order to get the spotify player.
####################
# - MEDIA PLAYER - #
####################
${if_running spotify}${voffset -2}${font Liberation Sans:style=Bold:size=8}
${voffset -10}${goto 73}Title:
${goto 73}${color2}${exec ~/.conkycolors/spotify/spotify_info_title}${color}
${goto 73}Artist:
@olasd
olasd / stream_to_youtube.sh
Created March 28, 2014 19:58
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube
@Southclaws
Southclaws / gist:10186150
Created April 8, 2014 20:26
Infinite ammo / No-reload cheat detection
#define FILTERSCRIPT
#include <a_samp>
#include <ZCMD>
static
WeaponMagSizes[17] =
{
// Pistols
@Southclaws
Southclaws / gist:10186202
Created April 8, 2014 20:27
Increased fire rate cheat detection
#define FILTERSCRIPT
#include <a_samp>
#include <ZCMD>
static
WeaponShotIntervals[17] =
{
// Pistols