| Shortcut | Description |
|---|---|
ranger |
Start Ranger |
Q |
Quit Ranger |
R |
Reload current directory |
? |
Ranger Manpages / Shortcuts |
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 (context, trackingId, options) { | |
| const history = context.history; | |
| const doc = document; | |
| const nav = navigator || {}; | |
| const storage = localStorage; | |
| const encode = encodeURIComponent; | |
| const pushState = history.pushState; | |
| const typeException = 'exception'; | |
| const generateId = () => Math.random().toString(36); | |
| const getId = () => { |
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 ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |
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 | |
| // ex: | |
| // With [time since="1997"] years experience | |
| // outputs: With 20 years of experience | |
| class SCCTimeShortcode { | |
| static $add_script; | |
| static function init() { |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
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
| denumire,localitate,adresa,telefon,localitati_deservite | |
| Direcția Generală Regională a Finanțelor Publice PLOIEȘTI,Ploiești,"Str. Aurel Vlaicu nr. 22, C.P. 00023, Jud. Prahova",0244.407.7 0,Ploiești | |
| Administrația pentru Contribuabili Mijlocii - D.G.R.F.P. Ploiești,Ploiești,"Str. Gh. Grigore Cantacuzino nr. 348, C.P. 0030 ,Jud. Prahova",0244.700.930,Ploiești | |
| Administrația Județeană a Finanțelor Publice ARGEȘ,Argeș,"B-dul Republicii nr. 118, Pitești, C.P.110050","0248.211.511, 0248.211.838","Albota, Bascov, Băbana, Bradu, Budeasa, Ciomăgești, Cocu, Cotmeana, Cuca, Drăganu, Mărăcineni, Merișani, Morărești, Moșoaia, Oarja, Pitești, Poiana Lacului, Săpata, Suseni, Ștefănești, Uda, Vedea" | |
| Serviciul fiscal municipal Câmpulung,Câmpulung,"Str. Negru Vodă nr.117 și Str.Negru Vodă nr.84, C.P. 115100","0248/510830, 0248/510159","Câmpulung, Albeștii de Muscel, Aninoasa, Boteni, Berevoiești, Bughea de Jos, Bughea de Sus, Cetățeni, Dâmbovicioara, Dragoslavele, Godeni, Lerești, Mihăești, Mioarele, Poienarii de Muscel, Stoeneș |
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
| /* Center of Gravity Finder | |
| This script will find the center of gravity (centroid) of all closed paths in the selection set. It was built for a specific purpose so does not have much error | |
| handling. For example, if you get errors it may be the result of the selection set containing compound shapes or a self-intersecting polygon. | |
| References for the math: | |
| http://paulbourke.net/geometry/polygonmesh/ (Calculating the area and centroid of a polygon) | |
| https://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon | |
| Save this file with a jsx extension and place in your Illustrator/Presets/en_US/Scripts folder. You can then access it from the File > Scripts menu |
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
| <div style="font-family: sans-serif;"> | |
| <? var data = valid(); ?> | |
| <form id="form" name="form"> | |
| <? if(Object.prototype.toString.call(data) === '[object Array]') { ?> | |
| <? for (var i = 0; i < data.length; i++) { ?> | |
| <? for (var j = 0; j < data[i].length; j++) { ?> | |
| <input type="checkbox" id="ch<?= '' + i + j ?>" name="ch<?= '' + i + j ?>" value="<?= data[i][j] ?>"><?= data[i][j] ?><br> | |
| <? } ?> | |
| <? } ?> | |
| <? } else { ?> |
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
| /*====================================================================================================================================* | |
| ImportJSON by Trevor Lohrbeer (@FastFedora) | |
| ==================================================================================================================================== | |
| Version: 1.2.1 | |
| Project Page: http://blog.fastfedora.com/projects/import-json | |
| Copyright: (c) 2012-2013 by Trevor Lohrbeer | |
| License: GNU General Public License, version 3 (GPL-3.0) | |
| http://www.opensource.org/licenses/gpl-3.0.html | |
| ------------------------------------------------------------------------------------------------------------------------------------ | |
| A library for importing JSON feeds into Google spreadsheets. Functions include: |
- Mobiledoc - github.com/bustle/mobiledoc-kit - framework to build editors with a standardized JSON structure
- ShareDB - github.com/share/sharedb - framework to sync any JSON document using operational transforms, add real-time collaborative editing to anything else
- Bangle.dev - github.com/bangle-io/bangle.dev - toolkit built for building editors, based on prosemirror
These use separate document structures instead of HTML, some are more modular libraries than full editors