Skip to content

Instantly share code, notes, and snippets.

View hroland's full-sized avatar

roland hroland

View GitHub Profile
// ==UserScript==
// @name Twitch Sidebar Thumbnail Preview
// @name:de Twitch Seitenleiste Vorschaubild
// @version 1.0.2
// @description Hover over Channel in the Sidebar to see a Thumbnail Preview of the Stream on Twitch
// @description:de Bewege den Mauszeiger über einen Kanal in der Seitenleiste, um ein Vorschaubild des Streams zu sehen auf Twitch
// @icon https://static.twitchcdn.net/assets/favicon-32-e29e246c157142c94346.png
// @author TalkLounge (https://github.com/TalkLounge)
// @namespace https://github.com/TalkLounge/twitch-sidebar-preview
// @license MIT
iptables -F
iptables -X
# Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP
# Allow ALL incoming SSH
iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
#!/bin/sh
# block torrent traffic by iptable/firewall for VPN/Proxy server
# me@tartan.pro
# forked by roland
# Delete all existing rules
iptables -F
iptables -X
# Set default chain policies
{
"key": "cmd+r",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "r"
}
}
import { AppLoading } from 'expo';
import { Asset } from 'expo-asset';
import * as Font from 'expo-font';
import React, { useState } from 'react';
import { Platform, StatusBar, StyleSheet, View } from 'react-native';
import { Ionicons, Feather, MaterialCommunityIcons } from '@expo/vector-icons';
import AppNavigator from './navigation/AppNavigator';
export default function App(props) {