Skip to content

Instantly share code, notes, and snippets.

👐
Doing butterfly with my hands

Johann Saunier ProPheT777

👐
Doing butterfly with my hands
Block or report user

Report or block ProPheT777

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
@ProPheT777
ProPheT777 / Dockerfile
Last active Aug 14, 2018
PPM under PHAR
View Dockerfile
FROM php-cgi #custom
COPY api.phar /api.phar
EXPOSE 8888
CMD ["/api.phar", "start", "-c", "ppm.json"]
View ledstrip.tsv
Inch Size meters of led strip required
26 ″ 57,6 x 32,4 cm 1,8
28″ 62 x 34,9 cm 1,94
30″ 66,4 x 37,4 cm 2,08
32″ 70,8 x 39,8 cm 2,21
39″ 86,3 x 48,6 cm 2,70
40″ 88,6 x 49,8 cm 2,77
42″ 93 x 52,3 cm 2,91
46″ 101,8 x 57,3 cm 3,18
47″ 104 x 58,5 cm 3,25
View keybase.md

Keybase proof

I hereby claim:

  • I am prophet777 on github.
  • I am sko777 (https://keybase.io/sko777) on keybase.
  • I have a public key ASDBltkKpqAY6j1HaE_0qPkKqILf_AsyXylsmVoHXFN-Nwo

To claim this, I am signing this object:

@ProPheT777
ProPheT777 / sh
Created Nov 9, 2017
Share media with any DLNA ready device in the most simple way with docker
View sh
docker run --net host -v /home/johann/Videos/:/media -e MINIDLNA_MEDIA_DIR=/media -e MINIDLNA_PORT=8200 -e MINIDLNA_FRIENDLY_NAME=johann-arc -p 8200:8200 bobrik/minidlna
View example.php
<?php
$strategist = new Strategist();
$strategist->respect(function () use ($var) {
return true === $var;
})->then(function () use ($whatever) {
return $whatever->getTrue();
});
$strategist->respect(function () use ($var) {
@ProPheT777
ProPheT777 / SassMeister-input.scss
Created Aug 17, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.2.5)
// ----
$warning: #f0ad4e;
$info: #5bc0de;
$error: #d9534f;
$min-width: 1024px;
$font-size: 13px;
View gist:21eac350aa64abf88585
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
#
View snippet.sh
Update submodule
git submodule foreach "(git checkout master; git pull; cd ..; git add '$path'; git commit -m 'Submodule Sync')"
Syncronized branch with remote
git fetch origin && git reset --hard origin/master && git clean -f -d
@ProPheT777
ProPheT777 / redis.sh
Last active Aug 29, 2015
PHP extension
View redis.sh
#!/bin/bash
apt-get update
apt-get upgrade
apt-get install apt-get install php5-dev
git clone git://github.com/nicolasff/phpredis.git
cd phpredis
phpize
./configure
make && make install
cd ../
View sensio-cs-fixer.sh
php php-cs-fixer.phar fix /path/to/project --level=all
You can’t perform that action at this time.