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
/home/nerdsville/.rvm/gems/ruby-2.2.2/gems/rspec-rails-3.3.3/lib/rspec/rails/fixture_support.rb:20:in `block (2 levels) in <module:FixtureSupport>': undefined method `fixture_path' for #<RSpec::Core::Configuration:0x0000000234ef70> (NoMethodError) | |
from /home/nerdsville/.rvm/gems/ruby-2.2.2/gems/rspec-rails-3.3.3/lib/rspec/rails/fixture_support.rb:18:in `class_exec' | |
from /home/nerdsville/.rvm/gems/ruby-2.2.2/gems/rspec-rails-3.3.3/lib/rspec/rails/fixture_support.rb:18:in `block in <module:FixtureSupport>' | |
from /home/nerdsville/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.3/lib/active_support/concern.rb:120:in `class_eval' | |
from /home/nerdsville/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.3/lib/active_support/concern.rb:120:in `append_features' | |
from /home/nerdsville/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.3/lib/active_support/concern.rb:117:in `include' | |
from /home/nerdsville/.rvm/gems/ruby-2.2.2/gems/activesupport-4.2.3/lib/active_support/concern.rb:117:in `block in append_features' | |
from /home/nerdsvil |
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
def test_vote_select_vote(self): | |
""" Test the vote_range function - the re-voting part. """ | |
#First we need to vote | |
self.setup_db() | |
user = FakeUser(['voters'], username='nerdsville') | |
with user_set(fedora_elections.APP, user): | |
retrieve_csrf = self.app.post('/vote/test_election6') | |
csrf_token = retrieve_csrf.data.split( | |
'name="csrf_token" type="hidden" value="')[1].split('">')[0] |
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
--- | |
- hosts: local | |
tasks: | |
- name: Go.cd Data Container | |
docker: | |
name: gocd-data | |
image: gocd/gocd-server | |
state: present | |
volumes: | |
- /usr/log/go-server |
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
#!/bin/bash | |
aptitude -y install expect | |
// Not required in actual script | |
MYSQL_ROOT_PASSWORD=abcd1234 | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 |
I hereby claim:
- I am NerdsvilleCEO on github.
- I am nerdsville (https://keybase.io/nerdsville) on keybase.
- I have a public key whose fingerprint is DC84 EF4F 2510 EA35 212D 11D3 1BFF 9551 1CDA 1DCC
To claim this, I am signing this object:
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
package main | |
import( | |
"reflect" | |
) | |
// IsArrayType accepts an interface and returns whether it is an array | |
// This function will return false if it is not an array type | |
func IsArrayType(s interface{}) bool { | |
t := reflect.TypeOf(s) |
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
### Keybase proof | |
I hereby claim: | |
* I am nerdsvilleceo on github. | |
* I am omnidapps (https://keybase.io/omnidapps) on keybase. | |
* I have a public key ASCH6fvzx3VWO0j_ofooo9Qs3A3QEKt5JgEsJ_HcBTGf5Ao | |
To claim this, I am signing this object: |
OlderNewer