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
// ==UserScript== | |
// @name Open PirateBay Links | |
// @namespace https://gist.githubusercontent.com/lucasmonteverde/7287c90e58dc1829159bc5d7fb1b1656/raw/tpb-links.js | |
// @version 0.2 | |
// @description Add button to open all piratebay links and make description links clickable | |
// @author @lucasmonteverde | |
// @match https://thepiratebay.org/description.php* | |
// @icon https://thepiratebay.org/favicon.ico | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Instagram to Topbase | |
// @namespace https://gist.githubusercontent.com/lucasmonteverde/ed8ae06f87e759d341e1db67ce46378c/raw/ig-to-topbase.js | |
// @version 0.3 | |
// @description Add Topbase link to current instgram page | |
// @author @lucasmonteverde | |
// @match https://www.instagram.com/*/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript==// | |
// @name DestinyRPG - Shortcuts | |
// @descript Enable shotchuts actions for DestinyRPG | |
// @version 0.0.7 | |
// @author @lucasmonteverde | |
// @license MIT | |
// @namespace https://gist.githubusercontent.com/lucasmonteverde/21e4c594d1e24df065985bd842574cfa/raw/shortcuts.js | |
// @include https://game.destinyrpg.com/* | |
// ==/UserScript== |
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
'use strict'; | |
var gulp = require('gulp'), | |
$ = require('gulp-load-plugins')(), | |
del = require('del'), | |
webpack = require('webpack-stream'), | |
named = require('vinyl-named'), | |
path = require('path'), | |
browserSync = require('browser-sync'); |
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
user www-data; | |
worker_processes auto; | |
pid /var/run/nginx.pid; | |
include /etc/nginx/modules-enabled/*.conf; | |
events { | |
worker_connections 2048; # It's the key to high performance - have a lot of connections available | |
} |
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 path = require('path'), | |
glob = require('glob'), | |
mv = require('mv'); | |
Array.prototype.chunk = function(chunkSize) { | |
var array = this; | |
return [].concat.apply([], | |
array.map(function(elem,i) { | |
return i%chunkSize ? [] : [array.slice(i,i+chunkSize)]; | |
}) |
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
define('WP_POST_REVISIONS', false ); | |
define('FS_METHOD', 'direct'); //updates via file system | |
define('DISALLOW_FILE_EDIT',true); //disable theme edit | |
define('DISALLOW_FILE_MODS',true); //disable themes and plugins alteration | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); |
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |