tobywf / tobywf.github.io Goto Github PK
View Code? Open in Web Editor NEWSources for my static website
Home Page: https://tobywf.com
Sources for my static website
Home Page: https://tobywf.com
Page: https://tobywf.com/2017/05/installing-pyicu-on-macos/
super helpful but need to add this to the instructions or icu-config
can't be found:
$ PATH=/usr/local/Cellar/icu4c/<version>/bin/:$PATH pip install pyicu
Page: https://tobywf.com/2023/04/debouncing-switches/
Zero Debounce Delay for an SPST switch with an SR Latch.
Page: https://tobywf.com/2016/06/flask-always-use-application-factories/
if there are multi model.py, each model.py has db = SQLAlchemy()
, how do i execute db.init_app(app)
in create_app?
Page: https://tobywf.com/
And it made my day. Legit smiled reading that. 👍
Page: https://tobywf.com/2020/05/python-beginners-tips/
"Change" is incorrect in this sentence:
"Flask makes projects fun, and so increases your change of success. "
Page: https://tobywf.com/2017/04/howto-round-a-decimal-to-the-nearest-multiple/
Hi -- thanks for this code. I was running into the same issue. I ended up coming up with an alternative solution. I'm not sure if it exactly achieves the same thing, but here is my function that can work on a numpy array of values:
def round_up(amts, stepsize):
'''
round amts up to the nearest stepsize
'''
return np.ceil(amts/stepsize) * stepsize
Page: https://tobywf.com/2017/08/unicode-csv-excel/
Hey Toby, thank you very very much for sharing this fantastic tip! That's a really awesome one!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.