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
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; |
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 | |
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 { |
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 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); |
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
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); | |
} |