Skip to content

Instantly share code, notes, and snippets.

Jeroen Jeroen52

Block or report user

Report or block Jeroen52

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Apache MIME for httpd.conf or .htaccess
# Set encoding for file extensions
<IfModule mod_mime.c>
# Plain text files
AddType text/plain .txt .text .def .list .log .in
# Source files
AddType text/x-asm .s .asm
AddType text/x-c .c .cc .cxx .cpp .h .hh .dic
AddType text/x-fortran .f .for .f77 .f90
AddType text/x-pascal .p .pas
AddType text/x-java-source .java
@Jeroen52
Jeroen52 / rootcerts.crt
Created Jul 18, 2017
The ca certs of my Nextcloud installation is borked somewhere. See https://github.com/nextcloud/server/issues/5768#issuecomment-316151054
View rootcerts.crt
##
## Bundle of CA Root Certificates
##
## Certificate data from Mozilla as of: Wed Sep 7 08:44:30 2016
##
## This is a bundle of X.509 certificates of public Certificate Authorities
## (CA). These were automatically extracted from Mozilla's root certificates
## file (certdata.txt). This file can be found in the mozilla source tree:
## http://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt
##
@Jeroen52
Jeroen52 / clear.py
Created Feb 26, 2017
Clear the console.
View clear.py
def clear(i = 64):
if(i <= 1):
print "\n";
if(i > 9999):
i = 9999;
for x in range(1, i):
print "\n";
@Jeroen52
Jeroen52 / smallcapstostring.py
Created Feb 25, 2017
Returns input as smallcaps.
View smallcapstostring.py
def smallCapsToString(s):
s = s.replace("a","")
s = s.replace("A","")
s = s.replace("b","ʙ")
s = s.replace("B","ʙ")
s = s.replace("c","")
s = s.replace("C","")
s = s.replace("d","")
s = s.replace("D","")
s = s.replace("e","")
@Jeroen52
Jeroen52 / smallcaps.py
Last active Feb 25, 2017
Prints the input with smallcaps.
View smallcaps.py
def smallCaps(s):
s = s.replace("a","")
s = s.replace("A","")
s = s.replace("b","ʙ")
s = s.replace("B","ʙ")
s = s.replace("c","")
s = s.replace("C","")
s = s.replace("d","")
s = s.replace("D","")
s = s.replace("e","")
@Jeroen52
Jeroen52 / kodi.sh
Last active Jul 1, 2016 — forked from aperezm-vlex/kodi.sh
Raspbian: Avoid black screen on kodi exit
View kodi.sh
#!/bin/bash
LOG_FILE=$HOME/.kodi/temp/kodi.log
rm $LOG_FILE 2> /dev/null
/usr/lib/kodi/kodi.bin --standalone &
while [[ ! -f $LOG_FILE ]] ; do
sleep 1s
@Jeroen52
Jeroen52 / PAWN.xml
Last active Apr 23, 2016
[SAMP] Notepad++ XML files for PAWN
View PAWN.xml
<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
<AutoComplete language="PAWN">
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
<KeyWord name="#assert" />
<KeyWord name="#define" />
<KeyWord name="#else" />
<KeyWord name="#elseif" />
<KeyWord name="#emit" />
@Jeroen52
Jeroen52 / SFCRRPGdudb.inc
Last active Mar 17, 2016
dudb for SFCRRPG
View SFCRRPGdudb.inc
/*
* DUDB 2.2
* (c) Copyright 2006 by DracoBlue
*
* @version : 2.2
* @author : DracoBlue (http://dracoblue.net)
* @date : 8th May 2006
* @update : 15nd Feb 2007
* @require : DUtils 1.6
* @require : DINI 1.4
You can’t perform that action at this time.