- http://www.boe.es/buscar/doc.php?coleccion=anboe&id=2013/033156
- http://www.boe.es/buscar/doc.php?coleccion=anboe&id=2013/33156
- http://www.boe.es/buscar/doc.php?id=BOE-B-2013-33156
- http://www.boe.es/buscar/act.php?id=BOE-B-2013-33156
- http://www.boe.es/diario_boe/txt.php?id=BOE-B-2013-33156
- http://www.boe.es/diario_boe/xml.php?id=BOE-B-2013-33156
- http://www.boe.es/diario_borme/xml.php?id=BOE-B-2013-33156 !
- http://www.boe.es/boe/dias/2013/09/07/
- http://www.boe.es/boe/dias/2013/09/07/index.php
🤷♂️
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
client | |
dev tun | |
comp-lzo | |
auth-user-pass | |
# remote-cert-tls server | |
server-poll-timeout 10 | |
auth-nocache | |
auth-retry interact | |
verb 1 | |
remote openvpn.getcloakvpn.com 443 udp |
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
Quick tip for handling CSRF Token Expiration - common issue is when you use csrf protection is that if | |
a form sits there for a while (like a login form, but any the same) the csrf token in the form will | |
expire & throw a strange error. | |
Handling it is simple, and is a good lesson for dealing with other types of errors in a custom manner. | |
In Middleware you will see a file VerifyCsrfToken.php and be tempted to handle things there. DON'T! | |
Instead, look at your app/Exceptions/Handler.php, at the render($request, Exception $e) function. | |
All of your exceptions go through here, unless you have excluded them in the $dontReport array at the |
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
var system = require("system"); | |
var url = system.args[1]; | |
require('./phantom-full-load')(phantom, url, function (page, logs) { | |
logs.forEach(function (i) { | |
console.log('> ' + i); | |
}); | |
result = page.evaluate(function () { | |
return $('body *').attr('class'); |
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
DB_HOST=mysql | |
DB_DATABASE=homestead | |
DB_USERNAME=homestead | |
DB_PASSWORD=secret |
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
<?php | |
namespace Thinkscape\Guzzle; | |
use Psr\Http\Message\RequestInterface; | |
use Psr\Http\Message\ResponseInterface; | |
class EffectiveUrlMiddleware | |
{ | |
/** | |
* @var Callable |
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
<?php | |
namespace League\Skeleton; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Routing\Router; | |
class SkeletonServiceProvider extends ServiceProvider | |
{ | |
/** |
GNU readline is a commonly used library for line-editing; it is used for example by Bash, FTP, and many more (see the details of [readline][5] package under "Required By" for more examples). readline is also customizable (see man page for details).
Keyboard Shortcut Description
Ctrl+l
Clear the screen
Grab ffmpeg from https://www.ffmpeg.org/download.html
It's a command line tool which means you will have to type things with your keyboard instead of clicking on buttons.
The most trivial operation would be converting gifs:
ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
-crf
values can go from 4 to 63. Lower values mean better quality.-b:v
is the maximum allowed bitrate. Higher means better quality.
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
<?php | |
// in wordpress theme: functions.php add this in | |
function log_sql_queries($text_query){ | |
/* //Uncomment me if you want a lot of info about where the sql query comes from and what action started it off | |
$traces = debug_backtrace(); | |
$i = 0; | |
foreach ($traces as $tobj => $trace) { | |
if($trace['function'] == 'do_action'){ |