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
mkdir /usr/local/var/postgres/pg_tblspc && mkdir /usr/local/var/postgres/pg_twophase && mkdir /usr/local/var/postgres/pg_stat_tmp |
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 akonan on github. | |
* I am anttiakonniemi (https://keybase.io/anttiakonniemi) on keybase. | |
* I have a public key whose fingerprint is 3B85 8AA2 42C5 AFB9 A958 4A81 D86F EEA1 CB48 597A | |
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
Information: | |
<iframe allowtransparency="true" width="100%" height="225" scrolling="no" src="http://www.wodconnect.com/gyms/3/widgets/info"></iframe> | |
With workouts: | |
<iframe allowtransparency="true" width="100%" height="380" scrolling="no" src="http://www.wodconnect.com/gyms/3/widgets/schedule"></iframe> |
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
MacBook Pro 15-inch with Retina Display | |
Z0ML | |
Specifications | |
Processor: (065-C0MX) - 2.6GHz Quad-core Intel Core i7#@ Turbo Boost up to 3.6GHz | |
Memory: (065-0474) - 16GB 1600MHz DDR3L SDRAM | |
Storage: (065-0478) - 512GB Flash Storage | |
Keyboard and Documentation: (K065-0490) - Backlit Keyboard (Finnish) / User’s Guide (Finnish) | |
Laptop + Apple Care 36 month deal 82 € per month. |
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
group :test, :development do | |
gem "sqlite3" | |
end | |
group :production do | |
gem "pg" | |
end |
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 process_payment | |
notify = ActiveMerchant::Billing::Integrations::Verkkomaksut::Notification.new(params) | |
if notify.acknowledge(VERKKOMAKSUT_AUTHCODE) | |
# PROCESS THE ORDER | |
else | |
# SHOW ERROR MESSAGE AND DON'T PROCESS THE ORDER | |
end | |
end |
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
<% payment_service_for 2, "13466", | |
:amount => "200", :currency => 'EUR', :credential2 => VERKKOMAKSUT_AUTHCODE, | |
:service => :verkkomaksut do |service| | |
service.customer :first_name => "antti", | |
:last_name => "akonniemi", | |
:phone => "0405051909", | |
:email => "0405051909" | |
service.billing_address :city => "Helsinki", | |
:address1 => "Toinen linja 2 A D 65", |
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
# Add this line to your Gemfile | |
gem "oa-openid", :require => "omniauth/openid" |
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
fi: | |
errors: | |
messages: | |
not_found: "ei löytynyt" | |
already_confirmed: "on jo vahvistettu, yritä kirjautua sisään uudelleen" | |
not_locked: "ei ollut lukittu" | |
not_saved: | |
one: "1 virhe esti %{resource} tallentamisen:" | |
other: "%{count} virhettä esti %{resource} tallentamisen:" |
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
namespace :passenger do | |
desc "Restart Application" | |
task :restart do | |
#run "ln -fs #{deploy_to}/shared/index/ #{current_path}/index" | |
run "ln -fs #{deploy_to}/shared/logos/ #{current_path}/public/logos" | |
run "ln -fs #{deploy_to}/shared/pictures/ #{current_path}/public/pictures" | |
run "chmod -R o-w #{current_path}/public" | |
run "chmod -R g-w #{current_path}/public" | |
run "killall dispatch.fcgi || true" | |
end |