Skip to content

Instantly share code, notes, and snippets.

<div itemscope itemtype='http://schema.org/SoftwareApplication'>
<h1 itemprop='name'>Wilmaa - Gratis Fernsehen im Internet</h1>
<meta content='Windows, Mac OSx' itemprop='operatingsystems'>
<div itemprop='reviews' itemscope itemtype='http://schema.org/Review'>
<span itemprop='reviewRating' itemscope itemtype='http://schema.org/Rating'>
<span itemprop='ratingValue'>4</span> / 5</span>
<span itemprop='author' itemscope itemtype='http://schema.org/Organization'>
<span itemprop='name'>Downloads.ch</span></span>
</div>
<span itemprop='description'>...</span>
<ul>
<li itemscope itemtype='http://data-vocabulary.org/Breadcrumb'>
<a href="http://www.downloads.ch/categories/software" itemprop="url">
<span itemprop="title">Software</span></a></li>
<li itemscope itemtype='http://data-vocabulary.org/Breadcrumb'>
<a href="http://www.downloads.ch/categories/multimedia-files" itemprop="url">
<span itemprop="title">Multimedia</span></a></li>
<li itemscope itemtype='http://data-vocabulary.org/Breadcrumb'>
<a href="http://www.downloads.ch/categories/webtv" itemprop="url">
<span itemprop="title">Web-TV</span></a></li>
<div itemscope itemtype="http://schema.org/WebApplication">
<h1 itemprop="name">Die webbasierte Zahnarzt Software für die Praxis</h1>
<div itemprop="description">Denteo ist eine Webbasierende Zahnarztsoftware für die Praxis. ...</div>
<meta content='Windows, Mac OS x' itemprop='operatingsystems'>
<div itemprop='reviews' itemscope itemtype='http://schema.org/Review'>
<span itemprop='reviewRating' itemscope itemtype='http://schema.org/Rating'>
<span itemprop='ratingValue'>5</span> / 5</span>
<span itemprop='author' itemscope itemtype='http://schema.org/Organization'>
<span itemprop='name'>Panter llc</span></span>
</div>
(<a\s[^>]*?href\s*=\s*""[^?#""]*)\??(?![^#""]*?\bsource=)
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin : 'war'
apply plugin : 'jetty'
sourceCompatibility = 1.7
version = '0.1'
group = 'org.computermentor'
version = '1.0.0'
import javax.mail.*
import javax.mail.internet.*
/*
Get Any JAVAMAIL Dependency
===============================
Download JAVAMAIL dependency that you need.
download JAVAMAIL at : https://maven.java.net/content/repositories/releases/com/sun/mail/javax.mail/1.5.2/javax.mail-1.5.2.jar
To install, copy & paste the *.jar to installed Groovy lib directory:
eg: C:\Program Files (x86)\Groovy\Groovy-2.1.1\lib
# http://wiki.apache.org/solr/FAQ#How_can_I_delete_all_documents_from_my_index.3F
# http://wiki.apache.org/solr/UpdateXmlMessages#Updating_a_Data_Record_via_curl
curl http://index.websolr.com/solr/a0b1c2d3/update -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
@LCHCAPITALHUMAIN
LCHCAPITALHUMAIN / open_app.html
Last active August 29, 2015 14:26 — forked from noelrocha/open_app.html
Open app on Google Play or AppStore
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Open App</title>
<!--
URL Params:
customSchemeURL: Your custom scheme app

By now you've learned the basics of ColdFusion, script vs. tag syntax, scopes, how to deal with data, and even some code-reuse techniques. You're now able to write something useful, so it's time we introduce you to the Request Lifecycle.

You see, when someone requests a ColdFusion page, CF doesn't just start executing your code. There are several events that first take place, which you can be waiting for, and to which you can react. This is not strictly necessary, but you'll find that any complex application will eventually want to make use of some or all of these features, so it's best that you know about them. In order to react to these events, you need to have an Application.cfc file. ColdFusion has designated Application.cfc as a special component that it will automatically look for, and in which we can put our event listeners for request lifecycle events.

A Note on Terminolog
// PostgreSQL
@GrabConfig(systemClassLoader=true)
@Grab('postgresql:postgresql:9.0-801.jdbc4')
def sql = groovy.sql.Sql.newInstance(
"jdbc:postgresql://host.example.org/database",
"username", "password", "org.postgresql.Driver")
// MySQL
@GrabConfig(systemClassLoader=true)