This file contains hidden or 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
14:05:29,846 DEBUG SQL:111 - | |
select | |
distinct student0_.ID as ID3_, | |
student0_.COURSE as COURSE3_, | |
student0_.GROUP_NUMBER as GROUP3_3_, | |
student0_.IS_BUDGET as IS4_3_, | |
student0_.RECORD_BOOK_N as RECORD5_3_, | |
student0_.SPECIALITY as SPECIALITY3_, | |
student0_.STUDENT_ED_TYPE as STUDENT7_3_, | |
student0_.STUDENT_STATUS as STUDENT8_3_, |
This file contains hidden or 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
public List<MessageItem> search(User user, String query, Integer from, Integer count) { | |
String like = new StringBuilder().append("%").append(query).append("%").toString().toUpperCase(); | |
CriteriaBuilder cb = em.getCriteriaBuilder(); | |
CriteriaQuery<MessageToUser> cq = cb.createQuery(MessageToUser.class); | |
Root<MessageToUser> mtur = cq.from(MessageToUser.class); | |
cq.select(mtur); |
This file contains hidden or 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
class AppDispatcher(object): | |
def dispatcher(self, environ, start_response): | |
.... | |
startup: | |
# Start server | |
host = ... | |
port = ... |
This file contains hidden or 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
разучил три мотивчика из Joy Division/ | |
New Dawn Fades - НГШЩЗЩШЩЗЩШГШН | |
The Eternal - ЗЩЗЩЗЩЗЩЗЩШГШЩ | |
In the lonely place - ГШЩГШЩГШЩШГ ГШЩГШЩГШЩШ |
This file contains hidden or 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
<div data-role="page" id="server-info" data-url="/server/{{server.id}}"> | |
<div data-role="header"> | |
<a href="/" data-direction="reverse" data-icon="arrow-l">Back</a> | |
<h1>{{server.name}}</h1> | |
<a href="edit-server/{{server.id}}" data-icon="gear">Edit</a> | |
</div> | |
<div class="ui-body ui-body-c"><strong>Server info</strong></div> | |
<div data-role="content" class="ui-body ui-body-d"> |
This file contains hidden or 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
.main-container { | |
width: 960px; | |
margin: auto; | |
padding-bottom: 50px; | |
> .sidebar { | |
float: left; | |
clear: left; | |
width: 150px; |
This file contains hidden or 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
uclibc/bin/i586-gcc -c -o build/kernel/entry.o -I uclibc/include -fno-builtin -Wall src/kernel/entry.c | |
uclibc/bin/i586-ld -T src/kernel/linker.ld -t -L uclibc/lib -static -lc uclibc/lib/libc.a build/kernel/*.o -o bin/kernel | |
uclibc/bin/i586-ld: mode elf_i386 | |
build/kernel/bootstrap.o | |
build/kernel/entry.o | |
build/kernel/entry.o: In function `kmain': | |
entry.c:(.text+0x48): undefined reference to `__stdout' | |
entry.c:(.text+0x8c): undefined reference to `__fputc_unlocked' | |
entry.c:(.text+0xa2): undefined reference to `fputc' | |
uclibc/bin/i586-ld: link errors found, deleting executable `bin/kernel' |
This file contains hidden or 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
using System; | |
using Broker.StrategyLanguage.Function; | |
namespace Broker.StrategyLanguage.Strategy | |
{ | |
public class KeltnerChanel : BaseStrategyAdvisor | |
{ | |
private ISeries<Double> m_price; | |
private int m_length = 20; | |
private double m_numatrs = 1.5; |
This file contains hidden or 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
/* | |
* Copyright 2010 Mario Zechner ([email protected]), Nathan Sweet ([email protected]) | |
* | |
* Licensed 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 | |
* | |
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" | |
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language |
This file contains hidden or 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
<!-- Button magic --> | |
<xsl:template match="button"> | |
<xsl:variable name="onclickjs"> | |
<xsl:choose> | |
<xsl:when test="@warning != ''"> | |
return Ajenti.showWarning('<xsl:value-of select="@warning"/>', | |
'<xsl:value-of select="@id"/>'); | |
</xsl:when> | |
<xsl:when test="@onclick = 'form'"> |