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 'twitter' | |
class SiriProxy::Plugin::Twitter < SiriProxy::Plugin | |
def initialize(config = {}) | |
@config = config | |
::Twitter.configure do |config| | |
config.consumer_key = @config['consumer_key'] | |
config.consumer_secret = @config['consumer_secret'] | |
config.oauth_token = @config['oauth_token'] |
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 'cora' | |
require 'siri_objects' | |
require 'pp' | |
class SiriProxy::Plugin::Youtube < SiriProxy::Plugin | |
def initialize(config) | |
#if you have custom configuration options, process them here! | |
end |
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 'cora' | |
require 'siri_objects' | |
require 'pp' | |
class SiriProxy::Plugin::Example < SiriProxy::Plugin | |
def initialize(config) | |
#if you have custom configuration options, process them here! | |
end |
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: 'Example' | |
path: './plugins/siriproxy-example' | |
- name: 'Launcher' | |
git: 'git://github.com/bikr/siriproxy-launcher.git' | |
path: '/Users/Nick/Desktop/SiriProxy/plugins/siriproxy-launcher' | |
- name: 'HockeyScores' | |
git: 'git://github.com/senmu/SiriProxy-HockeyScores.git' | |
path: '/Users/Nick/Desktop/SiriProxy/plugins/SiriProxy-HockeyScores' |
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
####### | |
# This is a "hello world" style plugin. It simply intercepts the phrase "text siri proxy" and responds | |
# with a message about the proxy being up and running (along with a couple other core features). This | |
# is good base code for other plugins. | |
# | |
# Remember to add other plugins to the "config.yml" file if you create them! | |
###### | |
class SiriProxy::Plugin::test < SiriProxy::Plugin | |
def initialize(config) |
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
Nick-Hallowells-MacBook-Pro:Desktop Nick$ siriproxy bundle | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git |
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
port: 443 | |
log_level: 1 | |
plugins: | |
# NOTE: run bundle after changing plugin configurations to update required gems | |
# - name: 'Example' | |
# path: './plugins/siriproxy-example' | |
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
Nick-Hallowells-MacBook-Pro:Desktop Nick$ siriproxy bundle | |
The path `/Users/Nick/Desktop/SiriProxy/plugins/siriproxy-macintosh ` does not exist. | |
Nick-Hallowells-MacBook-Pro:Desktop Nick$ /Users/Nick/Desktop/SiriProxy/plugins/siriproxy-macintosh | |
-bash: /Users/Nick/Desktop/SiriProxy/plugins/siriproxy-macintosh: is a directory | |
Nick-Hallowells-MacBook-Pro:Desktop Nick$ |
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
# -*- encoding: utf-8 -*- | |
$:.push File.expand_path("../lib", __FILE__) | |
Gem::Specification.new do |s| | |
s.name = "siriproxy-macintosh" | |
s.version = "0.0.1" | |
s.authors = ["loris1634"] | |
s.email = [""] | |
s.homepage = "" | |
s.summary = %q{To control your macintosht} |
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
Nick-Hallowells-MacBook-Pro:~ Nick$ /Users/Nick/Desktop/SiriProxy/plugins/siriproxy-macintosh/siriproxy-macintosh.gemspec ; exit; | |
/Users/Nick/Desktop/SiriProxy/plugins/siriproxy-macintosh/siriproxy-macintosh.gemspec: line 2: syntax error near unexpected token `(' | |
/Users/Nick/Desktop/SiriProxy/plugins/siriproxy-macintosh/siriproxy-macintosh.gemspec: line 2: `$:.push File.expand_path("../lib", __FILE__)' | |
logout | |
[Process completed] |
NewerOlder