This file contains hidden or 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
#requires Python 2.6 or above | |
echo "$(cat nameOfYourFile.js)" | python -m json.tool |
This file contains hidden or 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
Downloading/unpacking cx-Oracle#!/usr/bin/python | |
Running setup.py egg_info for package cx-Oracle | |
Traceback (most recent call last): | |
File "<string>", line 16, in <module> | |
File "/tmp/pip-build-root/cx-Oracle/setup.py", line 183, in <module> |
This file contains hidden or 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
Best tutorials EVER: | |
Print Oracle SQL Developer Result to CSV | |
http://stackoverflow.com/questions/4168398/how-to-export-query-result-to-csv-in-oracle-sql-developer | |
Install cx_Oracle on RHEL Linux machine... a GOD SEND: | |
http://ubuntugeeknerd.blogspot.com/2013/08/how-to-install-oxoracle-in-rhel-64-bit.html |
This file contains hidden or 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
Error creating bean with name 'storeCampaignInfoTasklet' defined in class path resource [config/batch/marketing-campaign-spring-object-config.xml]: Cannot resolve reference to bean 'campaignInfoFileReader' while setting bean property 'delegateReader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'campaignInfoFileReader': Scope 'step' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No context holder available for step scope |
This file contains hidden or 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
<bean id="stgMktngCampaignFileReader" class="org.springframework.batch.item.file.FlatFileItemReader" | |
abstract="true" lazy-init="true" scope="step"> | |
<property name="resource" value="#{jobParameter[input.file]}" /> | |
<property name="linesToSkip" value="1" /> | |
</bean> | |
<bean id="campaignInfoFileReader" parent="stgMktngCampaignFileReader"> | |
<!-- LINE MAPPER --> | |
<property name="lineMapper"> | |
<bean class="org.springframework.batch.item.file.mapping.DefaultLineMapper"> |
This file contains hidden or 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
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storeCampaignInfoTasklet' defined in class path resource [config/batch/marketing-campaign-spring-object-config.xml]: Cannot resolve reference to bean 'campaignInfoFileReader' while setting bean property 'delegateReader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'campaignInfoFileReader': Scope 'step' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No context holder available for step scope | |
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:326) | |
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) | |
at org.springframework.beans.factory.support.Abs |
This file contains hidden or 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
The following data is given for the run time of a program: | |
https://d2gne97vdumgn3.cloudfront.net/api/file/XF3gUiIRRh2321KcJHbO | |
And then is graphed in a log-log scale graph and through compressing it for a log-log scale graph, | |
has a slope of 3. | |
https://d2gne97vdumgn3.cloudfront.net/api/file/n3GlkRKWSg6V1EyKAzOj | |
The formula for the line can then be described as: | |
log(T(N)) = b lg N + c |
This file contains hidden or 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
package com.example.beckah.helloworld; | |
import android.support.v4.app.FragmentActivity; | |
import android.os.Bundle; | |
import com.google.android.gms.maps.CameraUpdateFactory; | |
import com.google.android.gms.maps.GoogleMap; | |
import com.google.android.gms.maps.OnMapReadyCallback; | |
import com.google.android.gms.maps.SupportMapFragment; | |
import com.google.android.gms.maps.model.LatLng; |
This file contains hidden or 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" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.beckah.helloworld"> | |
<!-- | |
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use | |
Google Maps Android API v2, but you must specify either coarse or fine | |
location permissions for the 'MyLocation' functionality. | |
--> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
This file contains hidden or 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
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MapActivity" > | |
<fragment xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:map="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/map" |
OlderNewer