Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
#ack is a tool like grep, designed for programmers with large trees of heterogeneous source code | |
#to install ack, see http://betterthangrep.com/ | |
#to use ack, launch terminal (mac osx) and type 'ack <some_keywords>' | |
#ack will search all files in the current directory & sub-directories | |
#here's how I have my config file setup. this file is located on mac osx here | |
# ~/.ackrc | |
# Always sort the files |
[ | |
{ "keys": ["super+0"], "command": "reset_font_size_to_user_defaults" } | |
] |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
<!--BracketHighlighter--> | |
<dict> | |
<key>name</key> | |
<string>Bracket Unmatched</string> | |
<key>scope</key> | |
<string>brackethighlighter.unmatched</string> | |
<key>settings</key> | |
<dict> | |
<key>foreground</key> | |
<string>#FF0000</string> |
#! /usr/bin/env python | |
""" | |
The MIT License (MIT) | |
Copyright (c) 2013 Hannes Bretschneider | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to |
library(yhatr) | |
model.require <- function() { | |
library(plyr) | |
} | |
model.transform <- function(df) { | |
df | |
} |
#!/usr/bin/env python | |
import operator | |
from math import sqrt | |
from reader import PreferenceReader | |
class SimilarityScoring(PreferenceReader): | |
""" | |
Extends the preference reader class to give our data structure the |
# coding=UTF-8 | |
from __future__ import division | |
import nltk | |
import re | |
import requests | |
# Add your freebase key here | |
# If you don't have one, register at https://code.google.com/apis/console | |
FREEBASE_KEY = "" |
{%- extends 'full.tpl' -%} | |
{% block input_group -%} | |
<div class="input_hidden"> | |
{{ super() }} | |
</div> | |
{% endblock input_group %} | |
{%- block header -%} | |
{{ super() }} |
This is the Qt for Mac OS X Open Source Edition. | |
You are licensed to use this software under the terms of | |
the Lesser GNU General Public License (LGPL) versions 2.1. | |
You are also licensed to use this software under the terms of | |
the GNU General Public License (GPL) versions 3. | |
You have already accepted the terms of the license. |