This file contains hidden or 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 | |
dvb_stop() { | |
echo -n "Stop DVB Subsystem" | |
/usr/bin/docker stop Tvheadend-Stable | |
/sbin/modprobe -r ddbridge cxd2099 | |
} | |
dvb_start() { | |
echo -n "Start DVB Subsystem" |
This file contains hidden or 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
veto files = /._*/.DS_Store/.AppleDouble/.Trashes/.TemporaryItems/.Spotlight-V100/ | |
delete veto files = yes |
This file contains hidden or 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
console init done | |
U-Boot 2012.10 (Feb 24 2016 - 22:33:54) for GK7102 rb sc1045 v2.00 (GOKE) | |
HAL: 20151223 | |
DRAM: 64 MiB | |
Flash: 16 MiB | |
16 MiB | |
NAND: SPINAND MID = 0xff, DID = 0xffff, Data = 0x1ffffff !spinand_board_init[1581]: No support this SPI nand! |
This file contains hidden or 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
root@kali:~# ifconfig eth0 up | |
root@kali:~# ifconfig eth0 10.0.0.1/24 | |
root@kali:~# iptables -t nat -F | |
root@kali:~# iptables -F | |
root@kali:~# iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE | |
root@kali:~# iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT | |
root@kali:~# echo '1' > /proc/sys/net/ipv4/ip_forward |
This file contains hidden or 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
log-facility=/var/log/dnsmasq.log | |
interface=eth0 | |
dhcp-range=10.0.0.10,10.0.0.250,12h | |
dhcp-option=3,10.0.0.1 | |
dhcp-option=6,10.0.0.1 |
This file contains hidden or 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
#include "FastLED.h" | |
#define ANALOG_MODE_AVERAGE 0 | |
#define ANALOG_MODE_LAST_LED 1 | |
/************************************** | |
S E T U P | |
set following values to your needs | |
**************************************/ |
This file contains hidden or 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 | |
#title: c6off+c7on.sh | |
#description: Disables all C6 and enables all C7 core states for Baytrail CPUs | |
#author: Wolfgang Reimer <linuxball (at) gmail.com> | |
#date: 2016014 | |
#version: 1.0 | |
#usage: sudo <path>/c6off+c7on.sh | |
#notes: Intended as test script to verify whether erratum VLP52 (see | |
# [1]) is the root cause for kernel bug 109051 (see [2]). In order |
This file contains hidden or 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
[Unit] | |
Description=ttrss_backend | |
After=network.target mysql.service | |
[Service] | |
User=www-data | |
ExecStart=/usr/bin/php7.2 /var/www/ttrss/update_daemon2.php | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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
server { | |
listen 80; | |
listen [::]:80; | |
server_name reader.example.xyz; | |
return 301 https://$server_name$request_uri; | |
} | |
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; |
This file contains hidden or 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 | |
ipv6="$2" | |
start() { | |
echo -n "Starting Tunnels: " | |
echo "$ipv6" | awk '{print "/usr/bin/6tunnel 8080 "$1" 8080"}' | /bin/sh | |
echo "$ipv6" | awk '{print "/usr/bin/6tunnel 21 "$1" 21"}' | /bin/sh | |
echo "$ipv6" | awk '{print "/usr/bin/6tunnel 443 "$1" 443"}' | /bin/sh | |
return |
NewerOlder