Skip to content

Instantly share code, notes, and snippets.

View parthibx24's full-sized avatar
🧷
busy procrastinating

Inxpired parthibx24

🧷
busy procrastinating
View GitHub Profile
@threedaymonk
threedaymonk / setup.md
Created June 11, 2011 22:32
IPv6 on home network behind NAT

Gateway machine

Topology

      - _                        NAT         Home network
         )           IPv4         |
        )<----> ISP <----> Router-|       

Public ) |

@zziuni
zziuni / stuns
Created September 18, 2012 08:05
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@Liryna
Liryna / ARMDebianUbuntu.md
Last active March 18, 2026 18:48
Emulating ARM on Debian/Ubuntu

You might want to read this to get an introduction to armel vs armhf.

If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.

Running ARM programs under linux (without starting QEMU VM!)

First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static so that you can run ARM executables directly on linux

@grandstaish
grandstaish / CustomViewsLayoutInflaterFactory.java
Last active September 13, 2022 05:53
LayoutInflaterFactory examples
package nz.bradcampbell.app.presentation;
import android.content.Context;
import android.support.v4.view.LayoutInflaterFactory;
import android.util.AttributeSet;
import android.view.View;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
@tkiapril
tkiapril / gist:f9718e11ccc172b38c77
Last active February 10, 2025 04:00
How to install Arch Linux ARM quick - in a tkistic style

How to install Arch Linux ARM quick on Odroid XU3-Lite with an external HDD - in a tkistic style

This article derives from this article - where typical x86-64 Arch Linux Installation is described. The procedure is a bit simillar, a bit different - if the original article is revised, the changes may also be applied to this article.

This guide is based on Arch Linux ARM on Odroid XU3-Lite board: I cannot

@suntong
suntong / go_io-read_packages.md
Last active July 20, 2022 09:32
[go-nuts] Differences between os, io, ioutils, bufio, bytes (with Buffer type) packages for file reading

http://grokbase.com/t/gg/golang-nuts/142spmv4fe/go-nuts-differences-between-os-io-ioutils-bufio-bytes-with-buffer-type-packages-for-file-reading

I'm quite confused as there seems to be multiple redundant ways to solve my problem (read a file, parse the content, serve it via http). Most people on stackoverflow would use bufio, but I just can't get the differences between this package and the Buffer type of bytes and just reading a file with the os methods. Also I don't know when and why I should choose those ways to do it, when I have the simple, but non-versatile, ioutils.ReadFile.

@plugnburn
plugnburn / README.md
Last active May 8, 2026 15:47
NokiaTool - simple interface Bash script for MediaTek-based Nokia simple phones

NokiaTool: control MediaTek-based Nokia phones from your PC

Overview

NokiaTool is a simple Bash script (nokiatool.sh) that allows you to use an undocumented serial connection in USB-enabled MediaTek-based Nokia feature phones manufactured by Microsoft (even the most basic ones, like the new 105) in order to control them from your PC.

This project is an ongoing work and uses only some bits and pieces of information about the phone internals available to the public, so under any circumstances don't consider it stable or a replacement for official tools if any are present.

@mondain
mondain / public-stun-list.txt
Last active May 7, 2026 14:12
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#define X_FIELDS \
X(char *, field1) \
X(char *, field2) \
X(char *, field3) \
X(char *, field4) \
@msfjarvis
msfjarvis / sepolicy.md
Last active November 27, 2025 00:11
How to write sepolicy to fix a denial