Time | Speaker(s) | Title |
---|---|---|
08:45 | Evan You | State of the Vuenion (Founder of Vue.js) |
09:00 | Guillaume Chau |
SSR revolution with Vue 2.6 |
09:35 | Tim Benniks | Vue.js for L'oreal, a case study (Director of Frontend @Valtech Paris) |
10:45 | Jen Looper | NativeScript-Vue + ML = The Great MiniBar Challenge: MixoLogy (Developer Advocate at Progress) |
11:15 | Filip Rakowski | Modern Web Apps Performance Tricks with PWA and Vue.js (Founder Vue Storefront) |
11:50 | Sara Vieira | [GraphQL + Apollo + Vue.js = |
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 | |
$file = '/foo/bar/document.pdf'; | |
$im = new \Imagick($file); | |
$im->setIteratorIndex(0); // just use first page | |
$im->setImageAlphaChannel(\Imagick::VIRTUALPIXELMETHOD_WHITE); // Other alpha options are available, see Imagick PHP documentation | |
$im->setImageColorspace(\Imagick::COLORSPACE_SRGB); // Other colorspaces are available, see Imagick PHP documentation | |
$im->setImageBackgroundColor('white'); // Set transparent background elements to this color | |
$im->setFormat('JPG'); // Format, a wide variety is supported |
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 App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\UploadedFile; | |
class DataUriToFile | |
{ | |
/** |
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 | |
$_SERVER['HTTP_HOST'] = Request::getHttpHost(); | |
$_SERVER['HTTP_HOST'] = request()->getHttpHost(); | |
// Alternative could be to use URL::previous(), but this will always return current URL if no referer is present. | |
// @see https://github.com/laravel/framework/blob/5.7/src/Illuminate/Routing/UrlGenerator.php#L154 | |
$_SERVER['HTTP_REFERER'] = Request::header('referer', 'default'); | |
$_SERVER['HTTP_ACCEPT_LANGUAGE'] = Request::getPreferredLanguage(); |
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
#!/bin/bash | |
function _jottacli() { | |
local config_params cmds cur first params prev second | |
COMPREPLY=() | |
cur=${COMP_WORDS[COMP_CWORD]} | |
first=${COMP_WORDS[1]} | |
second=${COMP_WORDS[2]} | |
prev=${COMP_WORDS[COMP_CWORD-1]} |
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
#!/bin/bash | |
# | |
# By: Alexander Karlstad <alexanderkarlstad@gmail.com> | |
# | |
# Requires 'jq' and 'curl' | |
# | |
# To install (on Ubuntu): | |
# sudo apt install jq curl | |
function halp() { |
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] | |
character-set-server = utf8 | |
[mysqld] | |
character-set-server = utf8 | |
collation-server = utf8_unicode_ci | |
character-sets-dir = /usr/share/mysql/charsets | |
#default-character-set = utf8 | |
init-connect = 'SET NAMES utf8' |
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 | |
/** | |
* Add a filter to stylesheet_uri, which appends a query string to it automagically. | |
*/ | |
add_filter('stylesheet_uri', function($css) { | |
$parts = parse_url($css); | |
$file = $_SERVER['DOCUMENT_ROOT'] . $parts['path']; |
NewerOlder