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
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:crypto/crypto.dart'; | |
// Device Manager | |
class Device { | |
Device._privateConstructor(); |
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
android.permission.ACCESS_ALL_DOWNLOADS | |
android.permission.ACCESS_BLUETOOTH_SHARE | |
android.permission.ACCESS_CACHE_FILESYSTEM | |
android.permission.ACCESS_CHECKIN_PROPERTIES | |
android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY | |
android.permission.ACCESS_DOWNLOAD_MANAGER | |
android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED | |
android.permission.ACCESS_DRM_CERTIFICATES | |
android.permission.ACCESS_EPHEMERAL_APPS | |
android.permission.ACCESS_FM_RADIO |
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
public $default = [ | |
'DSN' => '', | |
'hostname' => '', // hostname login sql server | |
'username' => 'sa', // user login sql server | |
'password' => '', // password login sql server | |
'database' => '', // database di sql server | |
'DBDriver' => 'sqlsrv', // default driver sql server | |
'DBPrefix' => '', | |
'pConnect' => false, | |
'DBDebug' => (ENVIRONMENT !== 'production'), |
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 lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> | |
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
$query = "SELECT * FROM Tbl_Seksi";// Query untuk menampilkan semua data siswa | |
$config['base_url'] = base_url('admin_promo/slide/'); | |
$config['total_rows'] = $this->db->query($query)->num_rows(); | |
$config['per_page'] = 3; | |
$config['uri_segment'] = 3; | |
$config['num_links'] = 3; | |
$config['use_page_numbers'] = TRUE; | |
// Style Pagination |
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
/* responsive */ | |
@media (max-width: 320px) and (-webkit-min-device-pixel-ratio: 2), (max-width: 320px) and (min-resolution: 192dpi), (max-width: 320px) and (min-resolution: 2dppx) { | |
body { | |
background-color: #7a7206; | |
} | |
body:before { | |
content: "Phone Viewport"; | |
} | |
} |
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"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<style type="text/css"> | |
@media only screen and (min-device-width: 320px) and (max-device-width: 350px) { | |
body { background-color: green; } |
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
<?php | |
echo '<pre>'; | |
function scan_disk($dir = '', $max_limit = 0) { | |
if ($max_limit > 0) { | |
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
function regex_no_hp_62_0($nohp) { | |
$no = ""; | |
if (preg_match('/^(?:\+62)/',trim($nohp))) { | |
// echo "ada tanda +62 <br>"; | |
$no = substr_replace($nohp,'0',0,3); | |
} else if (preg_match('/^(?:62)/',trim($nohp))) { | |
// echo "ada tanda 62 <br>"; | |
$no = substr_replace($nohp,'0',0,2); | |
} else { | |
// echo "number yg di cari 08 <br>"; |
NewerOlder