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
var username = '' | |
var password = '' | |
var conn = new jsforce.Connection({ | |
oauth2 : { | |
// you can change loginUrl to connect to sandbox or prerelease env. | |
loginUrl : '', | |
clientId : '', | |
clientSecret : '', | |
redirectUri : '' |
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
Twig World is recruiting for server-side web developers, at all levels, to | |
join our team. Ideally you would be able to join the team in our Glasgow | |
office, but remote work may be a possibility for the right candidate. | |
Successful candidates will be helping to create and maintain our web | |
applications delivering exceptionally high quality educational content to | |
over 50 countries and in a dozen different languages. | |
We primarily work in Python and Django. Candidates with prior experience | |
in these technologies will be given extra consideration, but all | |
candidates with a strong grasp of programming principles and experience |
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
Hey all, | |
tl;dr - Get your ticket: https://pythonglasgow-dojo-october-2014.eventbrite.co.uk/ | |
Next month we are running another Dojo! Twig are graciously hosting | |
us again and will be providing pizza, beer and soft drinks. The | |
office address is: | |
4th Floor | |
14 North Claremont Street |
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
Show hidden characters
{ | |
// Your username on GitHub | |
"username": "charliequinn", | |
// Your password on GitHub | |
"password": "Bi11Hick5", | |
// Proxy server | |
// Format: "http://user:pass@proxy:port" | |
"https_proxy": "" |
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
module Workflow | |
module Common | |
def self.included(klass) | |
klass.state_machine.after_transition(:on => :record_replacement_product) do |obj| | |
obj.claim.send(:"finish_replacement_order") | |
end | |
end | |
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
class ReverseWords | |
def self.perform_magic filename | |
end | |
def self.parse_file(filename) | |
results = [] | |
File.open(filename).each do |line| | |
results << line.split(" ") |