Skip to content

Instantly share code, notes, and snippets.

View pietrushnic's full-sized avatar

Piotr Król pietrushnic

View GitHub Profile
@ziogaschr
ziogaschr / debian-wvdial-ppp0-interface-autossh.markdown
Last active July 31, 2023 13:50
Reverse proxy over 3G modem (draft)

Reverse proxy over 3G modem (draft)

We will explain how to configure a cubieboard running debian as a reverese proxy. The modules that will be used are wvdial and autossh

Credits goes to:

1. http://blog.rootshell.be/2015/02/19/my-little-pwnie-box/
2. https://wiki.archlinux.org/index.php/3G_and_GPRS_modems_with_pppd
@dariuskl
dariuskl / cc3200_linux.md
Last active June 23, 2017 18:27
A document on how to set up a development tool-chain for the CC3200 under Linux.

CC3200 Development under Linux

This document contains a HOWTO on developing applications for the TI CC3200 Launchpad under Linux. It is a work-in-progress, but all information contained should work and has been tested on my Arch Linux system. If you feel that something is missing, can be improved or is wrong, please let me know.

Setup

@noqqe
noqqe / mutt2task.py
Last active December 23, 2015 01:48
I was running into some encoding errors with internationalized mailheaders in the traditional mutt2task. So this is a improved, more reliable, charset- and limiter-save version of mutt2task from http://www.nixternal.com/mark-e-mails-in-mutt-as-tasks-in-taskwarrior/ written in Python.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
## About
# Add the subject of a mail as task to taskwarrior
#
## Usage
# add this to your .muttrc:
# macro index,pager t "<pipe-message>~/path/to/mutt2task.py<enter>"
@bradland
bradland / ssh-known-hosts-mgmt.sh
Last active April 4, 2023 21:21
SSH known_hosts tools
# This is a short collection of tools that are useful for managing your
# known_hosts file. In this case, I'm using the '-f' flag to specify the
# global known_hosts file because I'll be adding many deploy users on this
# system. Simply omit the -f flag to operate on ~/.ssh/known_hosts
# Add entry for host
ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts
# Scan known hosts
ssh-keygen -f /etc/ssh/ssh_known_hosts -F github.com