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
| // Extra JQuery Extensions and Widgets | |
| (function($) { | |
| $.widget("ui.combobox", { | |
| _create: function() { | |
| var self = this; | |
| this.select = this.element.hide(); | |
| var select = this.select; | |
| var id = select.attr('id'); | |
| var initial = $(select).find(":selected").text(); | |
| if (!initial){ |
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
| // AudioEndTester.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| #include "AudioEndPointLibrary.h" | |
| #include <iostream> | |
| #include <string> | |
| void do_work(AudioEndPoint::AudioDeviceList playbackDevices, AudioEndPoint::AudioDeviceList recordingDevices) | |
| { |
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
| [Code] | |
| function IsX64: boolean; | |
| begin | |
| Result := Is64BitInstallMode and (ProcessorArchitecture = paX64); | |
| end; | |
| procedure Explode(var Dest: TArrayOfString; Text: String; Separator: String); | |
| var | |
| i, p: Integer; | |
| begin |
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
| map $http_referer $bad_referer { | |
| hostnames; | |
| default 0; | |
| # Put regexes for undesired referers here | |
| "~social-buttons.com" 1; | |
| "~semalt.com" 1; | |
| "~kambasoft.com" 1; | |
| "~savetubevideo.com" 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
| #! /bin/bash | |
| basedir="$(dirname "$0")" | |
| . $basedir/version.sh | |
| if [ "$version" != "" ]; then | |
| git tag -a "v$version" -m "`git log -1 --format=%s`" | |
| echo "Created a new tag, v$version" | |
| fi |
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
| diff -ruN transmission-2.84+/libtransmission/platform.c transmission-2.84-patched/libtransmission/platform.c | |
| --- transmission-2.84+/libtransmission/platform.c 2015-07-30 09:56:15.405162700 +0300 | |
| +++ transmission-2.84-patched/libtransmission/platform.c 2015-07-31 12:48:59.336636000 +0300 | |
| @@ -418,6 +418,29 @@ | |
| return user_dir; | |
| } | |
| +const struct tr_variant* | |
| +tr_getDefaultDownloadGroups (void) | |
| +{ |
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
| ;----------------------------------------------------------------------------------------------- | |
| ; Use MD5 plugin to generate MD5 Hash and compare them instead of timestamp. | |
| ; Rename DATE -> HASH | |
| ; 2015 Antoine Aflalo aka Belphemur ([email protected]) | |
| ;----------------------------------------------------------------------------------------------- | |
| ; Generate list of files and directories for uninstaller with command line support (/? for help) | |
| ; 2006 Shengalts Aleksander aka Instructor ([email protected]) | |
| ;----------------------------------------------------------------------------------------------- | |
| ; - added file filter as command option | |
| ; 2005 Patrick Graf ([email protected]) |
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
| # Fail2Ban configuration file | |
| # | |
| # Author: Cyril Jaquier | |
| # Modified: Yaroslav O. Halchenko <[email protected]> | |
| # made active on all ports from original iptables.conf | |
| # Modified: Antoine Aflalo <[email protected]> | |
| # Used the iptables-allports.conf as base for TARPIT. | |
| # | |
| # |
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 | |
| # Define physical ethernet interface to be bridged | |
| # with TAP interface(s) above. | |
| eth="eth0" | |
| eth_ip="192.168.42.2" | |
| eth_netmask="255.255.255.0" | |
| eth_broadcast="192.168.42.255" | |
| eth_gateway="192.168.42.1" | |
| eth_mac="XX:XX:XX:XX:XX:XX" |
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
| upstream transmission { | |
| server 127.0.0.1:9091; #Transmission | |
| } | |
| server { | |
| listen 443 ssl http2; | |
| server_name example.com; | |
| auth_basic "Server Restricted"; | |
| auth_basic_user_file /var/www/myWebSite/web/.htpasswd; | |
| # Path to the root of your installation |