This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
ob_start(); | |
echo "name;geo1;geo2;id;macs;legacy\n"; | |
$n=json_decode(file_get_contents("nodes.json")); | |
foreach($n->nodes as $o) if(!$o->flags->gateway){ | |
if(empty($o->name)) { | |
#var_dump($o); die; | |
$o->name=$o->id; | |
} | |
echo $o->name.";"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acpi-support | |
acpid | |
adduser | |
adium-theme-ubuntu | |
aircrack-ng | |
alacarte | |
alsa-base | |
alsa-utils | |
anacron | |
apache2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alfred.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {Cc,Ci,Cu} = require("chrome"); | |
var pref = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch); | |
pref.setIntPref("network.http.response.timeout", 3600*24); | |
/* This contentStyle hides an element with | |
* id="hidden_by_addon_response_timeout_24_hours" | |
* on all webpages, so you can notify the User if it is not installed */ | |
require('sdk/page-mod').PageMod({ | |
include: '*', | |
contentStyle: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Configure the following default variables according to your requirements | |
language="en-US" # e.g. "de" or "en-US" | |
if [ ! "$1" ]; then | |
# default if no argument is set: | |
version="95.0" # chose from http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/ | |
application="firefox" # "thunderbird" or "firefox" but file extension, archive extraction, and binary | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
able | |
about | |
above | |
abuse | |
accept | |
accident | |
ache | |
acid | |
across | |
act |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
function unhtmlentities($text_to_convert) { | |
return @html_entity_decode($text_to_convert, ENT_QUOTES, 'UTF-8'); | |
} | |
define("ae",unhtmlentities('ä')); | |
define("oe",unhtmlentities('ö')); | |
define("ue",unhtmlentities('ü')); | |
define("sz",unhtmlentities('ß')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script rotates the screen and touchscreen input, dis- or enbles the touchpad, and dis- or enables the virtual keyboard | |
if [ "$1" = "--help" ] ; then | |
echo 'Usage: rotate-yoga.sh [OPTION]' | |
echo | |
echo 'This script rotates the screen and touchscreen input to "inverted" or "normal"' | |
echo 'and dis- or enbles the touchpad, and dis- or enables the virtual keyboard' | |
echo | |
echo Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
# also disables the touchpad, and enables the virtual keyboard accordingly | |
# by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
#### configuration | |
# find your Touchscreen and Touchpad device with `xinput` | |
TouchscreenDevice='ELAN Touchscreen' | |
TouchpadDevice='SynPS/2 Synaptics TouchPad' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module Size Used by | |
hid_multitouch 17191 0 | |
hid_sensor_als 12955 0 | |
hid_sensor_magn_3d 13033 0 | |
uvcvideo 71309 0 | |
hid_sensor_accel_3d 13045 0 | |
hid_sensor_gyro_3d 13033 0 | |
videobuf2_vmalloc 13048 1 uvcvideo | |
hid_sensor_trigger 12820 4 hid_sensor_gyro_3d,hid_sensor_accel_3d,hid_sensor_als,hid_sensor_magn_3d | |
industrialio_triggered_buffer 12794 4 hid_sensor_gyro_3d,hid_sensor_accel_3d,hid_sensor_als,hid_sensor_magn_3d |