<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Javascript on vxlabs</title>
    <link>https://vxlabs.com/tags/javascript/</link>
    <description>Recent content in Javascript on vxlabs</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 07 Nov 2020 14:08:24 +0200</lastBuildDate>
    <atom:link href="https://vxlabs.com/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Sort TypeScript import groups from standard to local</title>
      <link>https://vxlabs.com/2020/10/06/sort-typescript-import-groups-from-standard-to-local/</link>
      <pubDate>Tue, 06 Oct 2020 21:32:00 +0200</pubDate>
      <guid>https://vxlabs.com/2020/10/06/sort-typescript-import-groups-from-standard-to-local/</guid>
      <description>&lt;p&gt;Welcome to the first entry in a new series that&amp;rsquo;s probably going to stop with&#xA;this first entry, or maybe not.&lt;/p&gt;&#xA;&lt;p&gt;The series is called &lt;em&gt;Charl&amp;rsquo;s Unwritten Rules of Software Development&lt;/em&gt;, or&#xA;&lt;a href=&#34;https://vxlabs.com/tags/cursd/&#34;&gt;cursd&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I am also planning another series called &lt;em&gt;Charl&amp;rsquo;s Unwritten Rules of Applied&#xA;Machine Learning&lt;/em&gt; that is on its part probably going to remain in the planning&#xA;stage, or maybe not.&lt;/p&gt;&#xA;&lt;p&gt;In this first CURSD post, I would like to document my hitherto unwritten rule&#xA;for ordering your TypeScript (or JavaScript) import groups.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Removing URLs from Zotero bibtex exports</title>
      <link>https://vxlabs.com/2012/06/29/removing-urls-from-zotero-bibtex-exports/</link>
      <pubDate>Fri, 29 Jun 2012 08:14:53 +0000</pubDate>
      <guid>https://vxlabs.com/2012/06/29/removing-urls-from-zotero-bibtex-exports/</guid>
      <description>&lt;p&gt;When you export bibtex from zotero, it includes the URLs in the bibtex records. Some LaTeX bibliography styles include this information, and sometimes this is not what you want, for example because the URLs take up unnecessary space and are hard to wrap.&lt;/p&gt;&#xA;&lt;p&gt;It’s quite easy to get zotero to export bibtex without the URLs.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Go to Preferences | Advanced and click on the “Show Data Directory” button.&lt;/li&gt;&#xA;&lt;li&gt;Edit translators/BibTeX.js with your favourite text editor.&lt;/li&gt;&#xA;&lt;li&gt;In function doExport(), at around line 2040 in Zotero 3.0.7, change the “for (var field in fieldMap)” loop by adding a single line of code like this:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre class=&#34;brush: jscript; title: ; notranslate&#34; title=&#34;&#34;&gt;for(var field in fieldMap) {&#xD;&#xA;    # only add the following line:&#xD;&#xA;    if (field == &#34;url&#34;) continue;&#xD;&#xA;    if(item[fieldMap[field]]) {&#xD;&#xA;        writeField(field, item[fieldMap[field]]);&#xD;&#xA;    }&#xD;&#xA;}&#xD;&#xA;&lt;/pre&gt;&#xA;&lt;p&gt;If your changes don’t seem to take, make sure that your text editor did not make a backup of the old BibTeX.js (vim does this, with an ~ appended), as Zotero could possible pick up the backed up version instead of your edited version.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
