Skip to content

Instantly share code, notes, and snippets.

View impmja's full-sized avatar
💭
Typing...

impmja impmja

💭
Typing...
View GitHub Profile
@impmja
impmja / hyper-v-enable-disable-on-windows.md
Created May 3, 2020 16:40
How to enable/disable Hyper-V on Windows

Enable / Disable Hyper-V on Windows

Use Powershell

Enable

$ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
@impmja
impmja / frontend-cheatsheets.md
Created December 17, 2018 20:53
Frontend: Cheatsheets
@impmja
impmja / vscode-mods.json
Last active September 16, 2022 05:35
Visual Studio Code: Mods
{
"recommendations": [
"CoenraadS.bracket-pair-colorizer",
"mikestead.dotenv",
"oderwat.indent-rainbow",
"robertohuertasm.vscode-icons",
"esbenp.prettier-vscode",
"jsynowiec.vscode-insertdatestring",
"alefragnani.project-manager",
"codezombiech.gitignore",
@impmja
impmja / ubuntu-mods.md
Last active December 2, 2018 14:59
Ubuntu: Mods
@impmja
impmja / hodl20.py
Created July 17, 2018 19:09 — forked from anthonytxie/hodl20.py
Hodl 20 Rebalancing Algorithm
def calc_allocations(self, date, quantity, cap):
"""Figure out ideal allocations for a given date"""
# {
# coin_name: (percent_allocation, data)
# }
top_market = self.get_top_market(date, quantity)
total_cap = sum([coin.market_cap for coin in top_market])
allocations = [{

Keybase proof

I hereby claim:

  • I am impmja on github.
  • I am impmja (https://keybase.io/impmja) on keybase.
  • I have a public key whose fingerprint is 99B2 DCFD 977C 2048 C4AD 6094 4BA1 E78E 03D3 C70A

To claim this, I am signing this object:

@impmja
impmja / godot-easing.gd
Last active May 28, 2016 16:02
This is a Godot Script (GDScript) ([http://www.godotengine.org/](http://www.godotengine.org/ "Godot Engine")) port of the Robert Penner's equations for easing. You can find much more information about it on [http://robertpenner.com/easing/](http://robertpenner.com/easing/ "Rober Penner - Easing").
# Easing Library
# This is a Godot Script (GDScript) (http://www.godotengine.org/) port of the Robert Penner's equations for easing. You can find much more information about it on http://robertpenner.com/easing/.
# This library is based off:
# * https://github.com/EmmanuelOga/easing
# * https://github.com/jesusgollonet/processing-penner-easing
# Disclaimer for Robert Penner's Easing Equations license:
@impmja
impmja / tk2dSpriteCollectionConstantsGenerator.cs
Created May 8, 2016 20:29
This Unity Editor extension generates a constant or enum C# file from a defined set of tk2dSpriteCollection prefabs. It's thereby only useful if you use the Unity 2D Toolkit: http://www.assetstore.unity3d.com/en/#!/content/908 - Enjoy
/*
The MIT License(MIT)
Copyright(c) 2016 Jan Schulte @ http://github.com/impmja
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is