I hereby claim:
- I am amoose on github.
- I am amos (https://keybase.io/amos) on keybase.
- I have a public key ASDmRiHhP-2pFmrNzmSZabw9-HVmo0EfDVtugku_m8g-Wgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
➜ fugacious git:(master) ✗ bin/heroku | |
.----------------. | |
:s----------------s/ | |
++ +s- :s/ ++ /s: /s/ | |
++ sd: -dy` ++ sd/ +d+ |
Verifying that +astone is my blockchain ID. https://onename.com/astone |
➜ answers git:(feature/227_new-app-command-plus-lib-core) ✗ ./bin/answers MyApp | |
create | |
create README.rdoc | |
create Rakefile | |
create config.ru | |
create .gitignore | |
create Gemfile | |
create app | |
create app/assets/javascripts/application.js | |
create app/assets/stylesheets/application.css |
require 'yaml' | |
namespace 'import' do | |
desc "Imports sample Answers data from fixtures/articles.yml" | |
task :articles => :environment do | |
puts "Loading Answers data from spec/fixtures/articles.yml" | |
@questions = YAML::load_file('spec/fixtures/articles.yml') | |
require 'searchkick' | |
module SearchkickSyn | |
def searchkick_index_options | |
# fetch index options | |
options = super | |
# inject Synonym filter for default index and searchkick search | |
options[:settings][:analysis][:analyzer][:default_index][:filter].push "synonym" | |
options[:settings][:analysis][:analyzer][:searchkick_search][:filter].push "synonym" |
INSERT INTO dbpermissionrequests | |
SELECT username, | |
servername, | |
dbname, | |
accesstype, | |
Getdate() AS reqDate, | |
projectid, | |
'EXTENSION [999]: ', | |
'1' AS isActive | |
FROM dbpermissionrequests |
I hereby claim:
To claim this, I am signing this object:
development: | |
adapter: sqlite3 | |
database: db/development.sqlite3 | |
pool: 5 | |
timeout: 5000 |
$(function() { | |
OAuth.initialize('public key'); | |
$('.login').click(function(e) { | |
e.preventDefault(); | |
OAuth.popup('myusa', function(error, result) { | |
$.ajax({ | |
url: 'http://my.usa.gov/api/profile?access_token='+result.access_token, | |
headers: { 'Authorization': "Bearer "+result.access_token }, | |
success: function(data) { |