This is a shorter version of awesome go. Just tools I personally use.
- go-funk Modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...).
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| # ****************************************************************************** | |
| # $Id: gdal2tiles.py 27349 2014-05-16 18:58:51Z rouault $ | |
| # | |
| # Project: Google Summer of Code 2007, 2008 (http://code.google.com/soc/) | |
| # Support: BRGM (http://www.brgm.fr) | |
| # Purpose: Convert a raster into TMS (Tile Map Service) tiles in a directory. | |
| # - generate Google Earth metadata (KML SuperOverlay) |
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| # ****************************************************************************** | |
| # $Id: gdal2tiles.py 27349 2014-05-16 18:58:51Z rouault $ | |
| # | |
| # Project: Google Summer of Code 2007, 2008 (http://code.google.com/soc/) | |
| # Support: BRGM (http://www.brgm.fr) | |
| # Purpose: Convert a raster into TMS (Tile Map Service) tiles in a directory. | |
| # - generate Google Earth metadata (KML SuperOverlay) |
| { | |
| "compilerOptions": { | |
| "outDir": "./public/js/dist", | |
| "allowJs": true, | |
| "target": "es5", | |
| "module": "es6" | |
| }, | |
| "include": [ | |
| "./public/js/src/**/*" | |
| ] |
| $.each($("#orders_modal input, #orders_modal textarea, #orders_modal select"), function (index, value) { | |
| if($(value).attr("required") === undefined){ | |
| return; | |
| }else{ | |
| if(!$(value).val()){ | |
| $(value).addClass("is-invalid") | |
| }else{ | |
| $(value).removeClass("is-invalid") | |
| } | |
| } |
This is a shorter version of awesome go. Just tools I personally use.
| import L from 'leaflet'; | |
| import 'leaflet/dist/leaflet.css'; | |
| import 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css'; // Re-uses images from ~leaflet package |
| " Jereme's Vim configuration | |
| " Install vim-plug | |
| " curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| " then run :PlugInstall | |
| set nocompatible " required | |
| set splitbelow | |
| set splitright | |
| set foldmethod=indent | |
| set foldlevel=99 |
| " NeoVim Configuration | |
| " ~/.config/nvim/init.vim | |
| " Check if Plug is already installed. make sure curl is installed first | |
| " run PlugInstall afterwards | |
| if empty(glob("~/.local/share/nvim/site/autoload/plug.vim")) | |
| silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs | |
| \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| auto VimEnter * PlugInstall | |
| endif |