- 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 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'){ |
This file contains 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
#!/usr/bin/php -Cq | |
<?php | |
$dir = isset($argv[1]) ? $argv[1] : __DIR__; | |
$skip = isset($argv[2]) ? intval($argv[2]) : 0; | |
$count = 0; | |
if(is_dir($dir)){ | |
echo "Dir: {$dir}\n"; | |
echo "Skip: {$skip} files\n"; | |
class IgnorantRecursiveDirectoryIterator extends RecursiveDirectoryIterator { |
This file contains 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 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 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 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
#!/usr/bin/env perl | |
# Parameters supported: | |
# | |
# config | |
# autoconf | |
# | |
# Magic markers: | |
#%# family=auto | |
#%# capabilities=autoconf |
This file contains 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 | |
{ | |
/** |
#Converting SPSS files to csv with PSPP#
Install and open PSPP Use the File menu to open your file (it probably has a .sav extension) Go to File>New>Syntax to open PSPP's command line window
Enter:
This file contains 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
import argparse | |
import requests | |
import simplejson | |
def gitHubPost(text, mode, context): | |
"""Send a POST request to GitHub via API """ | |
payload = {'text': text, 'mode':mode} | |
if context != None: | |
payload['context'] = context | |
OlderNewer