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
package footprint | |
abstract class DataModel | |
case class CategoryTags(categoryTag: String*) extends DataModel { | |
} | |
object CategoryTags { | |
def fromXML(node: scala.xml.Node): CategoryTags = | |
CategoryTags((node \ "categoryTag").toList.map(_.text): _*) |
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
#include <iostream> | |
using namespace std; | |
class Foo { | |
}; | |
class Bar { | |
private: |
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 java.awt.*; | |
import javax.swing.*; | |
import java.awt.geom.*; | |
public class Foo extends JFrame { | |
private static final long serialVersionUID = 1L; | |
private JPanel jContentPane = null; | |
private JPanel jPanel = null; |
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"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"> | |
<xs:element name="FilterDevicePreset" type="FilterDevicePreset"/> | |
<xs:complexType name="FilterDevicePreset"> | |
<xs:all> | |
<xs:element name="DeviceSlot" minOccurs="0" type="AudioPluginDevice"/> | |
<xs:element name="DeviceSlot" minOccurs="0" type="BusCompressorDevice"/> | |
<xs:element name="DeviceSlot" minOccurs="0" type="CabinetSimulatorDevice"/> | |
<xs:element name="DeviceSlot" minOccurs="0" type="ChorusDevice"/> | |
<xs:element name="DeviceSlot" minOccurs="0" type="CompressorDevice"/> |
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"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"> | |
<xs:element name="RenoiseDeviceChain" type="RenoiseDeviceChain"/> | |
<xs:complexType name="RenoiseDeviceChain"> | |
<xs:all> | |
<xs:element name="Devices" minOccurs="0"> | |
<xs:complexType> | |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> | |
<xs:element name="FormulaMetaDevice" minOccurs="0" maxOccurs="unbounded" type="FormulaMetaDevice"/> | |
<xs:element name="MidiCCDevice" minOccurs="0" maxOccurs="unbounded" type="MidiCCDevice"/> |
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
#SingleInstance FORCE | |
#NoEnv | |
^`:: | |
DetectHiddenWindows, off | |
IfWinExist, bash | |
{ | |
wingetpos, wx, wy, wwidth, wheight | |
counter=0 |
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"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="25" columns="186" buffer_rows="500" buffer_columns="0" shell="" init_dir="" start_hidden="0" save_size="1"> | |
<colors> | |
<color id="0" r="0" g="0" b="0"/> | |
<color id="1" r="0" g="0" b="128"/> | |
<color id="2" r="0" g="150" b="0"/> | |
<color id="3" r="0" g="150" b="150"/> | |
<color id="4" r="170" g="25" b="25"/> | |
<color id="5" r="128" g="0" b="128"/> |
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
package dispatch | |
class HttpInsecure extends Http { | |
override def make_client = { | |
import java.net.{Socket} | |
import javax.net.ssl.{X509TrustManager, SSLContext} | |
import java.security.{KeyStore} | |
import java.security.cert.{X509Certificate} | |
import org.apache.http.conn.scheme.{Scheme} | |
import org.apache.http.conn.ssl.{SSLSocketFactory} |
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"?> | |
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra"> | |
<info organisation="net.databinder" module="unfiltered-json_2.8.1" revision="0.3.3-SNAPSHOT" status="release" publication="20110321140836"/> | |
<configurations> | |
<conf name="optional" visibility="public" description=""/> | |
<conf name="system" visibility="public" description=""/> | |
<conf name="sources" visibility="public" description=""/> | |
<conf name="compile" visibility="public" description=""/> | |
<conf name="provided" visibility="public" description=""/> | |
<conf name="sxr" visibility="public" description=""/> |
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
object ErrorAsOk{ | |
import unfiltered.request._ | |
import unfiltered.response._ | |
def unapply[T](request: HttpRequest[T]): Option[Wrapper] = request match { | |
case Params(params) => | |
params("ok") match { | |
case "" :: xs => Some(NotOkWrapper) | |
case "0" :: xs => Some(NotOkWrapper) | |
case "false" :: xs => Some(NotOkWrapper) |
OlderNewer