User Tools

Site Tools


file_kinds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
file_kinds [2020/10/30 14:25] – tags rjtfile_kinds [2024/05/07 23:24] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
 ===== Description ===== ===== Description =====
-Was always intrigued by these files. Used for describing contents of archive sand folders+Was always intrigued by these files. Used for describing contents of archives and directories
  
   * FILE_ID.DIZ [[wp>FILE_ID.DIZ]]   * FILE_ID.DIZ [[wp>FILE_ID.DIZ]]
-  * .NFO [[wp>.nfo]]+  * .NFO [[wp>.nfo]] (See also [[kodi#Metadata|Kodi's weird version]], which contains [[XML]])
   * README, READ.ME, README.* [[wp>README]]   * README, READ.ME, README.* [[wp>README]]
  
-===== Browser Extensions =====+==== See Also ==== 
 +  * https://archive.org/details/scenenotices 
 +  * https://textfiles.com/piracy/NFO/ 
 +  * https://defacto2.net/ 
 + 
 +===== Browser =====
 ==== .CRX ==== ==== .CRX ====
  
Line 20: Line 25:
   * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension   * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension
     * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox     * https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox
 +
 +==== Bookmarks ====
 +
 +In [[Firefox]] at least, bookmarks are exported and imported via [[HTML]] files with a ''NETSCAPE-Bookmark-file-1'' doctype. They still look like they're from the [[Netscape]] era, capitalised elements and all, and they're based around definition lists. This used to also be the way bookmarks were stored by the browser, but they now live in a database.
 +
 +Examples: [[https://gist.github.com/devster31/4e8c6548fd16ffb75c02e6f24e27f9b9|Firefox?]] [[https://gist.github.com/jgarber623/cdc8e2fa1cbcb6889872|Delicious]]
 +
 +If you just want to import a basic list of links you can use a simplified version like:
 +
 +<code html>
 +<!DOCTYPE NETSCAPE-Bookmark-file-1>
 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 +<dl>
 + <dt><a href="[URL1]"></a></dt>
 + <dt><a href="[URL2]"></a></dt>
 +</dl>
 +</code>
 +
 +On import these will be plopped into the top level of the 'Bookmarks Menu'. If you want to organise them a bit with folders you add a ''<dt>'' with an ''<h3>'' inside, and a sub ''<dl>''.
 +
 +<code html>
 +<!DOCTYPE NETSCAPE-Bookmark-file-1>
 +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 +<dl>
 + <dt><h3>[folder]</h3></dt>
 + <dl>
 + <dt><a href="[URL]"></a></dt>
 + </dl>
 +</dl>
 +</code>
 +
 +You can give your links titles, add tags (''href'' attribute ''tags="[tag1], [tag2]"'' and other stuff if you want to get fancy.
 +
 +===See Also===
 +  * [[https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa753582(v=vs.85)?redirectedfrom=MSDN]]
 +  * [[tildegit>rjt/mastodon-bookmarks-convert-netscape]] - Script for converting list of URLs to Netscape format.
 +
 +===== Linux =====
 +==== .desktop ====
 +
 +Desktop files are used to organise programs in the window manager's applications menu and/or launcher (in my case [[Rofi]]). They're basically the [[Linux]] equivalent of [[microsoft_windows|Windows']] shortcuts.
 +
 +In [[pcmanfm]] you can use .desktop files to define [[pcmanfm#Custom Actions]].
 +
 +Software should provide one, but if you need t ocreate your own, or customise one you can put them in ''~/.local/share/applications''.
 +
 +I have an example one in my ''/Templates'' directory that looks like this:
 +
 +<code ini>
 +[Desktop Entry]
 +Type=Application
 +Version=1.0
 +Name=Template
 +GenericName=Desktop template
 +Comment=
 +Path=/path/to/software/
 +Exec=executable.x86
 +Icon=/path/to/icon.ico
 +Terminal=false
 +MimeType=
 +Categories=Game;Utility;
 +</code>
 +
 +There some notes on making ones for stuff you run through [[Wine]] on its page.
 +
 +  * Categories from the [[Freedesktop]] spec:
 +    * [[https://specifications.freedesktop.org/menu-spec/latest/apa.html|Main Categories]]
 +    * [[https://specifications.freedesktop.org/menu-spec/latest/apas02.html|Additional Categories]]
 +    * [[https://specifications.freedesktop.org/menu-spec/latest/apas03.html|Reserved Categories]]
 +
 +===== Music =====
 +
 +I've written a bit about messing with .M3U files on the [[plaintext]] page.
 +
 +===== Music Making =====
 +
 +[[Reaper]] uses standard .TXT files for saving and loading note names: 'MIDI note/CC name map'. Eg this one I made for the [[Korg ER-1]]:
 +
 +<code>
 +# MIDI note/CC name map
 +49 Crash
 +46 Hi-Hat Open
 +45 Audio In 2
 +43 Audio In 1
 +42 Hi-Hat Close
 +41 Percussion Synth 4
 +40 Percussion Synth 3
 +39 H.Clap
 +38 Percussion Synth 2
 +36 Percussion Synth 1
 +</code>
 +
 +It can load 'Instrument bank/program definition' files in the formats .REABANK and .INS, both are plaintext.
 +
 +.INS is used in other DAWs too, and looks like an .INI file.
 +
 +.REABANK is… very plain, syntax wise.
 +
 +==== See Also ====
 +
 +  * [[https://web.archive.org/web/20190124030019if_/http://tweakheadz.com:80/how-to-build-a-cakewalk-ins-file/|How to Write a Sonar Instrument Definition .ins file]] - Wayback Machine link.
 +  * [[http://www.raisedbar.co.uk/InsDef.htm|What is an Instrument Definition File?]]
  
 ===== Programmy Stuffs ===== ===== Programmy Stuffs =====
Line 40: Line 147:
 Mostly I use it to hide results from shit websites in [[duckduckgo]] searches, for example: Mostly I use it to hide results from shit websites in [[duckduckgo]] searches, for example:
  
-<code>@-moz-document domain(duckduckgo.com) {+<code css> 
 +@-moz-document domain(duckduckgo.com) {
  
  /* Hide reults from particular domains */  /* Hide reults from particular domains */
Line 51: Line 159:
  }  }
  
-}</code>+} 
 +</code>
  
-Otherwise I'm just blocking a few pesky ads., and making basic, Web1.0-like pages a bit easier t oread with different colours and line heights.+Otherwise I'm just [[blocking|blocking]] a few pesky ads., and making basic, Web1.0-like pages a bit easier to read with different colours and line heights.
  
 //see -s-[[Firefox#Styling]] in the [[Firefox]] page.// //see -s-[[Firefox#Styling]] in the [[Firefox]] page.//
  
-{{tag>form software}}+===== See Also ===== 
 + 
 +  * [[plaintext]] 
 +  * [[https://post.lurk.org/@entreprecariat/109761888739919564|What's the most annoying file extension?]] - Microblog thread. 
 +  * [[http://fileformats.archiveteam.org/|fileformats.archiveteam.org]] - The 'Just Solve the File Format Problem' wiki. AKA The File Formats wiki. 
 + 
 +{{tag>external-edit-only form guide software}} 
file_kinds.1604028320.txt.gz · Last modified: 2020/10/30 14:25 by rjt