https://docs.microsoft.com/en-us/windows/wsl/install-win10
Once WSL installed (I made this with Ubuntu LTS), launch:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential
<?php | |
// supposed to be a BMP image, as sprites are really small :) | |
if ( @$_GET['directfile']!='' ){ | |
$img_name = $_GET['directfile']; | |
} | |
$resource = imagecreatefrombmp($img_name); | |
$width = imagesx($resource); |
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Once WSL installed (I made this with Ubuntu LTS), launch:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential
/* | |
* Progress bar | |
*/ | |
.progressBar-container { | |
padding: 1rem 2rem; | |
} | |
.progressBar { | |
/* Reset the default appearance */ |
I've set up a very light jquery tab system for a website: | |
starting from this HTML code: | |
<ul class="pates-tabs__list"> | |
<li class="pates-tabs__item"> | |
<a href="#presentation" id="label_presentation" class="pates-tabs__link">Présentation</a> | |
</li> | |
<li class="pates-tabs__item"> |
Hi, | |
I've made this function in Sass : | |
$list-margin: mt, mr, mb, ml, m; | |
$list-margin-values: 0, 1, 2; | |
@each $margin-type in $list-margin { | |
@each $margin in $list-margin-values { |