Let’s Encrypt: Delivering SSL/TLS Everywhere

Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. Let’s Encrypt is a service provided by the Internet Security Research Group (ISRG). The key principles behind Let’s Encrypt are: Free: Anyone who owns a domain name can use Let’s Encrypt to obtain a trusted certificate at zero cost.… Continue reading Let’s Encrypt: Delivering SSL/TLS Everywhere

Unsemantic, A Responsive / fluid grid system

Successor to 960.gs Unsemantic is a fluid grid system that is the successor to the 960 Grid System. It works in a similar way, but instead of being a set number of columns, it’s entirely based on percentages. For instance, if you want a 50% wide column, simply use class=”grid-50″. There are grid classes for… Continue reading Unsemantic, A Responsive / fluid grid system

Calculate storage space used by schema object, including LOBs

SELECT    owner, table_name, TRUNC(sum(bytes)/1024/1024) Meg FROM (SELECT segment_name table_name, owner, bytes  FROM dba_segments  WHERE segment_type = ‘TABLE’  UNION ALL  SELECT i.table_name, i.owner, s.bytes  FROM dba_indexes i, dba_segments s  WHERE s.segment_name = i.index_name  AND   s.owner = i.owner  AND   s.segment_type = ‘INDEX’  UNION ALL  SELECT l.table_name, l.owner, s.bytes  FROM dba_lobs l, dba_segments s  WHERE s.segment_name =… Continue reading Calculate storage space used by schema object, including LOBs

Opening up port 8080 in CentOS / Linux using iptables

I always like to add a comment and limit scope in my firewall rules. If I was opening up tcp port 8080 from everywhere (no scope limiting needed) for Tomcat I would run the following command iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 8080 -j ACCEPT -m comment –comment “Tomcat… Continue reading Opening up port 8080 in CentOS / Linux using iptables

COMMON SPRING BOOT PROPERTIES

# =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # =================================================================== # —————————————- # CORE PROPERTIES # —————————————- # BANNER banner.charset=UTF-8 # Banner file encoding. banner.location=classpath:banner.txt # Banner file location. banner.image.location=classpath:banner.gif # Banner image… Continue reading COMMON SPRING BOOT PROPERTIES

How to add Oracle JDBC driver in your Maven local repository

Here’s a guide to show you how to add an Oracle JDBC driver (“ojdbc6.jar“) into your Maven local repository, and also how to reference it in pom.xml. 1. Get Oracle JDBC Driver Two ways to get the Oracle jdbc driver : Oracle.com Oracle database installed folder, for example, “{ORACLE_HOME}\jdbc\lib\ojdbc6.jar“ 2. Install It To install your… Continue reading How to add Oracle JDBC driver in your Maven local repository