I hereby claim:
- I am belphemur on github.
- I am balor (https://keybase.io/balor) on keybase.
- I have a public key ASAAofR_lNOYzKmOkgfa5ZtPCG-tLHrCUrvmTi4afHUVsQo
To claim this, I am signing this object:
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; |
[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 |
// 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) | |
{ |
// 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){ |
# | |
# Author: Antoine Aflalo | |
# Source: https://gist.github.com/Belphemur/986ced5abe0aea303707c6df62f2c9c4/ | |
# Referenced from: https://www.aaflalo.me/2017/03/fail2ban-and-cloudflare/ | |
# | |
# To get your Cloudflare API key: https://www.cloudflare.com/my-account | |
# | |
[Definition] |
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# Modified for Composer by Antoine Aflalo - www.aaflalo.me | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { |
<?php | |
function to18char(string $inputId) { | |
$suffix = ''; | |
for ($i = 0; $i < 3; $i++) { | |
$flags = 0; | |
for ($j = 0; $j < 5; $j++) { | |
$start = $i * 5 + $j; | |
$end = ($i * 5 + $j + 1) - $start; | |
$c = substr($inputId, $start, $end); | |
if (ctype_upper($c) && $c >= 'A' && $c <= 'Z') { |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
FILE=${1:-instances.yml} | |
DAYS=${2:-36500} | |
BITS=${3-4096} | |
ES_VERSION=5.6.4 | |
ES_DIR=/usr/share/elasticsearch/ | |
CA_CERT=$DIR/certificates/ca/ca.crt | |
CA_KEY=$DIR/certificates/ca/ca.key |
0x9ed660978abF96bB7b50DC2a618c7475fFb0f442 |