I hereby claim:
- I am jpetto on github.
- I am jpetto (https://keybase.io/jpetto) on keybase.
- I have a public key ASAYfGgtiDCmyzB3UoE2C9nOKkMIHkfmuTeBHApk401xggo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| { | |
| "key": "cmd+shift+w", | |
| "command": "editor.action.insertSnippet", | |
| "when": "editorTextFocus", | |
| "args": { | |
| "snippet": "{{ _('${TM_SELECTED_TEXT}') }}" | |
| } | |
| }, | |
| { | |
| "key": "cmd+shift+t", |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| import sys, os, re | |
| from subprocess import check_output | |
| prev_head = sys.argv[1] | |
| new_head = sys.argv[2] | |
| is_branch_checkout = sys.argv[3] | |
| if is_branch_checkout == "0": |
| {% block site_footer %} | |
| {% with new_links=True %} | |
| {% include 'includes/site-footer.html' %} | |
| {% endwith %} | |
| {% endblock %} |
| import React from 'react'; | |
| let Header = React.createClass({ | |
| propTypes: { | |
| 'subtitle': React.PropTypes.string.isRequired | |
| }, | |
| render: function() { | |
| return ( | |
| <header className="app-header"> | |
| <h1>List-o-matic</h1> |
| <!-- Import polymer component as basic building block. --> | |
| <link rel="import" href="bower_components/polymer/polymer.html"> | |
| <!-- Declare the custom element. --> | |
| <dom-module id="ewt-element"> | |
| <!-- Create a template (no need for an id). --> | |
| <template> | |
| <style> | |
| :host { | |
| display: block; |
| <?php | |
| $results = array(); | |
| $search = (array_key_exists('search', $_REQUEST)) ? $_REQUEST['search'] : ''; | |
| if ($search) : | |
| $BASE_URL = "http://query.yahooapis.com/v1/public/yql"; | |
| $yql_query = 'select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="' . $search . '")'; | |
| $yql_query_url = $BASE_URL . "?q=" . urlencode($yql_query) . "&format=json"; | |
| // Make call with cURL | |
| $session = curl_init($yql_query_url); |