Skip to content

Instantly share code, notes, and snippets.

2018-08-08 10:01:14,196+0000 WARN [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4JInitialiser - Your logging framework class org.ops4j.pax.logging.slf4j.Slf4jLogger is not known - if it needs access to the standard println methods on the console you will need to register it by calling registerLoggingSystemPackage
2018-08-08 10:01:14,206+0000 INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Package org.ops4j.pax.logging.slf4j registered; all classes within it or subpackages of it will be allowed to print to System.out and System.err
2018-08-08 10:01:14,222+0000 INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Replaced standard System.out and System.err PrintStreams with SLF4JPrintStreams
2018-08-08 10:01:14,231+0000 INFO [FelixStartLevel] *SYSTEM uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J - Redirected System.out and System.err to SLF4J for this context
2018-08-08 10:01:14,273+0000 INFO [FelixStartLevel] *S
@mgosk
mgosk / a
Last active July 7, 2017 17:46
We couldn’t find that file to show.
@mgosk
mgosk / eth
Created September 4, 2016 11:30
0x691c89985d6ee21c6407771904c6667fBF6c3022
@mgosk
mgosk / gist:e5fa9b39e3c3fb7e62237eb9eef35f65
Last active May 31, 2016 17:55
M233: Getting Started with Spark and MongoDB answers
Run a count of the number of documents in the nasa.eva namespace by running: $ mongo > use nasa > db.eva.count() What is the result?
375
Spark guarantees that your processing tasks completes in subseconds
false
Spark is a great system for performing updates on individual records efficiently
false
Spark is a great system for real-time OLTP workloads
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.HashSet;
import java.util.Set;
// billion-laughs-style DoS for java serialization
public class SerialDOS {
@mgosk
mgosk / start
Created November 24, 2015 21:59
#! /bin/bash
### BEGIN INIT INFO
# Provides: ${{app_name}}
# Required-Start: ${{start_facilities}}
# Required-Stop: ${{stop_facilities}}
# Default-Start: ${{start_runlevels}}
# Default-Stop: ${{stop_runlevels}}
# Short-Description: ${{descr}}
### END INIT INFO
(function () {
'use strict';
angular.module('thx4showApp')
.controller('alerts.flashCtrl', ['$flash', function ($flash) {
var vm = this;
vm.service = $flash;
}]);
})();
Glownym celem wprowadzenia ponizszych zasad jest poprawienie czytelnosci trello.
1. Ograniczona liczba list
Chcemy organizaować taski na trello w duchu kanbana, dlatego ilosć list powinna być organiczona. Dlatego proponuje nastpujce listy:
* ICEBOX - taski czekajace na rozpatrzenie
* TODO - long distance
* TODO - short distance
* DOING
* DONE - w done poiwnnimy mieć tylko kilka ostanio skonczonych tasków, te starsze powinny być archiwizowane lub przenoszone na inny board
Dixrad Marcin Gosk
Marcin Gosk
ul. Chmielna 2 lok. 31
00-020 Warszawa
NIP 7221576653
{
"data": [
{
"name": "lager",
"photo": "http://hobbista.atrax.pl/text_pictures/image/KULINARIA/wino/9.jpg",
"background": "81B5E3",
"description": "<p>lorem ipsum </p>",
"uuid": "286c775d-9c85-429e-b069-26ef26e0b806",
"code": "lager500",
"symbol": "http://www.skarbnica-win.pl/wp-content/uploads/2011/06/kieliszek-wino-czerwone-pinot-chateau.jpg",