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 | |
service udev stop | |
service udev start | |
usb_modeswitch -v 12d1 -p 1446 -M 55534243000000000000000000000011060000000000000000000000000000 -m 0x01 |
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
var getSons = function(personnage) { | |
dbStatement = db._createStatement({ | |
"query" : "FOR p IN PATHS(gameOfThrone, parentOf, 'outbound') FILTER p.source._id == @id && LENGTH(p.edges) == 1 && p.destination.gender == 'm' RETURN p.destination" | |
}); | |
dbStatement.bind("id", personnage); | |
return dbStatement.execute(); | |
}; | |
var getDaughters = function(personnage) { | |
dbStatement = db._createStatement({ |
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 | |
iptables -t mangle -A POSTROUTING -p icmp -j MARK --set-mark 10 | |
iptables -t mangle -A POSTROUTING -p udp --dport 53 -j MARK --set-mark 20 | |
iptables -t mangle -A POSTROUTING -p udp --dport 123 -j MARK --set-mark 20 | |
iptables -t mangle -A POSTROUTING -p udp --dport 161:162 -j MARK --set-mark 20 | |
iptables -t mangle -A POSTROUTING -p tcp --dport 22 -j MARK --set-mark 30 | |
iptables -t mangle -A POSTROUTING -p tcp --dport 80 -j MARK --set-mark 40 | |
iptables -t mangle -A POSTROUTING -p tcp --dport 443 -j MARK --set-mark 40 |
NewerOlder