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
/************************************************************************** | |
This is an example for our Monochrome OLEDs based on SSD1306 drivers | |
Pick one up today in the adafruit shop! | |
------> http://www.adafruit.com/category/63_98 | |
This example is for a 128x32 pixel display using I2C to communicate | |
3 pins are required to interface (two I2C and one reset). | |
Adafruit invests time and resources providing this open |
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
#!/bin/bash -eu | |
########################################################################## | |
# # | |
# Licensed Materials - Property of HCL # | |
# # | |
# (c)Copyright HCL Technologies Ltd. 2018. All Rights Reserved. # | |
# # | |
# Note to U.S.Government Users Restricted Rights : # | |
# Use, duplication or disclosure restricted by GSA ADP Schedule # | |
# Contract with IBM Corp. # |
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"?> | |
<xp:view | |
xmlns:xp="http://www.ibm.com/xsp/core"> | |
<xp:panel | |
id="panel1"> | |
<xp:viewPanel | |
rows="30" | |
id="viewPanel1"> | |
<xp:this.facets> | |
<xp:pager |
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"?> | |
<xp:view | |
xmlns:xp="http://www.ibm.com/xsp/core"> | |
<xp:panel | |
id="panel1"> | |
<xp:viewPanel | |
rows="30" | |
id="viewPanel1"> | |
<xp:this.facets> | |
<xp:pager |
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"?> | |
<xp:view | |
xmlns:xp="http://www.ibm.com/xsp/core"> | |
<xp:div> | |
<xp:button | |
value="Speichern" | |
id="button1" | |
rendered="#{javascript:currentDocument.isEditable()}"> | |
<xp:eventHandler | |
event="onclick" |
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
// DataTables init | |
$(document).ready( function() { | |
var table = $("#datatable").dataTable( { | |
"language" : { | |
"lengthMenu" : "Records per page _MENU_", | |
"zeroRecords" : "Nothing found - sorry", | |
"info" : "Page _PAGE_ of _PAGES_", | |
"infoEmpty" : "No records available", | |
"infoFiltered" : "" | |
}, |
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"?> | |
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"> | |
<!-- Bearbeitungsvermerke --> | |
<div class="row"> | |
<div class="col-sm-10"> | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
<h4 class="panel-title">Zuarbeiten</h4> | |
</div> | |
<div class="panel-body"> |
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 org.openntf.github.xsp; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.io.Serializable; | |
import org.apache.http.client.config.RequestConfig; | |
import org.apache.http.client.methods.CloseableHttpResponse; | |
import org.apache.http.client.methods.HttpGet; | |
import org.apache.http.impl.client.CloseableHttpClient; |
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 org.openntf.github.model; | |
import java.io.Serializable; | |
public class GitHubProfile implements Serializable { | |
private static final long serialVersionUID = 3578007780249316980L; | |
private String login; | |
private int id; |
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"?> | |
<xp:view xmlns:xp="http://www.ibm.com/xsp/core"> | |
<xp:scriptBlock id="scriptBlock1"> | |
<xp:this.src><![CDATA[#{javascript:return "/"+database.getFilePath().replace(/\\/g, "/")+"/test.js"; | |
}]]></xp:this.src> | |
</xp:scriptBlock> | |
<xp:scriptBlock id="scriptBlock2"> | |
<xp:this.src><![CDATA[#{javascript:return "/"+session.evaluate("@WebDbName").elementAt(0).toString()+"/test.js";}]]></xp:this.src> | |
</xp:scriptBlock> |