-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just need an interface to configure the search terms.
- Loading branch information
Showing
8 changed files
with
476 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
secrets.js |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* encoding: utf-8 | ||
**** Twitter linking plugin for jQuery.fn.linkify() 1.0 **** | ||
Version 1.0 | ||
Copyright (c) 2010 | ||
Már Örlygsson (http://mar.anomy.net/) & | ||
Hugsmiðjan ehf. (http://www.hugsmidjan.is) | ||
Dual licensed under a MIT licence (http://en.wikipedia.org/wiki/MIT_License) | ||
and GPL 2.0 or above (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html). | ||
*/ | ||
jQuery.extend(jQuery.fn.linkify.plugins, { | ||
twitterUser: { | ||
re: /(^|["'(]|<|\s)@([a-z0-9_-]+)((?:[:?]|\.+)?(?:\s|$)|>|[)"',])/gi, | ||
tmpl: '$1<a href="http://www.twitter.com/$2">@$2</a>$3' | ||
}, | ||
twitterHashtag: { | ||
// /\B#\w*[a-zA-Z]+\w*/gi // start at word boundry - must include at least one a-z - ends at word boundry | ||
re: /(^|["'(]|<|\s)(#.+?)((?:[:?]|\.+)?(?:\s|$)|>|[)"',])/gi, | ||
tmpl: function (match, pre, hashTag, post) { | ||
return pre+'<a href="http://www.twitter.com/search?q='+ encodeURIComponent(hashTag) +'">'+hashTag+'</a>'+post; | ||
} | ||
} | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
code secrets. copy to secrets.js, modify values, but don't commit. | ||
*/ | ||
function secrets(){ | ||
|
||
var secrets = { | ||
db_name : "", | ||
port: , | ||
prod_port : , | ||
twitter :{ | ||
consumer_key: '', | ||
consumer_secret: '', | ||
access_token_key: '', | ||
access_token_secret: '' | ||
|
||
}, | ||
instagram : { | ||
client_id: '', | ||
client_secret: '', | ||
} | ||
|
||
|
||
}; | ||
|
||
return secrets; | ||
|
||
} | ||
|
||
module.exports.secrets = secrets; |
Oops, something went wrong.