Skip to content

Instantly share code, notes, and snippets.

@vi
vi / vethify.c
Created October 19, 2013 15:58
Copy packets between two network network interfaces (for workarounds)
/* vethify - multiplex packets between two ethernet interfaces
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
@pascalpoitras
pascalpoitras / config.md
Last active June 6, 2024 13:09
My WeeChat configuration

WeeChat Screenshot

Mouse


enable


@nerdfiles
nerdfiles / .newsbeuter_urls
Last active January 3, 2016 13:28
.newsbeuter/urls
https://news.ycombinator.com/rss
http://www.w3.org/blog/news/feed
http://www.scottaaronson.com/blog/?feed=rss2
http://timelessrepo.com/changelog.xml
http://www.righto.com/feeds/posts/default?alt=rss
https://www.exratione.com/atom.xml
http://rss.badassjs.com/
http://perfectionkills.com/feed.xml
http://feeds.feedburner.com/FlippinAwesome
@bhcopeland
bhcopeland / nvidia_zabbix_template.conf
Last active October 27, 2017 15:32
nvidia-smi, temperature, fan speed and memory details. Zabbix UserParameter and Template
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2014-07-13T23:42:46Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
@mapledyne
mapledyne / bandwidth.rb
Created September 3, 2015 15:41
Cisco ASA Bandwidth usage widget for dashing.io
require 'rubygems'
require 'snmp'
# Populate the graph with some random points
@inbound_points = []
@outbound_points = []
@inbound_long = []
@outbound_long = []
@noromanba
noromanba / twitch-irc-with-weechat.mkd
Last active January 24, 2024 01:17
How to join Twitch IRC w/ WeeChat
@Changaco
Changaco / btrfs-undelete
Last active April 22, 2024 20:06
btrfs-undelete
#!/bin/bash
# btrfs-undelete
# Copyright (C) 2013 Jörg Walter <info@syntax-k.de>
# This program is free software; you can redistribute it and/or modify it under
# the term of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or any later version.
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2
echo
@alirobe
alirobe / reclaimWindows10.ps1
Last active June 7, 2024 16:24
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###
anonymous
anonymous / IRC client in pure bash 4
Created March 28, 2016 16:57
IRC client written in pure bash using only bash builtin commands and no other binaries.
#!/bin/bash
#no PATH, no way to accidently run any programs
PATH=''
#useful variables
term_height=0
term_width=0
term_scroll_height=0
status_line_row=0
@justbuchanan
justbuchanan / readme.md
Last active March 1, 2021 17:21
Show icons for open programs in i3's status bar. See a demo here: http://gfycat.com/AfraidAmusingCoyote