ffmpeg -i smb-bump.wav -c:a flac -compression_level 8 -map_metadata -1 smb-bump.flac
-c:a flac
for FLAC.-compression_level 8
: 0 is low compression (faster to decode), 12 is highest, but following this thread, you should never go above 8.
ffmpeg -i smb-bump.wav -c:a flac -compression_level 8 -map_metadata -1 smb-bump.flac
-c:a flac
for FLAC.-compression_level 8
: 0 is low compression (faster to decode), 12 is highest, but following this thread, you should never go above 8.This list without any logic in its order has been made after a lightning talk I gave at Creative Front-end Belgium.
This works on a Digital Ocean’s server managed by Laravel Forge. What this does:
server
header.ssh
and running sudo poweroff
.<?php | |
namespace App\Providers; | |
use Illuminate\Support\Facades\Blade; | |
use Illuminate\Support\ServiceProvider; | |
class ViewServiceProvider extends ServiceProvider | |
{ | |
/** |
Dev things will break when your macOS sessions enters the Active Directocrap. Here are some things to help.
(This supposes your user stays administrator of the computer.)
You may end up by doing some find and replace in some place where the macOS username is hardcoded (like Vagrant files, Homestead.yaml
or $PATH
: it’s the only ones I remember). So: /Users/oldUsername
should become /Users/newUsername
.
Hi,
I’m playing a bit with the regular browser media queries and noticed that there’s no square
value for orientation
. And more surprisingly, the definition of portrait orientation includes the square orientation:
The orientation media feature is portrait when the value of the height media feature is greater than or equal to the value of the width media feature. […] Otherwise orientation is landscape.
So the only way to query a square viewport is by using the aspect-ratio media query:
@media (aspect-ratio: 1/1) {
/* css declarations for a square visual output */
<html> | |
<head> | |
<style> | |
:root { | |
/* Like me, you probably add a space between the semicolon and the value. | |
👇 */ | |
--bg: hsl(0 0% 100%); | |
} |
const trackingCode = '324567890' | |
const postCode = 1000 | |
const language = 'EN' // 'FR', 'NL', 'EN' | |
let status = null | |
let deliveryWindow = null | |
setInterval(() => { | |
fetch('https://track.bpost.cloud/track/items?itemIdentifier=' + trackingCode + '&postalCode=' + postCode) | |
.then(res => { |
// IE & Edge do not support :focus-within, so they ignore the 3 selectors. | |
@media screen and (min-width:896px) { | |
.sub-nav:target, | |
.sub-nav__parent:focus-within .sub-nav, | |
.sub-nav__parent:hover .sub-nav { | |
opacity: 1; | |
visibility: visible; | |
} | |
} |
########################### LAST UPDATE: 2018-10-03 ########################### | |
# # | |
# Source: https://gist.github.com/meduzen/030aa314afeb4a9806c4c59994ed7ed4 # | |
# # | |
# Main idea: target every browser with at least 0.3% market shares, plus # | |
# IE 11, Safari 9 and Edge 15, no matter their shares evolution. # | |
# # | |
# Browserslist documentation: https://github.com/ai/browserslist#queries # | |
# # | |
############################################################################### |