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
############### two scripts inside ####### | |
############### One group only ############## | |
import com.liferay.portlet.documentlibrary.util.* | |
import com.liferay.portlet.documentlibrary.lar.* | |
import com.liferay.portlet.documentlibrary.service.* | |
import com.liferay.portal.service.* | |
import com.liferay.portlet.documentlibrary.model.* | |
import com.liferay.portal.kernel.dao.orm.* |
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
; TextPad keyword syntax file for Freemarker | |
; Contributed by Simon Schoeters, version 0.2 | |
HTML=1 | |
[Syntax] | |
Namespace1 = 2 | |
IgnoreCase = Yes | |
KeyWordLength = | |
BracketChars = {}[]() |
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
## Get the reference of DDL Record Service via serviceLocator, which is automatically set in the context | |
#set ($ddlRecordService = $serviceLocator.findService('com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService')) | |
## $reserved_record_set_id is also an object set in the context and it has the value of the list id configured for the portlet instance | |
#set ($recordSetId = $getterUtil.getInteger($reserved_record_set_id.data, 0)) | |
## call to the retrieve all records of the list |
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
/usr/local/adempiere_ilogicV37/source/adempiereTrunk/adempiere/Adempiere/jboss/server/adempiere/log/server.log { | |
daily | |
rotate 3 | |
size 1M | |
compress | |
delaycompress | |
missingok | |
dateext | |
dateformat .%Y-%m-%d | |
copytruncate |
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 arpad.kosa; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import java.io.*; | |
public class TestOneNumberGame { | |
private static final String SAMPLE_GAME = "1 1 2 3 5 4 Arpad\n1 1 2 3 5 3 Elod\n2 2 2 2 2 2 Ond"; | |
private static final String SAMPLE_GAME_NO_ONE = "3 1 2 3 5 4 Arpad\n3 1 2 3 5 3 Elod\n2 2 2 2 2 2 Ond"; |
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 arpad.kosa; | |
import java.io.*; | |
import java.util.*; | |
import java.util.regex.Pattern; | |
import java.util.stream.Collectors; | |
public class OneNumberGame { | |
List<Player> players = new ArrayList<>(); |
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
perl -e 'sleep int(rand(3600))' |
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
(for i in *; do du -sh $i; done)|sort -h |
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
- van egy host | |
- van neki mondjuk 1000 mbit uplinkje | |
- van benne x db guest (mondjuk 30) | |
guest-ekből backupot kéne nyomni felfelé (duply) | |
a probléma az, hogy ha egyszerre kettőnél több backup job fut (két külön guestben) akkor túlzottan megeszi a gépet (I/O-ban) | |
nem akarjuk a backupot nagyon szétteríteni 23-tól 6-ig jó lenne ha végezne | |
a backupok hossza kb. megjósolhatatlan | |
hogyan oldanád meg? |
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
#include <PubSubClient.h> | |
#include <ESP8266WiFi.h> | |
const char* ssid = "................."; | |
const char* password = "................"; | |
char* topic = "esp8266_arduino_out"; | |
char* server = "iot.eclipse.org"; | |
OlderNewer