Skip to content

Instantly share code, notes, and snippets.

View arkadius's full-sized avatar

Arek Burdach arkadius

View GitHub Profile
<script type="text/javascript" src="file:///path/to/my/local/resource.js"></script>
sudo ln -s /path/to/my/local/ /var/www/contextPath
<script type="text/javascript" src="http://localhost/contextPath/resource.js"></script>
// ==UserScript==
// @name Dev_Mode
// @namespace http://ingensol.pl/
// @version 0.1
// @description enter something useful
// @match http://localhost:8080/*
// @copyright 2012+, ark_adius
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
opkg install mini-snmpd
snmpwalk -v 2c -c public 192.168.1.1 .iso
sudo ifconfig eth0 promisc
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
up ip link set $IFACE promisc on
Index: traffic.c
===================================================================
--- traffic.c (wersja 5644)
+++ traffic.c (kopia robocza)
@@ -131,7 +131,7 @@
void updateDeviceThpt(int deviceToUpdate, int quickUpdate) {
int i;
- time_t timeDiff, timeMinDiff, timeHourDiff=0, totalTime, when;
+ time_t timeDiff, timeMinDiff, time5MinDiff timeHourDiff=0, totalTime, when;
./journalioMigration oldLogsRoot newLogsRoot