I hereby claim:
- I am gphg on github.
- I am garett (https://keybase.io/garett) on keybase.
- I have a public key ASC9o7ETRe6XwrtiPujpf1YlwIZxUBW-7Gc2Ju53i1WCUgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = '2' | |
# https://github.com/hashicorp/vagrant/issues/9442#issuecomment-374785457 | |
unless Vagrant::DEFAULT_SERVER_URL.frozen? | |
Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com') | |
end | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "C/C++: g++.exe build active file", | |
"command": "${env:MSYS2_ROOT}\\mingw64\\bin\\g++.exe", | |
"args": [ | |
"-g", | |
"${file}", |
<?php | |
/** | |
* Pico page modification time plugin | |
* | |
* Adds a page's last modification time to its page data. | |
* | |
* Example: | |
* | |
* ```twig |
<?php | |
/** | |
* Pico HTTP page caching plugin | |
* | |
* Web server (well known are Apache2 and Nginx) come with | |
* mod_cache and mod_expires specialize for static files. | |
* Last-Modified HTTP header is part of it. | |
* | |
* This plugins gives more control on Pico http page caching. |
<?php // bootstrap/app.php | |
// <=========== AFTER DOTENV LOEADED ================> | |
// Laravel/Lumen SQLite relative path | |
if ((getenv('DB_CONNECTION') === 'sqlite') // Check if BD driver is SQLite | |
&& (realpath(getenv('DB_DATABASE')) === false) // And database path IS NOT absolute | |
) { // Assign it to absolute with realpath() instead. | |
putenv("DB_DATABASE=".realpath(__DIR__.'/../' . getenv('DB_DATABASE'))); | |
}; |
/* W3.CSS 4.13 June 2019 by Jan Egil and Borge Refsnes */ | |
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit} | |
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */ | |
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} | |
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}summary{display:list-item} | |
audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline} | |
audio:not([controls]){display:none;height:0}[hidden],template{display:none} | |
a{background-color:transparent}a:active,a:hover{outline-width:0} | |
abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted} | |
b,strong{font-weight:bolder}dfn{font-style:italic}mark{background:#ff0;color:#000} |
var IMAGE_PER_SET = 10; | |
function getParameterByName(name) { | |
var match = RegExp("[?&]" + name + "=([^&]*)").exec(window.location.search); | |
return match && decodeURIComponent(match[1].replace(/\+/g, " ").replace("\u200E", "")); | |
} | |
function makeRequest(method, url, done) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open(method, url); | |
xhr.onreadystatechange = function () { |
# Disable directory browsing | |
Options All -Indexes | |
# ---------------------------------------------------------------------- | |
# Rewrite engine | |
# ---------------------------------------------------------------------- | |
# Turning on the rewrite engine is necessary for the following rules and features. | |
# FollowSymLinks must be enabled for this to work. | |
<IfModule mod_rewrite.c> |