This file contains 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
""" | |
Generate icons for a Tauri Application | |
---------------------- | |
By Ibai Farina | |
For correct functionality, the base logo should be 512x512 or larger (keeping the aspect ratio). | |
""" | |
__title__ = 'Tauri Icon Generator' | |
__author__ = 'Ibai Farina' | |
__license__ = 'MIT' |
This file contains 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
<?php | |
// replace 081234567890 or 6281234567890 or +6281234567890 or 62 812 34 567 890 | |
// to 6281234567890 for whatsapp link http://wa.me/62xxxxx | |
function phoneFormat($number, $country_code = '62') | |
{ | |
$number = str_replace('+', '', $number); | |
$number = str_replace(' ', '', $number); | |
$number = preg_replace('/^0/', $country_code, $number); | |
return $number; | |
} |
This file contains 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
tambah ini ke file .env | |
MAIL_DRIVER=mailgun | |
MAIL_HOST=smtp.mailgun.org | |
MAIL_PORT=587 | |
MAIL_ENCRYPTION=tls | |
[email protected] | |
MAIL_FROM_NAME="KSP" | |
MAILGUN_DOMAIN=domain.com | |
MAILGUN_SECRET=key-dari-mailgun |
This file contains 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
<?php | |
namespace Akaneapp\Controller; | |
class FiturController extends \Akane\Controller\BaseController | |
{ | |
public function indexAction() | |
{ | |
$paket = $this->paketModel->all('', '', array( | |
'tampil' => 'ya' |
This file contains 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
<?php | |
// anggap ini data bulan lalu hasil select dari database ya | |
// (nanti bikin sendiri utk ngambil datanya) | |
$data_kas_bulan_lalu = [ | |
[ | |
'tgl_transaksi' => '2020-08-30', | |
'resort' => '1A', | |
'no_anggota' => 'CB200830001', | |
'no_transaksi' => 'CB200830001-1', |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Gmap Test</title> | |
<style> | |
#map { | |
width: 600px; | |
height: 300px; |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"> | |
<title>KSP - Koperasi Simpan Pinjam</title> | |
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico"/> | |
<link href="/assets/css/loader.css" rel="stylesheet" type="text/css" /> | |
<script src="/assets/js/loader.js"></script> |
This file contains 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
<?php | |
class ClassName | |
{ | |
private function date_range($first, $last, $step = '+1 day', $output_format = 'Y-m-d' ) | |
{ | |
$dates = array(); | |
$current = strtotime($first); | |
$last = strtotime($last); | |
This file contains 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
[ | |
{ "keys": ["ctrl+alt+u"], "command": "ftp_sync_current" }, | |
{ "keys": ["ctrl+alt+d"], "command": "ftp_sync_down_current" }, | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, | |
{ "keys": ["ctrl+shift+t"], "command": "reopen_last_file" }, | |
{ "keys": ["ctrl+alt+t"], "command": "open_terminal" }, | |
{ "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" } | |
] |
This file contains 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
<?php | |
case 'add': | |
$web->breadcumbs->add('?content=sub_account','Sub Account'); | |
$web->breadcumbs->add('current','Add'); | |
echo BACKLINK; | |
if ( (isset($_POST['ppost'])) && ($_POST['ppost']==MENU_ADD) ) | |
{ | |
if (!empty($_POST['name']) && !empty($_POST['email']) && !empty($_POST['password']) && !empty($_POST['phone']) && !empty($_POST['alamat']) && !empty($_POST['id_provinsi']) && !empty($_POST['id_kota']) && !empty($_POST['status'])) |
NewerOlder