Skip to content

Instantly share code, notes, and snippets.

Avatar

Heinrich Hartmann HeinrichHartmann

View GitHub Profile
@marshyski
marshyski / luajit-luarocks-osx.sh
Last active Mar 20, 2019
LuaJIT and luarocks on Mac OS X El Capitan
View luajit-luarocks-osx.sh
# This is to install both on OS X if you don't want to use homebrew
# xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcode-select --install
curl -O http://luajit.org/download/LuaJIT-2.0.4.zip
unzip LuaJIT-2.0.4.zip
cd LuaJIT-2.0.4
make && make install
curl -O http://keplerproject.github.io/luarocks/releases/luarocks-2.3.0.tar.gz
@andrequeiroz
andrequeiroz / holtwinters.py
Last active Jun 14, 2021
Implementation of Holt-Winters algorithms in Python 2
View holtwinters.py
#The MIT License (MIT)
#
#Copyright (c) 2015 Andre Queiroz
#
#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
#furnished to do so, subject to the following conditions: