df -h .; du -sh -- * | sort -hr
find . -type f -newermt 2018-01-01
function [ data_filtered ] = RemoveValuesUnderHistogramTreshold( data, percentageTreshold, numberOfHistogramBins ) | |
%RemoveValuesUnderHistogramTreshold This function removes outstanding data variables that is | |
% under specific occurences threshold. The occurrences is partitioned | |
% by histogram method, equals bin size and fixes number of bins. | |
% | |
% data_filtered = RemoveValuesUnderHistogramTreshold(DATA, percentageTreshold, numberOfHistogramBins) | |
% (matrix) DATA : The vector with data | |
% (double) percentageTreshold : The occurences percentage (relative to maximum) | |
% that rejects outstanding values. Double value, e. g. 0.5 for under | |
% 50% |
package selly.spring.data.convert; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import org.springframework.beans.factory.config.BeanDefinition; |
<?php | |
var_dump(is_writable('./')); // check if this script can write something to directory | |
var_dump(get_current_user ()); // display user name that executing this PHP file</pre> | |
<!-- adblock checker --> | |
<div id="ablck_checker" class="ads ad adsbox doubleclick ad-placement carbon-ads"></div> | |
<script type="text/javascript"> | |
(function() { | |
var checkAdblockPresence = function(elementId) { | |
return (getComputedStyle(document.getElementById(elementId))["display"] == "none") ? true : false; | |
}; | |
var checkAdblockEvent = function() { |
<?php | |
// h - host | |
// u - user | |
// p - pass | |
// d - domain | |
// c - cert | |
// k - private key | |
$options = getopt("h:u:p:d:c:k:"); |
doctrine: | |
orm: | |
mappings: | |
Money: | |
type: xml | |
dir: '%kernel.project_dir%/PATH_TO_MAPPING' | |
prefix: 'Money' |
package pl.athlan.commons.pool; | |
import static java.util.stream.Collectors.toList; | |
import java.util.Collection; | |
import java.util.concurrent.ArrayBlockingQueue; | |
import java.util.concurrent.BlockingQueue; | |
import java.util.function.Supplier; | |
import java.util.stream.IntStream; |
package pl.athlan.common.concurrent; | |
import static java.util.Objects.requireNonNull; | |
import java.util.concurrent.atomic.AtomicInteger; | |
import java.util.concurrent.locks.ReadWriteLock; | |
import java.util.concurrent.locks.ReentrantReadWriteLock; | |
import java.util.function.Supplier; | |
/** |