Skip to content

Instantly share code, notes, and snippets.

View GVRV's full-sized avatar
🎯
Focusing

Gaurav Dadhania GVRV

🎯
Focusing
View GitHub Profile
@GVRV
GVRV / bret_victor-reading_list.md
Created August 9, 2019 17:48 — forked from nickloewen/bret_victor-reading_list.md
Bret Victor’s Reading List

This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.


Highly recommended things!

This is my five-star list. These are my favorite things in all the world.

A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★

FWIW: I didn't produce the content present here. I've just copy-pasted it from somewhere over the Internet, but I cannot remember exactly the original source. I was also not able to find the author's name, so I cannot give him/her the proper credit.


Effective Engineer - Notes

What's an Effective Engineer?

Meteor.startup(function () {
Deps.autorun(function () {
var selected = Session.get("selected");
if (selected) {
var hiive = Hiives.findOne(selected);
if (hiive) {
Meteor.subscribe("messages", hiive._id);
Meteor.subscribe("activeUsers", hiive._id);
}
✘  ~/www/Hiive/sckor-in  ± master  ./deploy nko
○ deploying
○ hook pre-deploy
○ fetching updates
Fetching origin
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
error: Could not fetch origin
fetch failed
@GVRV
GVRV / joyent.txt
Created November 9, 2013 01:35
Joyent not able to reach Ubuntu keyserver
root@sckor-in:/usr/local/src/node/node-v0.10.18# ping keyserver.ubuntu.com
PING keyserver.ubuntu.com (91.189.89.49) 56(84) bytes of data.
From leszi.canonical.com (91.189.93.244) icmp_seq=11 Destination Host Unreachable
^C
--- keyserver.ubuntu.com ping statistics ---
15 packets transmitted, 0 received, +1 errors, 100% packet loss, time 14014ms
pipe 2
@GVRV
GVRV / api.py
Created August 13, 2013 08:49
tastypie example
# For address model
class AddressResource(ModelResource):
street_name = fields.CharField()
suburb = fields.CharField()
# For organization model
class OrganizationResource(ModelResource):
address = fields.ToOneField(AddressResource, 'address')
# Now when you get /api/v1/organization
@GVRV
GVRV / resources.txt
Created August 7, 2013 15:37
Python packaging talk resources
http://svn.python.org/projects/sandbox/trunk/setuptools/doc/formats.txt
https://python-packaging-user-guide.readthedocs.org/en/latest/index.html
http://guide.python-distribute.org/index.html
http://www.scotttorborg.com/python-packaging/everything.html
http://docs.python.org/2/install/index.html
http://docs.python.org/2/distutils/setupscript.html
http://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
http://pythonhosted.org/distribute/setuptools.html#automatic-script-creation

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discussions around concrete examples, not handy-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@GVRV
GVRV / readme.md
Last active December 2, 2015 19:29

Atom

Build Status Build status Dependency Status Join the Atom Community on Slack

Atom is a hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration...

Visit atom.io to learn more or visit the Atom forum.

@GVRV
GVRV / install-ruby.sh
Created October 30, 2012 07:57
install rvm and ruby 1.9.2 on Ubuntu 12.04
#!/usr/bin/env sh
# according to http://octopress.org/docs/setup/rvm/
# !! notice the line about bash and zsh!!!
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)