Skip to content

Instantly share code, notes, and snippets.

@rseaman
rseaman / gist:714d50a7e38c11956e468f791de35918
Created November 17, 2023 00:38 — forked from 480/gist:3b41f449686a089f34edb45d00672f28
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# This garbage code is just here to demonstrate an idea :)
import key # We're pretending this is a module that can tell us when a key is pressed.
# Pretend these are RGB values. Also you would probably want a multi-dimensional array to check
# but again, let's keep it simple here.
light1 = [0, 0, 0]
light2 = [0, 0, 0]
light3 = [0, 0, 0]
@rseaman
rseaman / my_map.geojson
Last active August 29, 2015 14:18
my_map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
### Keybase proof
I hereby claim:
* I am rseaman on github.
* I am rileyseaman (https://keybase.io/rileyseaman) on keybase.
* I have a public key whose fingerprint is 2687 C56A 914C 81A4 D356 8C94 B634 2C46 D352 46E5
To claim this, I am signing this object:
# file1
thing1
thing2
thing3
thing4
# The BASH
for i in `cat file1`; do
echo $i;
@rseaman
rseaman / python_resources.md
Created January 20, 2014 16:35 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@rseaman
rseaman / 0_reuse_code.js
Created January 20, 2014 16:35
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console