Skip to content

Instantly share code, notes, and snippets.

View tim-hub's full-sized avatar
:octocat:
Patience is Love

Tim tim-hub

:octocat:
Patience is Love
View GitHub Profile
@tim-hub
tim-hub / README.md
Created June 30, 2025 02:52 — forked from farqewe/README.md
NZ Broker Fees Comparison

NZ Share Brokers Fees Comparison

Discussion

Disclaimer: This is not financial advice. You are responsible for doing your own research before investing.

Overview

It can be difficult to know which broker is cheapest since the pricing structures are complex. This analysis attempts to figure out the total costs for a simple investor depositing a fixed amount of NZD every month, investing it using equal sized trades and then withdrawing everything after some number of years. Rate of return is assumed to be 7% annually for all investments. You can use a back-tester like Testfol.io to a more realistic idea of expected returns.

@tim-hub
tim-hub / list.md
Created June 24, 2025 21:13 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@tim-hub
tim-hub / converter.py
Created January 4, 2024 04:39 — forked from madjo/converter.py
Convert {parquet | orc} to json and orc to parquet
#! /usr/bin/env python
import pandas as pd
import argparse
import os
import pyarrow.orc as orc
# usage: ./converter.py --help
CONVERTERS = ['parquet2json', 'orc2json', 'orc2parquet']
@tim-hub
tim-hub / dockerised-wordpress.yml
Created April 15, 2023 03:31
docker compose file to start a wordpress blog in one go.
version: '3'
services:
# Database
db:
image: mariadb:latest
volumes:
- db_volume:/var/lib/mysql
- ./wp/db:/var/lib/mysql
restart: always
@tim-hub
tim-hub / web-to-native-stack.csv
Last active January 13, 2023 00:27
web native tech stacks all in one
Name Description
Apache Cordova The most early stack for web dev to use even in JQuery time; people use it
React Native as everyone knows
Expo based on React Native
Ionic An open source mobile UI toolkit for building modern; high quality cross-platform mobile apps from a single code base in React/Vue/Angular
Capacitor Capacitor creates Web Native apps; providing a modern native container approach for teams who want to build web-first without sacrificing full access to native SDKs when they need it.
Quasar based on Vue
@tim-hub
tim-hub / Spotify_Eliminate_Advertisements
Last active June 24, 2022 08:27 — forked from opus-x/Spotify_Eliminate_Advertisements
Eliminate Spotify Advertisements + Complete Server List
##################################################################################
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - UPDATED FREQUENTLY #
##################################################################################
#
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x.
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT
# OCCUR USING CHROMECAST / GOOGLE HOME.
#
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP.
# SUGGESTIONS? WRITE A COMMENT BELOW.
# initialise new project package environment
npm init
PIPENV_VENV_IN_PROJECT=1 pipenv install

# install major version of package P (and dependencies)
npm i P@1
pipenv install --selective-upgrade "P<2"
@tim-hub
tim-hub / meta-tags.md
Created January 9, 2020 07:00 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@tim-hub
tim-hub / 0.gif
Created June 17, 2019 09:51 — forked from simon300000/kkomda.jpg
→_→
0.gif
function get_browser() {
var ua = navigator.userAgent,
tem, M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
if (/trident/i.test(M[1])) {
tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
return {
name: 'IE',
version: (tem[1] || '')
};
}