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
#!/usr/bin/env python | |
from __future__ import print_function | |
from subprocess import call | |
import cookielib | |
import bs4 | |
import mechanize |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
{ | |
"ASIN": [ | |
"B0002DNIAE" | |
], | |
"ParentASIN": [ | |
"B0072CXURY" | |
], | |
"DetailPageURL": [ | |
"http://www.amazon.com/Diorliner-Precision-Eyeliner-Christian-Dior/dp/B0002DNIAE%3Fpsc%3D1%26SubscriptionId%3DAKIAJ7IODE3ZIX6FGTPA%26tag%3Daws Tag%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0002DNIAE" | |
], |
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
{ | |
"ASIN": [ | |
"B002JSL6QI" | |
], | |
"DetailPageURL": [ | |
"http://www.amazon.com/Babyliss-BABTT5585-Tourmaline-Titanium-Dryer/dp/B002JSL6QI%3FSubscriptionId%3DAKIAJ7IODE3ZIX6FGTPA%26tag%3Daws Tag%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB002JSL6QI" | |
], | |
"ItemLinks": [ | |
{ | |
"ItemLink": [ |
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
{ | |
"ASIN": [ | |
"B00BSE0P0W" | |
], | |
"DetailPageURL": [ | |
"http://www.amazon.com/Neutrogena-Norwegian-Formula-Absorbing-Cream/dp/B00BSE0P0W%3FSubscriptionId%3DAKIAJ7IODE3ZIX6FGTPA%26tag%3Daws Tag%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00BSE0P0W" | |
], | |
"ItemLinks": [ | |
{ | |
"ItemLink": [ |
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
{ | |
"ASIN": [ | |
"B00CELFJ4A" | |
], | |
"ParentASIN": [ | |
"B00ZF21ZCK" | |
], | |
"DetailPageURL": [ | |
"http://www.amazon.com/Blackstone-1575-Outdoor-Pizza-Oven/dp/B00CELFJ4A%3Fpsc%3D1%26SubscriptionId%3DAKIAJ7IODE3ZIX6FGTPA%26tag%3Daws Tag%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00CELFJ4A" | |
], |
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 people = [ | |
{ name: 'Sean', id: 23, type: 'engineer'}, | |
{ name: 'Ryan', id:44, type: 'engineer'}, | |
{ name: 'Christina', id:5, type: 'boss'}, | |
{ name: 'Sherard', id: 23, type: 'candidate'}]; | |
var options = { | |
sortField: 'name', | |
sortOrder: ['Ryan', 'Sean', 'Christina', 'Sherard'] | |
}; |
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
require 'mechanize' | |
LOGIN_PAGE = "https://remote.advancepubs.com/dana-na/auth/url_30/welcome.cgi" | |
@dsid = '' | |
@agent = Mechanize.new | |
@agent.get(LOGIN_PAGE) do |page| | |
login_result = page.form_with(:name => 'frmLogin') do |login| | |
login.username = 'USERNAME' |
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
$('#checkout-summary').html(' <!--XRAY START 248 /Users/seanohara/Code/little_bits/app/views/spree/checkout/_outer_summary.html.erb-->\n<!--XRAY START 245 /Users/seanohara/Code/little_bits/app/views/spree/checkout/_summary.html.erb-->\n<h3>Order Summary<\/h3>\n<a href=\"/cart\" class=\"edit_order_contents_link\">Edit Order<\/a>\n\n<table id=\"order-line-items\" data-hook=\"order_summary\">\n<tbody>\n<!--XRAY START 243 /Users/seanohara/Code/little_bits/app/views/spree/checkout/_summary_line_item.html.erb-->\n<tr>\n <td class=\"cart-image\">\n <img alt=\"Hero_boxclosed\" src=\"https://s3.amazonaws.com/lb-spree/spree/products/1830/small/hero_boxclosed.png?1383751177\" />\n <\/td>\n <td>\n Synth Kit <\/td>\n <td>\n 1\n <\/td>\n <td class=\"price-column\">\n $135.15\n <\/td>\n<\/tr>\n\n<!--XRAY END 243--><!--XRAY START 244 /Users/seanohara/Code/little_bits/app/views/spree/checkout/_summary_line_item.html.erb-->\n<tr>\n <td class=\"cart-image\">\n <img alt=\"Deluxeopen3_v2lr\" src=\"http |
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
<?xml version="1.0"?> | |
<DeliveryOrders xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Action="Create" xsi:noNamespaceSchemaLocation="http://schema.pchintl.com/DO/DO_1.0.xsd"> | |
<DO> | |
<DN>H35873740614</DN> | |
<PODT>2013-09-18</PODT> | |
<DCDT>2013-09-18</DCDT> | |
<BAdr> | |
<Nm1>Mildred E Vogassaris</Nm1> | |
<Adr1>50995 ROSEMARY LN</Adr1> | |
<Adr2/> |