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 | |
use Illuminate\Support\Facades\Route; | |
use Illuminate\Support\Facades\Http; | |
use GuzzleHttp\Client as GuzzleClient; | |
/* | |
|-------------------------------------------------------------------------- | |
| Web Routes | |
|-------------------------------------------------------------------------- |
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 | |
namespace App\Services; | |
use App\Libraries\WebApiResponse; | |
use App\Models\EmployeeInformation\ApprovalProcess\EmployeeApprovalData; | |
use App\Models\EmployeeInformation\Employee; | |
use App\Models\PayrollManagement\EmployeSalaryAllowancePolicy; | |
use Carbon\Carbon; | |
use Illuminate\Http\Request; |
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 | |
function alpha2num($columnAlphabetic) { | |
$numericValue = 0; | |
foreach(str_split($columnAlphabetic) as $singleLetter){ | |
$numericValue = ($numericValue * 26) + (ord(strtolower($singleLetter)) - 96); | |
} | |
return $numericValue; | |
} | |
function num2alpha($columnNumeric) { |
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 | |
// SQL Preserved Keywords | |
$sqlReservedWords = [ | |
'ACCESSIBLE', | |
'ADD', | |
'ALL', | |
'ALTER', | |
'ANALYZE', | |
'AND', |
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 phpinfo(); | |
$baseURL = 'http://192.168.10.241:8080/simecschool/'; | |
$attendanceAPI = $baseURL.'frontend/apiattendance'; | |
// echo $attendanceAPI; | |
$data = array( | |
'punchID' => '123456', |
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
#include<iostream> | |
using namespace std; | |
class DDD{ | |
private: | |
int a; | |
public: | |
void get_data(){ | |
cin>>a; | |
} | |
void display(){ |
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
#include<stdio.h> | |
int main(){ | |
int x,y,i,sum=0; | |
scanf("%d %d",&x,&y); | |
if(y>x){ | |
for(i=x;i<=y;i++){ | |
if(i%13!=0) | |
sum=sum+i; | |
} |
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
#include<stdio.h> | |
int main(){ | |
int a,b,c; | |
scanf("%d %d",&a,&b); | |
if(a==b) | |
printf("O JOGO DUROU %d HORA(S)\n",24-0); | |
else if(a>b){ | |
c=(24-a)+b; | |
printf("O JOGO DUROU %d HORA(S)\n",c); |
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
#include<stdio.h> | |
int main(){ | |
float a; | |
scanf("%f",&a); | |
if(a>=0&&a<=25) | |
printf("Intervalo [0,25]\n"); | |
else if(a>25&&a<=50) | |
printf("Intervalo (25,50]\n"); |
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
#include<stdio.h> | |
int main() | |
{ | |
float hr,sp,m,d; | |
m=12; | |
scanf("%f %f",&hr,&sp); | |
d=(hr*sp)/m; | |
printf("%.3f\n",d); | |
return 0; | |
NewerOlder