/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot
Or
mysqld -u root -p
{ | |
"guestFunctions": [ | |
"erpnext.www.book_appointment.verify.index.get_context(context)", | |
"erpnext.www.book_appointment.index.get_appointment_settings()", | |
"erpnext.www.book_appointment.index.get_timezones()", | |
"erpnext.www.book_appointment.index.get_appointment_slots(date, timezone)", | |
"erpnext.www.book_appointment.index.create_appointment(date, time, tz, contact)", | |
"erpnext.templates.utils.send_message(subject='Website Query', message='', sender='', status='Open')", | |
"erpnext.templates.pages.search_help.get_help_results_sections(text)", | |
"erpnext.templates.pages.product_search.get_product_list(search=None, start=0, limit=12)", |
Proposal Mini-task besut kode
Tanggal : 10/12/2016
Nama : muhammad taufiq sumadi
Kampus : Politeknik Negeri Samarinda
Jurusan : Teknologi Informasi
if (!String.prototype.repeat) { | |
// polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat | |
String.prototype.repeat = function(count) { | |
'use strict'; | |
if (this == null) { | |
throw new TypeError('can\'t convert ' + this + ' to object'); | |
} | |
var str = '' + this; | |
count = +count; | |
if (count != count) { |
import requests | |
from requests.auth import HTTPBasicAuth | |
import re | |
from StringIO import StringIO | |
JIRA_URL = 'https://your-jira-url.tld/' | |
JIRA_ACCOUNT = ('jira-username', 'jira-password') | |
# the JIRA project ID (short) | |
JIRA_PROJECT = 'PRO' | |
GITLAB_URL = 'http://your-gitlab-url.tld/' |
# install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libgtk2.0-dev | |
sudo apt-get install -y pkg-config | |
sudo apt-get install -y python-numpy python-dev | |
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev | |
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.PouchDB=e():"undefined"!=typeof global?global.PouchDB=e():"undefined"!=typeof self&&(self.PouchDB=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
/*globals cordova */ | |
"use strict"; | |
var utils = require('./utils'); | |
var merge = require('./merge'); | |
var errors = require('./deps/errors'); | |
var call = utils.call; |
This can reduce files to ~15% of their size (2.3M to 345K, in one case) with no obvious degradation of quality.
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Other options for PDFSETTINGS: