I hereby claim:
- I am ruckus on github.
- I am toolbag (https://keybase.io/toolbag) on keybase.
- I have a public key whose fingerprint is E0A2 B6E5 3211 66F3 C462 ADC6 90E5 F40B 708B A52A
To claim this, I am signing this object:
diff --git a/lib/quickbooks-ruby.rb b/lib/quickbooks-ruby.rb | |
index dbf6a6e..51fb518 100644 | |
--- a/lib/quickbooks-ruby.rb | |
+++ b/lib/quickbooks-ruby.rb | |
@@ -29,6 +29,7 @@ require 'quickbooks/model/discount_line_detail' | |
require 'quickbooks/model/discount_override' | |
require 'quickbooks/model/payment_line_detail' | |
require 'quickbooks/model/account_based_expense_line_detail' | |
+require 'quickbooks/model/item_based_expense_line_detail' | |
require 'quickbooks/model/linked_transaction' |
{ | |
"Header": { | |
"Time": "2014-07-01T08:51:36-07:00", | |
"ReportName": "AgedReceivables", | |
"StartPeriod": "2014-08-01", | |
"EndPeriod": "2014-08-01", | |
"Currency": "USD", | |
"Option": [ | |
{ | |
"Name": "report_date", |
I hereby claim:
To claim this, I am signing this object:
public class ProductDetailActivity extends FragmentActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
final DisplayMetrics displayMetrics = new DisplayMetrics(); | |
getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); | |
final int width = displayMetrics.widthPixels; | |
mListView = (ListView)findViewById(R.id.product_detail_list_view); |
<sheetView windowProtection="false" tabSelected="false" showWhiteSpace="false" showOutlineSymbols="false" showFormulas="false" rightToLeft="false" showZeros="true" showRuler="true" showRowColHeaders="true" showGridLines="true" defaultGridColor="true" zoomScale="100" workbookViewId="0" zoomScaleSheetLayoutView="0" zoomScalePageLayoutView="0" zoomScaleNormal="0"> | |
<pane topLeftCell="B1" state="frozen" activePane="topRight" ySplit="0" xSplit="1"/> | |
</sheetView> |
sheet.sheet_view do |sv| | |
sv.pane do |pane| | |
pane.top_left_cell = 'B1' | |
pane.state = :frozen | |
pane.x_split = 1 | |
pane.active_pane = :top_right | |
end | |
end |
doc = ConvertableDocument.find(params[:id]) | |
doc.update_attribute(:confirmed_at, Time.now.utc) | |
redirect_to(:action => :index) and return |
ooga@web12 ext $ sudo ruby extconf.rb | |
checking for curl-config... yes | |
checking for curlinfo_redirect_time... yes | |
checking for curlinfo_response_code... yes | |
checking for curlinfo_filetime... yes | |
checking for curlinfo_redirect_count... yes | |
checking for curlinfo_os_errno... no | |
checking for curlinfo_num_connects... no | |
checking for curlinfo_ftp_entry_path... no | |
checking for curl_version_ssl... yes |
class ExpiresXHRRequests | |
def initialize(app) | |
@app = app | |
end | |
def call(env) | |
is_xhr = env['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' | |
status, headers, body = @app.call(env) | |
if is_xhr && !headers.has_key?('Expires') # only set if NOT already set | |
headers['Expires'] = "#{one_week_ago.strftime('%a, %d %b %Y %H:%M:%S GMT')}" |
<cfcomponent output="yes"> | |
<!--- Take an object and a struct as input. Traverse through the object's meta-data and | |
find all methods and if the datastruct contains a key which matches that method name (with "set" prepended) | |
then call that method using the struct key value. | |
This is a convenient way to quickly populate an object/bean by calling all of its | |
setters. | |
---> |