Skip to content

Instantly share code, notes, and snippets.

@tuolumne
tuolumne / html-css-js-learning.markdown
Created December 10, 2018 19:09
HTML CSS JS Learning
@tuolumne
tuolumne / dabblet.css
Last active August 29, 2015 14:08
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@tuolumne
tuolumne / dabblet.css
Created October 30, 2014 20:48
Untitled
#d1{
background:green;
// height:20px;
// border:5px;
border-style:solid;
overflow:hidden;
}
#test{
background: blue;
@tuolumne
tuolumne / dabblet.css
Last active August 29, 2015 14:08
Untitled
#d1{
background:green;
// height:20px;
// border:5px;
border-style:solid;
}
#test{
background: blue;
float:left
@tuolumne
tuolumne / dabblet.css
Created October 30, 2014 18:54
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#d0{
background: blue;
oppacity:12%;
}
#d1{
background: blue;
@tuolumne
tuolumne / dabblet.css
Last active August 29, 2015 14:08
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#d1{
background: blue;
width:400px;
height:200px;
position:relative;
left:20px;
top:20px
@tuolumne
tuolumne / dabblet.css
Last active August 29, 2015 14:07
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#d1{
background: blue;
width:100px;
height:300px;
}
@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.5.2' )
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.GET
import static groovyx.net.http.ContentType.TEXT
// initialze a new builder and give a default URL
def http = new HTTPBuilder( 'http://www.google.com/search' )
@tuolumne
tuolumne / data-config.xml
Last active December 23, 2015 19:59
Added Tika integration - Still need to make the file path dynamic.
<dataConfig>
<dataSource type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/tobacco" user="tobacco" password="tobacco"/>
<dataSource type="BinFileDataSource" name="bin-file-ds"/>
<script><![CDATA[
function addfield(row){
var patt=/(\d\d\d\d)([0][0-9]|[1][0-2])(\d\d)/i;
@tuolumne
tuolumne / schema.xml
Last active December 23, 2015 13:39
schema.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0