Skip to content

Instantly share code, notes, and snippets.

import time
import GPUtil
import psutil
import pyautogui
# Check https://youtu.be/OGKQ6krf5O0 for a demo
# Required software
# Python 3 (https://www.python.org/downloads/) (with installation: check add to PATH)
# psutil (pip install psutil) or (pip3 install psutil)

European Union VAT (Value Added Tax)

Selling to individuals and entrepreneurs within an European Union country

When selling to individual or entrepreneurs in the country itself, the tax rate of that country is applied. When selling to entrepreneurs a VAT numbers given at the point of purchase. This VAT number along with other company information is noticed at the invoice. With this invoice the buyer (entrepreneur) can recover the VAT charges when doing taxes.

Example: Selling a product in The Netherlands (EU) to an individual: product price + 21% VAT Example: Selling a product in The Netherlands (EU) to an entrepreneur: product price + 21% VAT (can be recovered later)

import Ember from 'ember';
export default Ember.Controller.extend({
percentage: 0.21,
actions: {
increment(value) {
this.incrementProperty('percentage', value);
},
decrement(value) {
@sjonkeesse
sjonkeesse / controllers.application.js
Last active March 25, 2016 15:30
Wrong pointer value
import Ember from 'ember';
export default Ember.Controller.extend({
percentage: 0.21,
actions: {
increment(value) {
this.incrementProperty('percentage', value);
},
decrement(value) {