Skip to content

Instantly share code, notes, and snippets.

View hroland's full-sized avatar

roland hroland

View GitHub Profile
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) {