This file contains hidden or 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
| # name: Google Search | |
| # description: Search Google for stuff. | |
| # keyword: google | |
| # homepage: http://google.com | |
| bolt.run -> | |
| if command.hasQuery | |
| url = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q="+command.query+"&callback=?" | |
| http.getJSON url, (data) -> |
This file contains hidden or 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
| # name: Github | |
| # description: search github | |
| # keyword: github | |
| bolt.run -> | |
| if command.hasQuery | |
| log command.query | |
| url = "https://api.github.com/legacy/repos/search/#{command.query}?callback=?" | |
| http.getJSON url, (data) -> | |
| log data |
This file contains hidden or 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
| package main | |
| import "fmt" | |
| import "os" | |
| import "net/url" | |
| import "bufio" | |
| func main() { | |
| scanner := bufio.NewScanner(os.Stdin) | |
| for scanner.Scan() { |
This file contains hidden or 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 "rest-client" | |
| require "orca/extensions/apt" | |
| require "orca/extensions/file_sync" | |
| group 'server' do | |
| node 'kent-web-1', 'xxx.xxx.xxx.xxx', :test_url => 'http://mysite.com/' | |
| end | |
| package 'app' do | |
| depends_on 'deploy-user' |
This file contains hidden or 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
| .aspectWrapper { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .wrapper { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; |
This file contains hidden or 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
| declare module 'slate-react' { | |
| import * as Slate from 'slate' | |
| import * as Immutable from 'immutable' | |
| import { ReactNode } from 'react' | |
| type RenderMarkProps = { | |
| mark: { type: string }, | |
| children: ReactNode | |
| } |
OlderNewer