Skip to content

Instantly share code, notes, and snippets.

View waltzaround's full-sized avatar
🍔
🍔🍔🍔

Walter Lim waltzaround

🍔
🍔🍔🍔
View GitHub Profile
.scaffold-layout__aside {
display: none;
}
.scaffold-layout__content--has-aside {
grid-template-columns: 1fr !important;
gap: 0 !important;
}
.scaffold-layout__inner {
width: 100% !important;
@waltzaround
waltzaround / method.md
Last active May 20, 2023 22:58
Taxreceipt.co.nz Methodology

Taxreceipt.co.nz Methodology

All calculations on this website are based off the 2023 Budget Economic and Fiscal Update published by treasury.govt.nz and is verifiable on this GitHub repository

Data was pulled from the PDF, then aggregated and stored at https://github.com/waltzaround/tax-receipts/blob/master/src/values.json

Figures are taken from Core Crown Expense Tables using 2022 Actual Spend Figures and calculations work as follows

This website doesn't account for borrowing, appropriations, and spending for the current year as the only data available for current year spending are forecasts, and subject to change.

@waltzaround
waltzaround / taxcalc.md
Created May 20, 2023 22:53
How to more accurately calculate your tax contribution (Draft)

For most people, just putting down your income and total spend will get you 99% of the way there

But, if you want to be more accurate, then input the following calculation the any other tax payments input field on the website

Eight Dollars Privacy Policy

This extention processes and handles everything locally on your machine. We don't collect any data about your Twitter account, or activity on twitter.

You have the right to ask for a copy of any personal information we hold about you, and to ask for it to be corrected if you think it is wrong. If you’d like to ask for a copy of your information, or to have it corrected, please contact us at waltissomewhere at gmail.com

Document last updated 21 November 2022

Error: connect ETIMEDOUT potato.potato.potato.potato:potato
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
message: 'Missing credentials in config',
errno: -60,
code: 'CredentialsError',
syscall: 'connect',
address: 'potato.potato.potato.potato',
port: 80,
time: 2200-03-14T10:25:04.678Z,
originalError: {

Pew Pew VR Privacy Policy

We collect the following data to make the game function:

  • Microphone Input - This data is not stored on or transmitted out of your device.

We use this information in order to:

  • Make the game function - This data is not stored on or transmitted out of your device.

Providing this information is optional. If you choose not to grant microphone access, you'll be unable to play the game as it requires a way to hear you make PEW PEW PEW noises.

export default () => [
{
key: 'habout',
text: 'About',
href: '/about'
},
{
key: 'horgs',
text: 'Organisations',
href: '/orgs'
import styled from 'styled-components'
import PropTypes from 'prop-types'
import Link from 'next/link'
import { withRouter } from 'next/router'
import { Menu, Avatar } from 'antd'
const { SubMenu } = Menu
const StyledMenu = styled(Menu)`
font-weight: bold;
letter-spacing: -0.6px;
var Car = function() {
// this is a private variable
var speed = 10;
// these are public methods
this.accelerate = function(change) {
speed += change;
};
// iterate through the number of objects in the array
// check first names against firstName
// does it have the property we are looking for? if it does, carry on to the next line
// then return the property we are looking for
// otherwise...
// return the fact that we dont have the property we are looking for
// if we dont have the property or the name...
// then return the fact that we dont have the name in our objects