Skip to content

Instantly share code, notes, and snippets.

Jason Jalbuena forlogos

Block or report user

Report or block forlogos

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
@forlogos
forlogos / one-line-html-p.sublime-macro
Created Apr 5, 2016
Sublime text macro to take a paragraph, wrap it in <p> tags, and bring it up to stay on the previous line. Must be executed per paragraph. Best when it's binded to a keyboard shortcut
View one-line-html-p.sublime-macro
[
{
"args":
{
"by": "lines",
"forward": false
},
"command": "move"
},
{
@forlogos
forlogos / open all links in a browser
Created Jun 4, 2015
Open all links in an HTML doc thru a browser
View open all links in a browser
View wordpress-make-posts-expire-or-auto-delete functions
<?php
//start post meta box
$key = "Announcements";
$meta_boxes = array(
"expimo" => array(
"name" => "expimo",
"title" => "Expiration Month",
"description" => "Select a date in the future for this post to expire. Default date is one month into the future",
"option" => array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12')),
@forlogos
forlogos / varnish default.vcl
Created Nov 3, 2014
Latest version of default.vcl for varnish that am using.
View varnish default.vcl
# Default backend definition. Set this to point to your content server.
backend default {
.host = "127.0.0.1";
.port = "8080";
.connect_timeout = 60s;
.first_byte_timeout = 60s;
.between_bytes_timeout = 60s;
.max_connections = 800;
}
acl purge {
You can’t perform that action at this time.