A Pen by Vinzha Herman on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "author": "Arslan", | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "author": "Iyan Hanafi Van Tony"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const validate = require('validate.js'); | |
| const moment = require('moment-timezone'); | |
| const mustache = require('mustache'); | |
| const fs = require('fs'); | |
| const { NotFoundError } = require('../../../../helpers/error'); | |
| const logger = require('../../../../helpers/utils/logger'); | |
| const wrapper = require('../../../../helpers/utils/wrapper'); | |
| const Query = require('./query'); | |
| const QueryUser = require('../../../user/repositories/queries/query'); | |
| const model = require('../../../billing/repositories/queries/query_model'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| JavaScript: string.replace(/\([^()]*\)/g, '') | |
| PHP: preg_replace('~\([^()]*\)~', '', $string) | |
| Perl: $s =~ s/\([^()]*\)//g | |
| Python: re.sub(r'\([^()]*\)', '', s) | |
| C#: Regex.Replace(str, @"\([^()]*\)", string.Empty) | |
| VB.NET: Regex.Replace(str, "\([^()]*\)", "") | |
| Java: s.replaceAll("\\([^()]*\\)", "") | |
| Ruby: s.gsub(/\([^()]*\)/, '') | |
| R: gsub("\\([^()]*\\)", "", x) | |
| Lua: string.gsub(s, "%([^()]*%)", "") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>A simple, clean, and responsive HTML invoice template</title> | |
| <style> | |
| .invoice-box { | |
| max-width: 800px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var restify = require('restify') | |
| , port = process.env.PORT || 3000 | |
| , Phantom = require('phantom') | |
| , tmpdir = require('os').tmpdir() | |
| , fs = require('fs'); | |
| var server = restify.createServer(); | |
| function setResponseHeaders(res, filename) { | |
| res.header('Content-disposition', 'inline; filename=' + filename); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var restify = require('restify') | |
| , port = process.env.PORT || 3000 | |
| , Phantom = require('phantom') | |
| , tmpdir = require('os').tmpdir() | |
| , fs = require('fs'); | |
| var server = restify.createServer(); | |
| function setResponseHeaders(res, filename) { | |
| res.header('Content-disposition', 'inline; filename=' + filename); |
As I'm writing this small tutorial, I assume you've read my previous one about setting up macOS, so if for any tool I'll use without explanation, look to that other article.
The full version IS NOT MANDATORY, as in the tutorial that follows I installed the smaller version of MacTeX and proceded installing every needed dependency. Installing the complete package is about ~3.5GB of download and ~5GB on disk, the smaller one is just about 80MBs.
Click here to download the complete version or here to download the smaller version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "code": 200, | |
| "results": { | |
| "data": [ | |
| { | |
| "id_perjalanan": "sriwijaya_api_1", | |
| "flight_count": 1, | |
| "detail": [ | |
| { | |
| "flight_id": "SJ 522", |
NewerOlder