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
Daemon Thread [localhost-startStop-1] (Suspended (breakpoint at line 59 in Repositories)) | |
owns: ConcurrentHashMap<K,V> (id=60) | |
owns: AbstractApplicationEventMulticaster$ListenerRetriever (id=61) | |
owns: ConcurrentHashMap<K,V> (id=62) | |
owns: Object (id=63) | |
owns: StandardWrapper (id=64) | |
owns: StandardContext (id=65) | |
Repositories.<clinit>() line: 47 | |
RepositoriesFactoryBean.getObject() line: 22 | |
RepositoriesFactoryBean.getObject() line: 12 |
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
ubuntu@ip-9348893498:~$ phoronix-test-suite batch-setup | |
These are the default configuration options for when running the Phoronix Test Suite in a batch mode (i.e. running phoronix-test-suite batch-benchmark universe). Running in a batch mode is designed to be as autonomous as possible, except for where you'd like any end-user interaction. | |
Save test results when in batch mode (Y/n): Y | |
Open the web browser automatically when in batch mode (y/N): N | |
Auto upload the results to OpenBenchmarking.org (Y/n): N | |
n Prompt for test identifier (Y/n): N | |
Prompt for test identifier (Y/n): n | |
Prompt for test description (Y/n): n |
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
sudo su | |
cd /root/.phoronix-test-suite/ | |
wget http://www.domain.de/phoronix/user-config.xml /root/.phoronix-test-suite/ | |
wget http://www.domain.de/phoronix/suite-definition.xml /root/.phoronix-test-suite/test-suites/sample | |
sudo batch-run sample |
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.3</version> | |
<configuration> | |
<archive> | |
<addMavenDescriptor>false</addMavenDescriptor> | |
<compress>true</compress> | |
<index>true</index> | |
<manifest> |
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
@Query("{ 'instanceId' : ?0, 'metric' : ?1, 'timestamp': {$gte: ?2, $lt: ?3}}") | |
List<MeasurementMinute> findByInstanceIdAndMetricAndTimestamp(@Param("instanceId") String instanceId, | |
@Param("metric") String metric, @Param("startDate") Date startDate, @Param("endDate") Date endDate); | |
Created query { "instanceId" : "Mini-Ubuntu-4 (e1a19b46-ffab-43d1-997a-d5279b625853)" , "metric" : "net/packetsRx" , "timestamp" : { "$gte" : { "$date" : "2013-06-12T09:12:00.019Z"} , "$lt" : { "$date" : "2013-06-12T09:17:00.019Z"}}} |
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
@RequestMapping(value= {"/", ""}, method=RequestMethod.GET) | |
public @ResponseBody List<SlaBean> getAll() { | |
} | |
@RequestMapping(value = "/{id}", method = RequestMethod.GET) | |
public @ResponseBody SlaBean get(@PathVariable UUID id, HttpServletRequest request) { | |
} | |
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
Traceback (most recent call last): | |
File "./sublime_plugin.py", line 200, in on_selection_modified | |
File "./sublime_plugin.py", line 154, in run_timed_function | |
File "./sublime_plugin.py", line 199, in <lambda> | |
File "./trailing_spaces.py", line 392, in on_selection_modified | |
File "./trailing_spaces.py", line 123, in match_trailing_spaces | |
File "./trailing_spaces.py", line 90, in find_trailing_spaces | |
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' |
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
Restangular.one('project/search/findByCustomer', '').get({ id : customerId, limit : 8 }).then(function (data) { | |
$scope.projects = data.content; | |
}); |
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
Hourly: 5 */1 * * (each hour at hour:05) | |
Daily: 5 0 * * * (each day at 00:05am) | |
Weekly: 5 0 * * 1 (each Monday at 00:05am) | |
Montly: 5 0 * * * (each Month at 00:05am) |
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
GregorianCalendar gregorianCalendar = new GregorianCalendar(TimeZone.getTimeZone("UTC")); | |
gregorianCalendar.add(GregorianCalendar.SECOND, -1 * gregorianCalendar.get(GregorianCalendar.SECOND)); | |
=> Tue Jul 23 12:14:00 CEST 2013 |