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
$(document).ready(function(undefined) { | |
function removeMovement(obj) { | |
$(obj).parent().remove(); | |
} | |
function addMovement(count) { | |
next = count+1; | |
html = '<div id="movement'+count+'">\ | |
<button type="button" onClick="removeMovement(this);">remove</button>\ | |
<select name="movement'+count+'">'; |
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
$(document).ready(function() { | |
var $fs = $('#ServerAdminAddForm fieldset.global'); | |
var slotController = { | |
slotCount: 0, | |
addSelector: function() { | |
var $template = '\ | |
<div class="input select">\ | |
<label for="ServerSlotCount">Number of Slot Types</label>\ | |
<select id="ServerSlotCount">\ |
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
<html> | |
<head> | |
<title>Testing Fucking Forms onSubmit</title> | |
<script src="http://code.jquery.com/jquery-1.6.1.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(undefined) { | |
$('#someForm').submit(function() { | |
var canSumbit = true; | |
$('input.tester').each(function() { | |
if($(this).val().length != 4) { |
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 | |
# Unflag OVH traffic | |
echo "Loading OVH IPs 0%..." | |
iptables -A OUTPUT -t mangle -p tcp -m iprange --dst-range 213.186.32.0-213.186.63.255 -j MARK --set-mark 0 | |
iptables -A OUTPUT -t mangle -p tcp -m iprange --dst-range 213.186.40.0-213.186.47.255 -j MARK --set-mark 0 | |
iptables -A OUTPUT -t mangle -p tcp -m iprange --dst-range 213.186.49.0-213.186.49.31 -j MARK --set-mark 0 | |
iptables -A OUTPUT -t mangle -p tcp -m iprange --dst-range 213.186.35.0-213.186.35.255 -j MARK --set-mark 0 | |
iptables -A OUTPUT -t mangle -p tcp -m iprange --dst-range 213.186.36.0-213.186.36.255 -j MARK --set-mark 0 | |
iptables -A OUTPUT -t mangle -p tcp -m iprange --dst-range 213.186.37.0-213.186.37.255 -j MARK --set-mark 0 |
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 | |
user=$(whoami) | |
touch /home/$user/deluge_log | |
ip=<your ip here> | |
port=<port here> | |
log_level=critical | |
#log_level=debug | |
killall deluged |
NewerOlder