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" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:top="-5dp" android:left="-5dp" android:right="-5dp"> | |
<shape android:shape="rectangle"> | |
<stroke android:color="#ff4ba587" android:width="5dp"/> | |
</shape> | |
</item> | |
</layer-list> |
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" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@color/transparent"/> | |
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_bar_background_selected"/> | |
<item android:state_selected="false" android:state_pressed="true" android:drawable="@color/tab_highlight"/> | |
<item android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/tab_bar_background_selected_pressed"/> | |
</selector> |
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
<style name="FindMyTrain" parent="Theme.Sherlock"> | |
<item name="android:actionBarTabStyle">@style/FindMyTrain.ActionBar.Tab</item> | |
<item name="actionBarTabStyle">@style/FindMyTrain.ActionBar.Tab</item> | |
</style> | |
<style name="FindMyTrain.ActionBar.Tab"> | |
<item name="android:background">@drawable/tab_bar_background</item> | |
</style> |
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
log4j.rootLogger=error, console | |
log4j.appender.console=org.apache.log4j.ConsoleAppender | |
log4j.appender.console.layout=org.apache.log4j.PatternLayout | |
log4j.appender.console.layout.ConversionPattern=%d %-4r [%t] %-5p %c %x - %m%n |
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
<%@ page import="javax.net.ssl.TrustManager" %> | |
<%@ page import="javax.net.ssl.SSLContext" %> | |
<%@ page import="javax.net.ssl.HttpsURLConnection" %> | |
<%@ page import="javax.net.ssl.X509TrustManager" %> | |
<%@ page import="javax.net.ssl.HostnameVerifier" %> | |
<%@ page import="javax.net.ssl.SSLSession" %> | |
<% | |
// Create a trust manager that does not validate certificate chains | |
TrustManager[] trustAllCerts = new TrustManager[]{ |
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
<%@page import="javax.naming.InitialContext"%> | |
<%@page import="javax.naming.Context"%> | |
<%@page import="javax.naming.NamingEnumeration"%> | |
<%@page import="javax.naming.NameClassPair"%> | |
<%@page import="org.apache.tomcat.dbcp.dbcp.BasicDataSource"%> | |
<%@page import="java.sql.DriverManager"%> | |
<%@page import="java.sql.Driver"%> | |
<%@page import="java.util.Enumeration"%> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
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
// Basic swift stuff | |
// constant | |
let x = 1 | |
//x = 2 // error | |
// variable | |
var y: Int = 2 | |
y = 3 |
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 plotSpace = graph.defaultPlotSpace as CPTXYPlotSpace | |
var xRange = plotSpace.xRange.mutableCopy() as CPTMutablePlotRange | |
var yRange = plotSpace.yRange.mutableCopy() as CPTMutablePlotRange | |
xRange.setLengthFloat(10) | |
yRange.setLengthFloat(10) | |
plotSpace.xRange = xRange | |
plotSpace.yRange = yRange |
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
// | |
// CPTMutablePlotRange+SwiftCompat.m | |
// CorePlotTest | |
// | |
// Created by Al Wold on 8/29/14. | |
// Copyright (c) 2014 Al Wold. All rights reserved. | |
// | |
#import "CPTMutablePlotRange+SwiftCompat.h" |
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
// | |
// CPTMutablePlotRange+SwiftCompat.h | |
// CorePlotTest | |
// | |
// Created by Al Wold on 8/29/14. | |
// Copyright (c) 2014 Al Wold. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "CPTMutablePlotRange.h" |