Skip to content

Instantly share code, notes, and snippets.

View SufferProgrammer's full-sized avatar

SufferProgrammer SufferProgrammer

View GitHub Profile
@SufferProgrammer
SufferProgrammer / sample.json
Created January 19, 2018 19:35
Template for json file
{
"archiveMountPoint" : "/tmp/appsName/documentTitle/",
"archiveName" : "archive_Name_date",
"fileArchive" : [
{
"title": "document 1",
"attachment" : "3 Document",
"from" : "Pak Rinto Purnomo, SE",
"subTitle" : "mengirim dokumen ke BPKAD",
"acceptedBy" : "Pak Siapa",
(function() // Code in a function to create an isolate scope
{
var speed = 500;
var moving_frequency = 15; // Affects performance !
var links = document.getElementsByTagName('a');
var href;
for(var i=0; i<links.length; i++)
{
href = (links[i].attributes.href === undefined) ? null : links[i].attributes.href.nodeValue.toString();
if(href !== null && href.length > 1 && href.substr(0, 1) == '#')
<!DOCTYPE html>
<html>
<head>
<title>
Rahmat Hidayat Piji Pirma
</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width">
<link rel="apple-touch-icon" sizes="57x57" href="ico/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="ico/apple-icon-60x60.png">
<!DOCTYPE html>
<html>
<head>
<title>
nama website
</title>
</head>
<body>
<div id="wrapper">
isinya di taroh dalam sini aja kaya div div lainnya