Remove an IP address from the banned SSH list
sudo iptables -D fail2ban-ssh -s banned_ip -j DROP
Remove an IP address from the banned FTP list
sudo iptables -D fail2ban-pure-ftpd -s banned_ip -j DROP
Remove an IP address from the banned SSH list
sudo iptables -D fail2ban-ssh -s banned_ip -j DROP
Remove an IP address from the banned FTP list
sudo iptables -D fail2ban-pure-ftpd -s banned_ip -j DROP
Check if IP address is blocked:
iptables -L -n --line | grep [IP_Address]
If IP address appear as DROP or REJECT, it is blocked.
Unblock IP address from incoming connections
iptables -I INPUT -s [IP_Address] -j ACCEPT
Block IP address from incoming connections
# iptables -A INPUT -s [IP_Address] -j DROP
My jailed user wasn’t connecting to the server via SFTP….
Had to see what was going on!!
root@digitalwhores:/home# tail -f /var/log/auth.log
auth.log looked like this…
Jul 23 19:47:55 digitalwhores systemd-logind[580]: New session 1307 of user sftpuser. Jul 23 19:47:55 digitalwhores jk_chrootsh[18961]: path /home/jail is group writable Jul 23 19:47:55 digitalwhores jk_chrootsh[18961]: path /home/jail is writable for others Jul 23 19:47:55 digitalwhores jk_chrootsh[18961]: abort, /home/jail is not a safe jail, check ownership and permissions.
Jul 23 19:50:07 digitalwhores jk_chrootsh[19034]: abort, path /home/jail/./home/sftpu is group writable, set option 'relax_home_group_permissions' to relax this check
chmod 0755 /home chmod 0755 /home/jail chmod 0755 /home/jail/home
chmod 0755 /home/jail/home/**USERS**
Screencast Building a Fast Data Front End for Hadoop.
Date: This event took place live on June 24 2015
Presented by: John Hugg
Duration: Approximately 60 minutes.
Cost: FreeDescription:
Massive increases in both the volume and velocity of data have led to the development of interactive, real-time applications on fast streaming data. These fast data applications are often the front ends to Big Data (data at rest) and require integration between Fast + Big. To provide maximum value they require a data pipeline with the ability to compute real-time analytics on fast moving data, to make transactional decisions against state, and ultimately deliver data at high speeds to long-term Hadoop-based analytics stores like Cloudera, Hortonworks and MapR.
The new challenge is building applications that tap fast data and seamlessly integrate with the value contained in data stores — combining machine learning and dynamic processing. A variety of approaches are employed including Apache Storm, Spark Streaming, Samza, and in-memory database technology.
During this webcast you will learn:
- The pros and cons of the various approaches used to create fast data applications
- The pros and cons of Lambda and Kappa architectures compared to more traditional approaches
- Understand the tradeoffs and advantages surrounding the resurgence of ACID and SQL
- How integration with the Hadoop ecosystem can reduce latency and improve transactional intelligence
About John Hugg, Founding Engineer
John Hugg is a Software Developer at VoltDB. He has spent his entire career working with databases and information management. In 2008, he was lured away from a Ph.D. program by Mike Stonebraker to work on what became VoltDB. As the first engineer on the product, he liaised with a team of academics at MIT, Yale, and Brown who were building H-Store, VoltDB’s research prototype. Then he helped build the world-class engineering team at VoltDB to continue development of the open source and commercial products.
Namespaces common pattern
var ns = (function() {
// local stuff
function foo() {}
function bar() {}
function baz() {} // this one stays invisible
// stuff visible in namespace object
return {
foo : foo,
bar : bar
};
})();
This is how!
<script type="text/javascript">
var adblock = true;
</script>
<script type="text/javascript" src="adframe.js"></script>
<script type="text/javascript">
if(adblock) {
//adblock is installed and enabled on this site :-D
}
</script>
adframe.js:
adblock = false;
Source: http://stackoverflow.com/questions/18180598/ad-blocker-detection-aka-adblock-plus
I’m using mustache.js, masonry and I was trying to use imagesLoaded to avoid overlapping images.
My code was returning me .imagesLoaded is not a function…
Some people on the interwebs said that disabling Rocket Loader in CloudFlare… didn’t work for me.
After more than 2 hours I got the solution – without using imagesLoaded -.
$(window).load(function() {
// Masonry Trigger
var $container = $('#masonry-wrap');
$container.masonry({
// options
itemSelector: '.masonry-box',
columnWidth: 283
});
});
Solution was taken from jQuery masonry with WordPress and imagesLoaded and given by McNab!
Magnus Daum and Stefan Lucks have created two PostScript files with identical MD5 hash, of which one is a letter of recommendation, and the other is a security clearance.
Source: http://blog.codinghorror.com/speed-hashing/
I’m finishing a website for a client…
Went to gtmetrix to perform some speed tests and saw that they have a new layout.

It’s time to make it faster – more green -, following my awesome tutorial of how to improve gtmetrix results.