-
generic cipher suites to be used:
For Apache2.2: this enables FS on all clients
ALL:!COMPLEMENTOFDEFAULT:!EXPORT:!LOW:!MD5:!aNull:!eNull:!RC4:-3DES:+ECDHE:+RSA:!DHApache 2.4 with Current openssl:
SSLCipherSuite aRSA+CHACHA20:aRSA:!kPSK:!kRSAPSK:!SHA:!NULL:!CAMELLIA:+kECDH:+kEDH:+SHA384:+SHA256:!kRSA
EECDH+CHACHA20:EDH+CHACHA20:EECDH+AESGCM:EDH+AESGCM:EECDH+AES256
currents vc9-11 <=5.3 x86 only: http://windows.php.net/downloads/releases/
more x64 versions: https://www.apachelounge.com/viewtopic.php?t=5702 Mod_JK
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 | |
base="http://geolite.maxmind.com/download/geoip/database/" | |
files="GeoLiteCountry/GeoIP GeoIPv6 GeoLiteCity GeoLiteCityv6-beta/GeoLiteCityv6 asnum/GeoIPASNum asnum/GeoIPASNumv6" | |
ext="dat.gz" | |
output="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
#download | |
waitFor="" | |
for file in $files ; do | |
wget -q "$base$file.$ext" & |
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
SELECT Distinct a.configvalue, from_unixtime( b.configvalue ) FROM oc_preferences a | |
inner join oc_preferences b on b.userid=a.userid and b.configkey="lastLogin" | |
where a.configkey="email"; |
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
# define schema to be updated | |
SET @scheme2mod="SCHEMA_XYZ"; | |
# create queries to drop fulltext indexes, which InnoDB is no capable of | |
Select concat("Alter Table ",TABLE_SCHEMA,".",TABLE_NAME," DROP INDEX ",INDEX_NAME,";") as rmIdx | |
FROM INFORMATION_SCHEMA.STATISTICS | |
WHERE | |
TABLE_SCHEMA=@scheme2mod | |
and INDEX_TYPE="FULLTEXT" | |
GROUP BY rmIdx | |
LIMIT 0,10000; |
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/sh | |
######################################################################## | |
# lddcopy - A shell script to copy libraries for chrooted applications # | |
# Yu Yagi ([email protected]) # | |
######################################################################## | |
chroot= | |
opterr= | |
dryrun= | |
silent=false |
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
Imports System.Data.OleDb, Type = System.Data.OleDb.OleDbType | |
Public Class lazyDb | |
Implements IDisposable | |
Public Shared conCfg As String | |
Private db As OleDbConnection | |
Sub New() | |
db = New OleDbConnection(conCfg) | |
db.Open() |
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 | |
# | |
# smtp email address verification | |
# using dig and netcat | |
# | |
# authored by [email protected] | |
# | |
checkaddr=$1 |
I hereby claim:
- I am rjaeckel on github.
- I am jackkill (https://keybase.io/jackkill) on keybase.
- I have a public key ASAe83YCRv5YuNIqTMCQIgSHgNNNz3K_7jSv8YkIECGuoQo
To claim this, I am signing this object:
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
using System; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
using System.Text.Json; | |
using System.Text.Json.Nodes; | |
namespace ERA_Api { | |
public class Program { | |
public static void Main() { | |
try { |
OlderNewer