Skip to content

Instantly share code, notes, and snippets.

View LuisRBarreras's full-sized avatar

Luis R Barreras LuisRBarreras

View GitHub Profile
@LuisRBarreras
LuisRBarreras / tasks.json
Created September 7, 2022 23:20 — forked from grabbou/tasks.json
A simple example of launching two long-running processes within Visual Studio Code to make working in monorepo easier
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Expo dev server",
"type": "shell",
"command": "cd ./apps/mobile && yarn start",
"presentation": {
"reveal": "always",
"panel": "new",
@LuisRBarreras
LuisRBarreras / beautiful_idiomatic_python.md
Created November 10, 2015 16:19 — forked from JeffPaine/beautiful_idiomatic_python.md
Transforming Code into Beautiful, Idiomatic Python: notes from Raymond Hettinger's talk at pycon US 2013. The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]: