- #multirpg
BakaShiMoe
######################################################################## | |
## | |
## yano's .bashrc | |
## | |
######################################################################## | |
######################################## | |
## general settings | |
######################################## |
#!/usr/bin/env python | |
""" | |
signups.py - Signups Module | |
Copyright 2011 - Michael Yanovich, yanovich.net | |
Licensed under the Eiffel Forum License 2. | |
This module collects a list of names by people who type ".signup" | |
and then displays them. | |
""" |
#!/bin/bash | |
python -c ' | |
import sys, unicodedata | |
s = "u" | |
for i in xrange(1, 3000): | |
if unicodedata.category(unichr(i)) == "Mn": | |
s += unichr(i) | |
if len(s) > 100: break | |
sys.stdout.write(s.encode("utf-8")) |
Let's say you have a gist (public or private) and someone forks it and makes changes to it. Awesome! However, now you want to merge in their changes to your gist. Unfortunately, it doesn't seem GitHub supports this via their website at the moment, however, you can still merge the gists with 'git' on the command line.
You want to clone your gist. You can locate the link for this under "Clone this gist"
➜ ~/dev » git clone https://gist.github.com/5315168.git
Cloning into '5315168'...
remote: Counting objects: 6, done.
#!/usr/bin/env python | |
import feedparser | |
loc = raw_input("Please input county code: ") | |
feed_url = 'http://alerts.weather.gov/cap/wwaatmget.php?x=%s' % (loc) | |
feed = feedparser.parse(feed_url) | |
for x in feed.entries: | |
a = x["title"] |
#!/usr/bin/env python | |
import curses | |
import curses.textpad | |
import time | |
stdscr = curses.initscr() | |
#curses.noecho() | |
#curses.echo() |
5|BBC - Science & Enviroment (video)|http://feeds.bbci.co.uk/news/video_and_audio/science_and_environment/rss.xml | |
7|BBC - Science & Environmen|http://feeds.bbci.co.uk/news/science_and_environment/rss.xml | |
4|NPR - Science|https://www.npr.org/rss/rss.php?id=1007 | |
7|Ars Technica - Science|http://feeds.arstechnica.com/arstechnica/science | |
13|Scientific American|http://rss.sciam.com/basic-science | |
5|Reuters|https://feeds.feedspot.com/infiniterss.php?followfeedid=81905&q=site:http%3A%2F%2Ffeeds.reuters.com%2Freuters%2FscienceNews | |
5|NSF - Discoveries|http://www.nsf.gov/rss/rss_www_discoveries.xml | |
2|NYT - Science|https://rss.nytimes.com/services/xml/rss/nyt/Science.xml | |
4|NYT - Space|https://rss.nytimes.com/services/xml/rss/nyt/Space.xml | |
4|NIST|https://www.nist.gov/news-events/news/rss.xml |
These steps assume you have already gone through the steps of enabling the Linux Subsystem for Windows 10 and that you have installed a distribution, prferrably a Debian-based distribution such as Ubuntu.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
lxrun /install /y