I hereby claim:
- I am lumenpink on github.
- I am lumenpink (https://keybase.io/lumenpink) on keybase.
- I have a public key ASCFDS3vUOdJepO6n3wa65fjaEqGQdH4s_61hxmTR9APNQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# | |
# Webmention Emailer | |
# ------------------ | |
# | |
# An incremental evolution of Jeremy Keith's "minimum viable" webmention, | |
# I've added some minimal code to have webmentions emailed to an address |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:D8DE12CD2C6D468917B71036441E69D80355E46F]
This gist is about using a Multi-Tenancy strategy for your Doctrine entities.
See: https://gist.github.com/CarlosEduardo/aedfa640e3f7f22451686fb7e57228e3
<?php | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Headers: Authorization'); | |
if(isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/plain') !== false) { | |
$format = 'text'; | |
} else { | |
header('Content-Type: application/json'); | |
$format = 'json'; | |
} |
Using the REST API to upload a file to WordPress is
quite simple. All you need is to send the file in a
POST
-Request to the wp/v2/media
route.
There are two ways of sending a file. The first method simply sends the file in the body of the request. The following PHP script shows the basic principle:
Hi I'm Simone! This recipe was developed based on some tips I acquired over time from lots and lots of resources and tutorials like youtube videos, family and friends recipes. I'm just an amateur who likes making pizza :)
If you plan to perfectionate your pizza making skills, I suggest to come up with your own recipe and research online watching lots of tutorials and different techniques. For now the following recipe is the one that works for me!
(I'm not a professional pizzaiolo and I never had any sort of experience in a professional pizzeria restaurant)
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
if (!isset($_POST['source']) || !isset($_POST['target'])) { | |
header($_SERVER['SERVER_PROTOCOL'] . ' 400 Bad Request'); | |
exit; | |
} |
I hereby claim:
To claim this, I am signing this object:
Instalar ffmpeg da fonte: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
Instalar nginx com módulo rtmp
wget http://nginx.org/download/nginx-1.9.3.tar.gz
git clone https://github.com/arut/nginx-rtmp-module
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.bz2
tar -xvf pcre-8.36.tar.bz2
tar -xvf nginx-1.9.3.tar.gz
cd nginx-1.9.3