Skip to content

Instantly share code, notes, and snippets.

View leofrozenyogurt's full-sized avatar

Leo Royzengurt leofrozenyogurt

  • Hipsters and Hamptonites
  • United States
View GitHub Profile
ko:
home:
meta:
title: Home
description: AlphaSights is a global leader in knowledge search, connecting the world’s top professionals with the world’s best knowledge. We help clients improve decisions, sharpen their thinking and drive business forward.
keywords: ""
section1:
title: "세상과 소통하다"
content1: "알파사이츠는 지식을 완성하는 방식을 변화시킵니다. "
content2: "동영상을 통해 알파사이츠가 어떻게 고객의 의사 결정 과정을 개선하고, 명료한 사고를 가능하게 하고, 비즈니스 성장을 도모하는지 확인하십시오."
(gp) Leos-MacBook-Pro:gp-dashboard leofrozenyogurt$ ./manage.py runserver
Traceback (most recent call last):
File "./manage.py", line 17, in <module>
execute_from_command_line(sys.argv)
File "/Users/leofrozenyogurt/.virtualenvs/gp/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
utility.execute()
File "/Users/leofrozenyogurt/.virtualenvs/gp/lib/python2.7/site-packages/django/core/management/__init__.py", line 312, in execute
django.setup()
File "/Users/leofrozenyogurt/.virtualenvs/gp/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
[2] pry(#<PaymentsController>)> @donation.errors
=> #<ActiveResource::Errors:0x007f9dfe660550
@base=
#<Donation:0x007f9e03839750
@attributes=
{"persona_id"=>6528300,
"splits"=>
[#<Donation::Split:0x007f9e01e5ff78
@attributes={"amount_in_cents"=>100, "fund_id"=>49574},
@persisted=false,
$(window).load(function(){
// var params = url("?").ids.split(',');
// for (var i in params) {
// $('[data-agency='+params[i]+']').click();
// }
});
var AgenciesContainer = React.createClass({
componentWillMount(){
this.fetchAgencies();
},
fetchAgencies() {
$.ajax({
url: this.props.agenciesPath,
dataType: 'json',
var AgencyInfo = React.createClass({
componentWillMount(){
this.getAgencyInfo();
},
getAgencyInfo(event){
$.ajax({
url: "agencies/"+this.props.id+".json",
dataType: 'json',
success: function(data) {
this.setState({rendered_categories: data});
var AgenciesContainer = React.createClass({
componentWillMount(){
this.fetchAgencies();
},
fetchAgencies() {
$.ajax({
url: this.props.agenciesPath,
// in parent container
renderAgency(){
console.log("rendered");
},
render() {
return (
<div>
<Agencies agencies={this.state.agencies} onClick={this.props.renderAgency} />
</div>
)
<%@brackets.group_by(&:division_id).each_with_index do |(d,brackets), index_b|%>
<%brackets.each_with_index do |b,index|%>
<div id="<%=index%>>
</div>
<%end%>
<%end%>
c.http_post(c.url,
Curl::PostField.content('USER', "jb-us-asdasdad.paypal.com"),
Curl::PostField.content('PWD', "asdasasdad"),
Curl::PostField.content('SIGNATURE', "sig"),
Curl::PostField.content('METHOD', "SetExpressCheckout"),
Curl::PostField.content('VERSION', 95),
@cart_product_by_user.each do |product_hash|
Curl::PostField.content('PAYMENTREQUEST_0_ITEMAMT', product_hash.value ), #The amount authorized
Curl::PostField.content('PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID', product_hash.value)
end