Status: UNCHANGED
+-------------------+--------------------------+
| Application XXXX |
+-------------------+--------------------------+
| Application Type | Commodity Classification |
| Review Status | Completed |
| Registration Date | 01/01/2015 |
| Completion Date | 01/02/2015 |
| Final Decision | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
"Fixing common Unicode mistakes with Python — after they’ve been made" | |
Adapted for use in Python 3.x from: | |
http://blog.luminoso.com/2012/08/20/fix-unicode-mistakes-with-python/ | |
""" | |
def fix_bad_unicode(text): | |
u""" |
If you are me and you like node, but are on a sort of adventure tour through Android, you might be wondering 'what's the x for y'? Here are the mental mappings I've been unconsciously forming.
Node | Android |
---|---|
mikeal/request | okhttp |
npm (cli) | gradle |
npmjs.org | sonatype |
jshint | checkstyle |
underscore | guava |
mocha | junit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// normal express stuff | |
app.set('view engine', 'jsx'); | |
app.engine('jsx', require('express-react-views').__express); | |
// the rest of it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+k", "super+i"], "command": "gist" }, | |
{ "keys": ["super+k", "super+p"], "command": "gist_private" }, | |
{ "keys": ["super+k", "super+s"], "command": "gist_update_file" }, | |
{ "keys": ["super+k", "super+o"], "command": "gist_list" }, | |
{ "keys": ["super+k", "super+["], "command": "insert_gist_list" }, | |
{ "keys": ["super+k", "super+]"], "command": "gist_add_file" } | |
] |
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "drb" | |
require "monitor" | |
require "socket" | |
module Shared | |
class DistributedObject | |
include MonitorMixin | |
attr_reader :pid, :uri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Jie Bao, 2013-07-16 | |
# [email protected] | |
# simple Naive Bayes classifier | |
import nltk | |
from nltk.corpus import movie_reviews | |
import random | |
import os | |
import json |
- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# K-means clustering using Lloyd's algorithm in pure Python. | |
# Written by Lars Buitinck. This code is in the public domain. | |
# | |
# The main program runs the clustering algorithm on a bunch of text documents | |
# specified as command-line arguments. These documents are first converted to | |
# sparse vectors, represented as lists of (index, value) pairs. | |
from collections import defaultdict |
NewerOlder