Skip to content

Instantly share code, notes, and snippets.

View productiveme's full-sized avatar

Jaco Swarts productiveme

View GitHub Profile
@productiveme
productiveme / install-meteor-aarch64.sh
Created September 17, 2022 06:24
Install meteor on arm64 workaround - cloned from HeartHeroDE
#!/bin/sh
# This is the Meteor alternative install script!
#
# The official installation is using:
# npm install -g meteor.
#
# Read more https://www.meteor.com/developers/install
#
# To install using this alternative method run on Mac or Linux:
@productiveme
productiveme / fixmouselag.sh
Created December 21, 2020 10:15
Fix bluetooth mouse lag on Ubuntu
#!/bin/bash
MouseIdentifierString="Mouse"
writeOpts() {
sudo cat <<'EOF' | sudo tee -a /var/lib/bluetooth/$1/$2/info
[ConnectionParameters]
MinInterval=6
MaxInterval=7
Latency=0
@productiveme
productiveme / typescript project with jest.md
Last active February 21, 2021 08:56
Setup a new Typescript project in Visual Studio Code with jest for testing. Inspiration from https://medium.com/@RupaniChirag/writing-unit-tests-in-typescript-d4719b8a0a40
@productiveme
productiveme / Wallpaper.py
Created September 11, 2012 12:37
New random wallpapers from wallbase.cc/search/nature on both screens
#!/usr/bin/env python
import re
import mechanize
from BeautifulSoup import BeautifulSoup
from array import array
import random
import ctypes
import os
import md5
import pprint