View ZagsAzDao.java
private Long createNpAddress(MestoTip place) {
if (checkPlaceTipExists(place)) {
if (place.getСвСтрана().equals("FIAS")) {
return dslContext.insertInto(NP_ADDRESS)
.set(NP_ADDRESS.FIAS_ID, place.getСвГород())
.set(NP_ADDRESS.ADDRESS_SOURCE, place.getСвСтрана())
.returning(NP_ADDRESS.NP_ADDRESS_ID)
.fetchOne().getValue(NP_ADDRESS.NP_ADDRESS_ID);
}
else {
View Παράδειγμα 2.3
<!DOCTYPE html>
<html>
<head>
<title> Σπουδές </tile>
<meta charset="utg-8">
</head>
<body>
<p title ="Αντικείμενο του τμήματος"> Το αντικείμενο του τμήματος ...</p>
<img scr="myPhoto.jpg" alt="Φωτογραφία στη σχολή">
<a href="http://www.teiath.gr/sdo/lis"> Το τμήμα μου </a>
View POO DATE
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<title>BACK TO THE FUTURE</title>
<style>
table,
View python_support.js
var spawn = require("child_process").spawn;
var fs = require('fs');
var runPythonFile = function (filepath, fileName, stdin, callback, process_list) {
var proc1 = spawn('python3', [filepath + fileName + '.py']);
var stdout1 = "";
var stderr1 = "";
View gist:4c6e3c5e8c048ed1acf5b7eedb84f3ef
INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@5c30cc] to java:comp/env/mq/connectionFactory
05-24/17:23:43 INFO [main] DefaultServerSetup - Init DB connection pools
05-24/17:23:43 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
05-24/17:23:43 INFO [main] AnnotatedMBean - Register MBean ru.bitel.bgbilling.server.dbcp:type=DatabaseConnectionPool,name=master
05-24/17:23:44 INFO [main] DefaultServerSetup - Init trash pools...
05-24/17:23:44 ERROR [main] LoggingPrintStream - java.sql.SQLException: Column 'domainIds' not found.
05-24/17:23:44 ERROR [main] LoggingPrintStream - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
05-24/17:23:44 ERROR [main] LoggingPrintStream - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)
05-24/17:23:44 ERROR [main] LoggingPrintStream - at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)
05-24/17:23:44 ERRO
View .zprofile
#putty
export TERM=putty-256color
# go
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
# nvim
alias v='nvim'
View Capfile
require "capistrano/setup"
require "capistrano/deploy"
require "capistrano/scm/git"
require 'capistrano/npm'
install_plugin Capistrano::SCM::Git
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
View Omikuji.kt
/*
* 2018-04-15 Kotlin Hands-on
* @comameito
* Latest code at https://try.kotlinlang.org/#/UserProjects/vuam83gaqpgpp0c5qmncopdu8q/n90aij999aikq59hsiolon2kh4
* */
import java.lang.Math
fun main(vararg args: String) {
val results = arrayOf(
View CustomScrollviewWithTabs.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".activity.AquaInfo">
<android.support.design.widget.AppBarLayout
View gist:8a67671ce8fd4ce5836baf6bfa0bda6b
[INFO] --- duplicate-finder-maven-plugin:1.2.1:check (default) @ meta ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[WARNING] Found duplicate and different classes in [com.google.guava:guava-jdk5:17.0, com.google.guava:guava:20.0]:
[WARNING] com.google.common.annotations.Beta
[WARNING] com.google.common.annotations.GwtCompatible
[WARNING] com.google.common.annotations.GwtIncompatible
[WARNING] com.google.common.annotations.VisibleForTesting
[WARNING] com.google.common.base.Absent