There are two types of markup in Liquid: Output and Tag.
- Output markup (which may resolve to text) is surrounded by
{{ matched pairs of curly brackets (ie, braces) }}
- Tag markup (which cannot resolve to text) is surrounded by
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}
{% assign words = post.content | strip_html | number_of_words %}
{% if words < 360 %}
1 min
{% else %}
{{ words | divided_by:180 }} mins
{% endif %}
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.UnsupportedEncodingException; | |
import java.security.InvalidKeyException; | |
import java.security.Key; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.Arrays; |
import java.net.InetAddress; | |
import java.net.NetworkInterface; | |
/** | |
* @author jogHar | |
*/ | |
public class SystemMacAddress { | |
public static String getSystemMac(){ | |
try{ | |
String OSName= System.getProperty("os.name"); |
public class DatabaseBackup { | |
public static void main(String[] args) throws IOException, InterruptedException { | |
Backupdbtosql(); | |
Restoredbfromsql("backup.sql"); //argument is a file name of database | |
} | |
private static void Backupdbtosql() { | |
try { | |
/*NOTE: Getting path to the Jar file being executed*/ |
class HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("Hello, World!"); | |
} | |
} |