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
'use strict'; | |
const fs = require('fs'); | |
const template = require(process.cwd() + '/bin/angular-template.json'); | |
template.projects.app.architect.build.options.assets.push({ | |
glob: '**/*.svg', | |
input: 'node_modules/ionicons/dist/ionicons/svg', | |
output: './svg', | |
}); |
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
fileUpload(event) { | |
let fileList: FileList = event.target.files; | |
if (fileList.length > 0) { | |
let file: File = fileList[0]; | |
const xhr: XMLHttpRequest = new XMLHttpRequest(); | |
xhr.onreadystatechange = () => { | |
if (xhr.readyState === 4) { |
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
AddOutputFilterByType DEFLATE text/html |
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 | |
/* ************************************************************************** *\ | |
* Code HTML et PHP du site monopage Bidaya * | |
* Billet de blog : http://tellibus.com/blog/102 * | |
* Démo : http://tellibus.com/bidaya/index-03.php * | |
* CC-BY-SA tellibus.com * | |
\* ************************************************************************** */ | |
// DetectMobileBrowsers.com - Version du 09/09/2013 | |
$userAgent = $_SERVER['HTTP_USER_AGENT']; |
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 | |
/* ************************************************************************** *\ | |
* Code HTML et PHP du site monopage Bidaya * | |
* Billet de blog : http://tellibus.com/blog/101 * | |
* Démo : http://tellibus.com/bidaya/index-02.php * | |
* CC-BY-SA tellibus.com * | |
\* ************************************************************************** */ | |
// DetectMobileBrowsers.com - Version du 09/09/2013 | |
$userAgent = $_SERVER['HTTP_USER_AGENT']; |
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
<link rel="stylesheet" href="jquery-ui.css" type="text/css"> | |
<select id="SelectToAutoComplete"> | |
… | |
</select> | |
<script src="jquery.min.js"></script> | |
<script src="jquery-ui-autocomplete.js"></script> | |
<script src="jquery.select-to-autocomplete.min.js"></script> | |
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
<link rel="stylesheet" href="nouislider.fox.css" type="text/css"> | |
<div id="DivToTransform" class="noUiSlider horizontal"></div> | |
<div id="#Display"></div> | |
<script src="zepto.min.js"></script> | |
<script src="zepto.data.pack.js"></script> | |
<script src="nouislider.min.js"></script> | |
<script> |
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
<link rel="stylesheet" href="jquery.simplyscroll.css" type="text/css"> | |
<a href="#" id="goBack">Défiler vers l’arrière</a> | |
<a href="#" id="pause">Mettre en pause</a> | |
<a href="#" id="goFwd">Défiler vers l’avant</a> | |
<ul id="scroller"> | |
… | |
</ul> |
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
<div id="DivToScroll" style="height:300px;width:600px"> | |
<!-- Il faut que le contenu de ce div soit relativement large et/ou haut pour le faire défiler --> | |
<div style="height:1000px;width:2000px"></div> | |
</div> | |
<script src="jquery.min.js"></script> | |
<script src="enscroll.pack.js"></script> | |
<script> | |
$(function($) { |
NewerOlder