Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| #une image | |
| cwebp -q 80 road.jpg -o road.webp | |
| #toutes les images d'un dossier | |
| find . \( -iname "*.jpg" -o -iname "*.jpeg" \) -print0 | xargs -0 -n 1 -P 0 -I '{}' cwebp -short -q 80 '{}' -o '{}'.webp | |
| #resize d'une image | |
| sips -Z 1280 road.jpg |
This file contains hidden or 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
| { | |
| "ors": { | |
| "info": { | |
| "base_url": "https://openrouteservice.org/", | |
| "support_mail": "[email protected]", | |
| "author_tag": "openrouteservice", | |
| "content_licence": "LGPL 3.0" | |
| }, | |
| "services": { | |
| "matrix": { |
This file contains hidden or 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 | |
| /** | |
| * The public-facing functionality of the plugin. | |
| */ | |
| if ( ! class_exists( 'FAQs_Shortcode' ) ) { | |
| class FAQs_Shortcode { | |
| /** | |
| * Is shortcode being used or not |
This file contains hidden or 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 | |
| /** | |
| * The public-facing functionality of the plugin. | |
| */ | |
| if ( ! class_exists( 'FAQs_Shortcode' ) ) { | |
| class FAQs_Shortcode { | |
| /** | |
| * Is shortcode being used or not |
This file contains hidden or 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
| # Fail2Ban configuration file | |
| # | |
| # Regexp to catch known spambots and software alike. Please verify | |
| # that it is your intent to block IPs which were driven by | |
| # above mentioned bots. | |
| [Definition] | |
| badbotscustom = \bQwantify\b|\bCFNetwork\b |
This file contains hidden or 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
| jpegoptim -t --all-progressive --strip-all *.jpg | |
| find . -iname "*.png" -exec optipng -o5 -strip all {} \; |
This file contains hidden or 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
| (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.turf = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | |
| "use strict"; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| var meta_1 = require("@turf/meta"); | |
| // Note: change RADIUS => earthRadius | |
| var RADIUS |
This file contains hidden or 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
| (function () { | |
| 'use strict'; | |
| function __$strToBlobUri(str, mime, isBinary) {try {return window.URL.createObjectURL(new Blob([Uint8Array.from(str.split('').map(function(c) {return c.charCodeAt(0)}))], {type: mime}));} catch (e) {return "data:" + mime + (isBinary ? ";base64," : ",") + str;}} | |
| (function(self) { | |
| 'use strict'; | |
| if (self.fetch) { | |
| return | |
| } |
This file contains hidden or 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'; | |
| var simplify_1 = simplify$1; | |
| // calculate simplification data using optimized Douglas-Peucker algorithm | |
| function simplify$1(points, tolerance) { | |
| var sqTolerance = tolerance * tolerance, | |
| len = points.length, |