<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tools | Nerdpress.org</title>
	<atom:link href="https://nerdpress.org/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>https://nerdpress.org</link>
	<description>...dev, tech problems and solutions.</description>
	<lastBuildDate>Wed, 31 Mar 2021 05:43:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>EU/VAT &#8211; Mehrwertsteuer Madness</title>
		<link>https://nerdpress.org/2021/03/30/eu-vat-mehrwertsteuer-monkey-madness/</link>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Tue, 30 Mar 2021 19:13:57 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=2995</guid>

					<description><![CDATA[<p>Calculating European VAT Rates with PHP &#8211; the easy way. Disclaimer: No legal advice, just a little experience report. If you sell digital things (services, digital goods etc.) to EU countries, you might have to calculate the VAT at the rate of the customer&#8217;s country (and even pay it there afterwards).The latter is even the &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2021/03/30/eu-vat-mehrwertsteuer-monkey-madness/" class="more-link">Continue reading<span class="screen-reader-text"> "EU/VAT &#8211; Mehrwertsteuer Madness"</span></a></p>
The post <a href="https://nerdpress.org/2021/03/30/eu-vat-mehrwertsteuer-monkey-madness/">EU/VAT – Mehrwertsteuer Madness</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading">Calculating European VAT Rates with PHP &#8211; the easy way.</h2>



<p><strong>Disclaimer: No legal advice, just a little experience report.</strong></p>



<p>If you sell digital <em>things</em> (services, digital goods etc.) to EU countries, you might have to calculate the VAT at the rate of the customer&#8217;s country (and even pay it there afterwards).<br />The latter is even the more inconvenient part, but at least the first part can be done quite easily with good old PHP.</p>



<span id="more-2995"></span>



<p>Originally released as a Laravel plugin (or whatever it&#8217;s called in their bubble..), there is this very handy library that does the whole complex calculation starting from the seller&#8217;s country:</p>



<p><a href="https://github.com/driesvints/vat-calculator">https://github.com/driesvints/vat-calculator</a></p>



<p>Even more interesting for my purposes was this fork here:</p>



<p><a href="https://github.com/spaze/vat-calculator/">https://github.com/spaze/vat-calculator/</a></p>



<p>Works on the one hand as a complete standalone version, and still includes updates and is actually also rather a further development than a fork :thuink:<br />With this then the VAT can be calculated in a few easy calls and life is exceptionally easy.<br />Not only the country of the customer is taken into account, but also the postal code, because in Germany alone there are several different VAT rates, depending on the <a href="https://de.wikipedia.org/wiki/Helgoland" title="https://de.wikipedia.org/wiki/Helgoland">island</a> you happen to find yourself on.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
// Easy to use!
use Spaze\VatCalculator\VatCalculator;

$vatRates = new VatRates();
$vatCalculator = new VatCalculator($vatRates);
$vatCalculator-&gt;calculate(71.00, &#039;DE&#039; /* $countryCode */, &#039;41352&#039; /* $postalCode or null */,  true /* Whether the customer you&#039;re calculating the VAT for is a company */);
$vatCalculator-&gt;getTaxRateForLocation(&#039;NL&#039;);
// Check validity of a VAT number
$vatCalculator-&gt;isValidVatNumber(&#039;NL123456789B01&#039;);
</pre></div>


<p>With the appropriate VAT identification number, the annoyance of the collection is then also accordingly omitted.</p>



<p>So nice one, definitely saved me a lot of worries. Github-starred &#8211; Cheers guys!</p>The post <a href="https://nerdpress.org/2021/03/30/eu-vat-mehrwertsteuer-monkey-madness/">EU/VAT – Mehrwertsteuer Madness</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>git prompt</title>
		<link>https://nerdpress.org/2010/11/13/git-repository-status-im-shell-prompt/</link>
					<comments>https://nerdpress.org/2010/11/13/git-repository-status-im-shell-prompt/#comments</comments>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Sat, 13 Nov 2010 14:37:43 +0000</pubDate>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[vServer]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=1179</guid>

					<description><![CDATA[<p>gerade gefunden: git prompt &#8211; GIT repository status direkt im shell prompt. nützlich und schön bunt.</p>
The post <a href="https://nerdpress.org/2010/11/13/git-repository-status-im-shell-prompt/">git prompt</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>gerade gefunden:</p>
<p><a href="http://volnitsky.com/project/git-prompt/">git prompt</a> &#8211; GIT repository status direkt im shell prompt.</p>
<p>nützlich und schön bunt.</p>The post <a href="https://nerdpress.org/2010/11/13/git-repository-status-im-shell-prompt/">git prompt</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2010/11/13/git-repository-status-im-shell-prompt/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Google&#8217;s closure Tools jetzt opensource</title>
		<link>https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/</link>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Fri, 06 Nov 2009 15:09:12 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[closure]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=516</guid>

					<description><![CDATA[<p>Google wirft seine Closure Tools in den open source Topf. Das ist einmal die Closure Library, ein JS Framework. Wenn ich das auf den ersten Blick richtig erkannt habe, geht das in eine ähnliche Richtung wie zb. jQuery UI. Der Closure Compiler ist ein Javascript Optimizer der Code viel viel viel schneller machen soll. Um &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/" class="more-link">Continue reading<span class="screen-reader-text"> "Google&#8217;s closure Tools jetzt opensource"</span></a></p>
The post <a href="https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/">Google’s closure Tools jetzt opensource</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Google <a href="http://googlecode.blogspot.com/2009/11/introducing-closure-tools.html">wirft</a> seine Closure Tools in den open source Topf.</p>
<p>Das ist einmal die <a href="http://code.google.com/closure/library">Closure Library</a>, ein JS Framework. Wenn ich das auf den ersten Blick richtig erkannt habe, geht das in eine ähnliche Richtung wie zb. jQuery UI.</p>
<p>Der <a href="http://code.google.com/closure/compiler">Closure Compiler</a> ist ein Javascript Optimizer der Code viel viel viel schneller machen soll.<br />
Um den dann auch weiterhin debuggen zu können gibt es den <a href="http://code.google.com/closure/compiler/docs/inspector.html">Closure Inspector</a> in Form einer Firebug Extension direkt dazu.<span id="more-516"></span></p>
<p>Desweiteren gehören auch noch die <a href="http://code.google.com/closure/templates">Closure Templates</a> zu dem Release, ein &#8220;sprachunabhängiges&#8221; Template System.</p>
<p>Mindestens die ersten beiden davon klingen durchaus interessant, vor allem wenn der Compiler mal hält was google verspricht.</p>
<blockquote><p>The compiler removes dead code, then rewrites and minimizes what&#8217;s left so that it will run fast on browsers&#8217; JavaScript engines. The compiler also checks syntax, variable references, and types, and warns about other common JavaScript pitfalls. These checks and optimizations help you write apps that are less buggy and easier to maintain.</p></blockquote>The post <a href="https://nerdpress.org/2009/11/06/googles-closure-tools-jetzt-opensource/">Google’s closure Tools jetzt opensource</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Javascript Code Quality Checker</title>
		<link>https://nerdpress.org/2009/11/04/javascript-code-quality-checker/</link>
					<comments>https://nerdpress.org/2009/11/04/javascript-code-quality-checker/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 04 Nov 2009 09:01:18 +0000</pubDate>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[Software engineering]]></category>
		<category><![CDATA[coding conventions]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[online tool]]></category>
		<category><![CDATA[qs]]></category>
		<category><![CDATA[qualitätssicherung]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=506</guid>

					<description><![CDATA[<p>JSLint ist ein Tool zur statischen Codeanalyse wie bspw. Checkstyle, den einem die Javaprofs gerne mal im ersten Semester OOP aufzwingen. JSLint prüft, wie der Name schon sagt &#8211; Javascript-Code. Aber Vorsicht: JSLint will hurt your feelings! Kleine Randnotiz: Der hier muss natürlich wieder rumstänkern, aber das gehört wohl zu jedem guten Nerd-Blogger, der etwas &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2009/11/04/javascript-code-quality-checker/" class="more-link">Continue reading<span class="screen-reader-text"> "Javascript Code Quality Checker"</span></a></p>
The post <a href="https://nerdpress.org/2009/11/04/javascript-code-quality-checker/">Javascript Code Quality Checker</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.jslint.com/">JSLint</a> ist ein Tool zur <a href="http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis">statischen Codeanalyse</a> wie bspw. <a href="http://checkstyle.sourceforge.net/">Checkstyle</a>, den einem die Javaprofs gerne mal im ersten Semester OOP aufzwingen. JSLint prüft, wie der Name schon sagt &#8211; Javascript-Code. Aber Vorsicht:</p>
<blockquote><p>JSLint will hurt your feelings!</p></blockquote>
<p>Kleine Randnotiz: <a href="http://dean.edwards.name/">Der hier</a> muss natürlich wieder <a href="http://dean.edwards.name/weblog/2006/06/jslint/">rumstänkern</a>, aber das gehört wohl zu jedem guten Nerd-Blogger, der etwas auf sich hält ;).</p>
<p>Diese Prüfwerkzeuge, die es mittlerweile für so gut wie jede neuere (nicht älter als &lt;&gt;20 Jahre) Programmiersprache gibt, stellen natürlich nur ein Mittel von vielen zur Qualitätssicherung in der Softwareentwicklung, außerdem ist <a href="http://code.google.com/p/swfupload/issues/detail?id=173">blindes Vertrauen</a> natürlich Fehl am Platze.</p>The post <a href="https://nerdpress.org/2009/11/04/javascript-code-quality-checker/">Javascript Code Quality Checker</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2009/11/04/javascript-code-quality-checker/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Web FTP / web based Filemanager tools im überblick</title>
		<link>https://nerdpress.org/2009/09/08/web-ftp-web-based-filemanager-tools-im-uberblick/</link>
					<comments>https://nerdpress.org/2009/09/08/web-ftp-web-based-filemanager-tools-im-uberblick/#comments</comments>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Tue, 08 Sep 2009 14:23:32 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[webftp]]></category>
		<guid isPermaLink="false">https://nerdpress.org/?p=137</guid>

					<description><![CDATA[<p>Eine Übersicht über 6 webFTP / Filemanager Tools verspricht dieser Artikel hier: http://www.dreamcss.com/2009/07/file-managers-based-on-jquery-ajax-php.html if you looking for Free and powerful File Managers Based on jQuery , Ajax and php ready to use in your web projects and easy to customize , take a look at this list with Free and powerful File Managers using jQuery/Ajax/php &#8230; </p>
<p class="link-more"><a href="https://nerdpress.org/2009/09/08/web-ftp-web-based-filemanager-tools-im-uberblick/" class="more-link">Continue reading<span class="screen-reader-text"> "Web FTP / web based Filemanager tools im überblick"</span></a></p>
The post <a href="https://nerdpress.org/2009/09/08/web-ftp-web-based-filemanager-tools-im-uberblick/">Web FTP / web based Filemanager tools im überblick</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p>Eine Übersicht über 6 webFTP / Filemanager Tools verspricht dieser Artikel hier:</p>
<p><a href="http://www.dreamcss.com/2009/07/file-managers-based-on-jquery-ajax-php.html">http://www.dreamcss.com/2009/07/file-managers-based-on-jquery-ajax-php.html</a></p>
<blockquote><p>if you looking for Free and powerful <strong><span>File Managers <span> </span></span></strong></p>
<p><strong> </strong></p>
<p><strong><input name="IL_MARKER" type="hidden" />Based<span> on jQuery , <span style="color: #404040; font-size: 14px; font-style: normal; font-family: Verdana,Arial,Helvetica,sans-serif; text-decoration: underline;">Ajax</span> and php </span></strong><span><span style="color: #404040; font-size: 14px; font-weight: 400; font-style: normal; font-family: Verdana,Arial,Helvetica,sans-serif; text-decoration: underline;">ready to use</span><span><span> in your web projects and easy to customize , take a look at this list with Free and powerful File Managers using jQuery/Ajax/php</span></span></span></p></blockquote>
<p>Ich <span style="text-decoration: line-through;">finde</span> fand <a href="http://www.ecosmear.com/relay/">Relay</a> (<a href="http://ecosmear.com/relay/demo/">demo</a>) <span style="text-decoration: line-through;">sieht</span> sah am besten aus.<br />
v0.1 beta klang dann schon nicht mehr ganz so hervorragend&#8230;<br />
und das upload script heisst auch nicht ohne Grund &#8220;upload.pl&#8221;<span id="more-137"></span></p>
<p>damit war das Thema dann erstmal wieder erledigt an der Stelle.</p>
<p><a href="http://www.solitude.dk/filethingie/">File Thingie</a> hat sich aber als garnicht so albern wie sein Name herausgestellt und ist meiner Meinung nach ein ganz brauchbares Tool.</p>
<p>User und groups muss man allerdings per config file anlegen, ein admin Backend gibt es nicht.<br />
Aber dafür sind die Systemvoraussetzungen (php4, apache) überschaubar.</p>The post <a href="https://nerdpress.org/2009/09/08/web-ftp-web-based-filemanager-tools-im-uberblick/">Web FTP / web based Filemanager tools im überblick</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
					<wfw:commentRss>https://nerdpress.org/2009/09/08/web-ftp-web-based-filemanager-tools-im-uberblick/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Snippet APP für den mac</title>
		<link>https://nerdpress.org/2009/09/06/snippet-app-mac/</link>
		
		<dc:creator><![CDATA[Max Girkens]]></dc:creator>
		<pubDate>Sat, 05 Sep 2009 23:01:50 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">http://nerdpress.maxgirkens.de/?p=64</guid>

					<description><![CDATA[<p>Snippet ist so eine Art betriebssystemweite Codeschnipselverwaltung. Praktisch wenn man auch mal außerhalb der Lieblings IDE unterwegs ist und / oder wenn man gerade nicht die O&#8217;Reilly RegEx Eule auf der Schulter sitzen hat. Das gibt es außerdem als kostenlose Web Version hier: http://google.de. hier: http://snipt.net/.</p>
The post <a href="https://nerdpress.org/2009/09/06/snippet-app-mac/">Snippet APP für den mac</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="http://snippetapp.com">Snippet</a> ist so eine Art betriebssystemweite <span style="text-decoration: line-through;">Code</span>schnipselverwaltung.</p>
<p>Praktisch wenn man auch mal außerhalb der Lieblings IDE unterwegs ist und / oder wenn man gerade nicht die <a href="http://oreilly.com/catalog/9780596528126/">O&#8217;Reilly RegEx Eule</a> auf der Schulter sitzen hat.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="403" height="228" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5483670&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="403" height="228" src="https://vimeo.com/moogaloop.swf?clip_id=5483670&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Das gibt es außerdem als kostenlose Web Version <span style="text-decoration: line-through;">hier: <a href="http://google.de">http://google.de</a>.</span></p>
<p>hier: <a href="http://snipt.net/">http://snipt.net/</a>.</p>The post <a href="https://nerdpress.org/2009/09/06/snippet-app-mac/">Snippet APP für den mac</a> first appeared on <a href="https://nerdpress.org">Nerdpress.org</a>.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
