Skip to content

Instantly share code, notes, and snippets.

package org.example;
import java.io.File;
import java.util.List;
import net.sf.okapi.lib.xliff2.core.Fragment;
import net.sf.okapi.lib.xliff2.core.Note;
import net.sf.okapi.lib.xliff2.core.Part.GetTarget;
import net.sf.okapi.lib.xliff2.core.Segment;
import net.sf.okapi.lib.xliff2.core.Unit;
<?php
use GuzzleHttp\Exception\ConnectException;
require_once("vendor/autoload.php");
/* Start to develop here. Best regards https://php-download.com/ */
function connectMyApi() {
$nama = $_GET['namaku'];
$appPath = "192.168.0.2/laravel-api-passport/public";
try {
public function ubahMenu()
{
$menu = $this->input->post('menu', true);
$this->db->set('menu', $menu);
$this->db->where('id', $this->input->post('id'));
$this->db->update('user_menu');
}
<?php
class PeriodSelf
{
public static function make($startTime = null, $endTime = null, $intervalCodeName, $isFullTime = 'fullTime')
{
$end = new \DateTime($endTime);
$start = clone $end;
$start->modify($startTime);
$interval = new \DateInterval($intervalCodeName);
error: function(data) {
$('#tabs').show();
$('#nama_forpromotor').removeClass('borb-1').addClass('wrong-data-tab animated flash');
var message = data.responseJSON.errors.nama_promotor[0];
$('#errorspromotor').addClass('animated fadeIn').text(message);
}