Skip to content

Instantly share code, notes, and snippets.

🕹
"working"

Andreas Schipplock schipplock

🕹
"working"
  • Germany
Block or report user

Report or block schipplock

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 gist:9b78e338530fc4cf11c39b23661fff67
<VirtualHost *:80>
ServerName ${vhost}
ServerAlias www.${vhost}
DocumentRoot /var/www/${vhost}/public/html
Redirect / https://${vhost}
</VirtualHost>
<VirtualHost *:443>
Header set Strict-Transport-Security "max-age=63072000; includeSubdomains;"
Header set Content-Security-Policy "default-src https://${vhost}:443"
Header set x-frame-options "SAMEORIGIN"
@schipplock
schipplock / nick icb
Created May 6, 2019
cicb nick change
View nick icb
/nick schipplock
[=Name=] a changed nickname to schipplock
[=No-Pass=] To register your nickname type /m server p mypassword
@schipplock
schipplock / gist:a38472177e187ee2a068e6d8fcd73972
Created Apr 17, 2019
Compile and build "cicb" on Debian 9.8
View gist:a38472177e187ee2a068e6d8fcd73972
# Required
* build-essentials
* libreadline-dev
* tcl8.5-dev
# Build
./configure --prefix=/usr --with-readlinelib=/usr/lib/x86_64-linux-gnu/
View not-hybsch.py
class Foo:
def greet(self):
print("Greetings from Foo")
class Bar:
def greet(self):
print("Greetings from Bar")
foo = Foo()
bar = Bar()
@schipplock
schipplock / gist:4329a46b68f84e4c5511550f0b9a0ac9
Created Oct 20, 2018
Encoding to x264 with interlaced output
View gist:4329a46b68f84e4c5511550f0b9a0ac9
ffmpeg -i input.avi -c:v libx264 -preset slow -crf 22 -c:a aac -flags +ildct+ilme output.mkv
View medium-bash-1-19.sh
./test.sh: Line 2: 1: please provide the foo parameter
View medium-bash-1-17.sh
#!/bin/bash
foo=${1:?please provide the foo parameter}
echo $foo
You can’t perform that action at this time.