You can either force composer to use https by:
composer config -g repo.packagist composer https://packagist.org
Or you could set in your composer.json file:
"repositories": [
{
"type": "composer",
| var urlParams = new URLSearchParams(window.location.search); | |
| var chkid; | |
| if (urlParams.has('chkid')) { | |
| chkid = urlParams.get('chkid'); | |
| } |
You can either force composer to use https by:
composer config -g repo.packagist composer https://packagist.org
Or you could set in your composer.json file:
"repositories": [
{
"type": "composer",
| How to change mysql data folder on XAMPP macOS: | |
| $ cp -R /Applications/XAMPP/xamppfiles/var/mysql /Volumes/DataDisk/Data/mysqldata | |
| $ sudo chown -R _mysql /Volumes/DataDisk/Data/mysqldata | |
| $ sudo chgrp -R _mysql /Volumes/DataDisk/Data/mysqldata | |
| $ sudo nano /Applications/XAMPP/xamppfiles/bin/mysql.server | |
| or | |
| # sudo nano /Applications/XAMPP/xamppfiles/share/mysql/mysql.server |
| <div id="map-canvas" style="height: 400px;"></div> | |
| <input type="button" value="Reload markers" id="reloadMarkers"> | |
| <script src="http://maps.googleapis.com/maps/api/js?sensor=false&key=[YOURKEY]"></script> | |
| <script> | |
| var map; | |
| var markers = []; // Create a marker array to hold your markers | |
| var beaches = [ | |
| ['Bondi Beach', 10, 10, 4], | |
| ['Coogee Beach', 10, 11, 5], |
| <?php | |
| /************/ | |
| /************/ | |
| function terbilang_tmp($nilai) | |
| { | |
| $nilai = abs($nilai); | |
| $huruf = array("", "satu", "dua", "tiga", "empat", "lima", "enam", "tujuh", "delapan", "sembilan", "sepuluh", "sebelas"); | |
| $temp = ""; | |
| if ($nilai < 12) { | |
| $temp = " " . $huruf[$nilai]; |
| <?php | |
| /* ------------------------------------------------------- | |
| * Author: Jerry Maheswara | |
| * Description: Upload Multiple File with Database | |
| * Silahkan dikembangkan lebih lanjut....!! | |
| * Feel free to improve your code.... | |
| * jangan sungkan-sungakan.... ini hanya sebagai dasar saja... | |
| */ |
| <?php | |
| /* ------------------------------------------------------- | |
| * Author: Jerry Maheswara | |
| * Description: Upload Multiple File | |
| * Silahkan dikembangkan lebih lanjut....!! | |
| * Feel free to improve your code.... | |
| * jangan sungkan-sungakan.... ini hanya sebagai dasar saja... | |
| */ | |
| error_reporting(E_ALL); |
| <?php | |
| defined('BASEPATH') or exit('No direct script access allowed'); | |
| class Upload extends MY_Controller | |
| { | |
| //////////////////////////////////////// | |
| public function single() | |
| { | |
| if ($_FILES['user_avatar_file']['error'] == 0) { | |
| /// upload avatar |
| <?php if (!defined('BASEPATH')) { | |
| exit('No direct script access allowed'); | |
| } | |
| /** | |
| * Ignited Datatables | |
| * | |
| * This is a wrapper class/library based on the native Datatables server-side implementation by Allan Jardine | |
| * found at http://datatables.net/examples/data_sources/server_side.html for CodeIgniter | |
| * |
| <?php | |
| defined('BASEPATH') OR exit('No direct script access allowed'); | |
| class Kodepos extends MY_Controller { | |
| /*****************************************************************************/ | |
| public function __construct() | |
| { | |
| parent::__construct(); | |
| $this->load->library('datatables'); | |
| $this->data['header'] = $this->parser->parse('contoh/header.html', $this->data, true); |