Skip to content

Instantly share code, notes, and snippets.

View copystar's full-sized avatar

Mita copystar

View GitHub Profile
@copystar
copystar / index.html
Last active January 29, 2017 00:56
mapzen + sandwich
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bells and Whistles</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css">
<script src="https://mapzen.com/js/mapzen.min.js"></script>
<style>
#map {
height: 100%;
@copystar
copystar / index.html
Last active January 29, 2017 00:34
Starting with mapzen
<!DOCTYPE html>
<html lang="en">
<head>
<title>One Minute Map</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css">
<script src="https://mapzen.com/js/mapzen.min.js"></script>
<style>
#map {
height: 100%;
@copystar
copystar / QuestionBibliographParasing
Last active December 22, 2016 08:10
How to use bibliograph.parsing?
I'm hoping to do some citation analysis.
I want to count from a set of Web of Science records:
How many come from a particular institution? How many from that set are from a particular publisher?
I know this is possible if I learn BibTex.
But that's sounds like a lot of work for really just counting items in a set.
I found a Python module called bibliograph.parsing that sounds promising.
It takes citations of various formats and returns them in a Python dictionary.
And I know that there are a lot of Python commands for counting items within dictionaries.
@copystar
copystar / gist:d4914786e306856e4fc5
Last active June 1, 2016 16:02
House of 1000 Blank White Twitter Cards

"1000 Blank White Cards is a party game played with cards in which the deck is created as part of the game... Since any game rules are contained on the cards (rather than existing as all-encompassing rules or in a rule book), 1000 Blank White Cards can be considered a sort of nomic. It can be played by any number of players and provides the opportunity for card creation and gameplay outside the scope of a single sitting. Creating new cards during the game, dealing with previous cards' effects, is allowed, and rule modification is encouraged as an integral part of gameplay.

https://en.wikipedia.org/wiki/1000_Blank_White_Cards

To play this game, you reply to this account: https://twitter.com/1000WhiteCards

I will keep track of the rules... here:

Rule 1. TEXT MUST BE IN ALL CAPS
Rule 2. EVERY TENTH CARD MUST CONTAIN A TAUTOLOGY
Rule 3. 5PTS IF YOU REWORK AN OBLIQUE STRATEGY. IT IS SIMPLY A MATTER OF REWORK

@copystar
copystar / dual-boot-help
Last active August 29, 2015 14:04
Can you help me figure out how to partiton my drive so I can dual boot my Windows 7 machine with Ubuntu?
I have a brand new laptop with Windows 7 pre-installed. I would like to make my laptop dual boot with Ubuntu. But I've run into a road block. Can you help me get past it? Here's what I've done so far:
1.0: I created a bootable USB stick as per these instructions: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows
2.0: I started the installation process as per : http://www.ubuntu.com/download/desktop/install-ubuntu-desktop
2.4: The start up screen in the instructions give an option to "Install Ubuntu alongside Windows 7" but this option doesn't appear for me. Instead, there is only an advanced option to partiton the drive.
I have no idea how to do this.
Following the advice on this page,
http://askubuntu.com/questions/163962/install-alongside-option-missing-how-do-i-install-ubuntu-beside-windows-using
@copystar
copystar / schools.geojson
Created May 26, 2014 23:27
Schools in Windsor Essex
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@copystar
copystar / gist:9982346
Created April 4, 2014 20:16
keybase.md
### Keybase proof
I hereby claim:
* I am copystar on github.
* I am copystar (https://keybase.io/copystar) on keybase.
* I have a public key whose fingerprint is 446C D0C1 7084 5379 981A 27F1 0DD4 D726 00AB D692
To claim this, I am signing this object:
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"name":"002","desc":"29-JUL-13 12:04:58PM","ele":"191.4267578","sym":"Flag, Blue"},"geometry":{"type":"Point","coordinates":[-83.068185,42.3074619]}},{"type":"Feature","properties":{"name":"003","desc":"29-JUL-13 12:06:52PM","ele":"173.4022217","sym":"Flag, Blue"},"geometry":{"type":"Point","coordinates":[-83.0679618,42.3068606]}},{"type":"Feature","properties":{"name":"004","desc":"29-JUL-13 12:08:51PM","ele":"189.2639160","sym":"Flag, Blue"},"geometry":{"type":"Point","coordinates":[-83.0678824,42.3057836]}},{"type":"Feature","properties":{"name":"005","desc":"29-JUL-13 12:10:51PM","ele":"182.0000000","sym":"Flag, Blue"},"geometry":{"type":"Point","coordinates":[-83.0678632,42.3048311]}},{"type":"Feature","properties":{"name":"006","desc":"29-JUL-13 12:11:56PM","ele":"184.4572754","sym":"Flag, Blue"},"geometry":{"type":"Point","coordinates":[-83.0677123,42.3050654]}},{"type":"Feature","properties":{"name":"007","desc":"29-JUL-13 12:13:5
@copystar
copystar / helloworldmap.json
Created June 13, 2013 18:41
testing github's new mapping feature with a sample from https://gist.github.com/wavded/1200773
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.