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 | |
/* | |
Gratis Makanan Kucing Dari gratiswhiskas.com | |
Script ini berfungsi untuk submit lebih dari 1x (karena aslinya dibatasi hanya 1x) | |
HOW TO USE | |
root@oktavianto:# php filename.php | |
SCRIPT INI BERTUJUAN UNTUK PEMBELAJARAN BAGI PARA USER/DEVELOPER | |
USE AT YOUR OWN RISK |
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
<!DOCTYPE html> | |
<html lang="{{ app()->getLocale() }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- CSRF Token --> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> |
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
<!-- create.blade.php --> | |
@extends('layouts.app') | |
@section('content') | |
<form method="post" action="{{url('home')}}"> | |
{{csrf_field()}} | |
<div class="form-group row"> | |
<label for="lgFormGroupInput" class="col-sm-2 col-form-label col-form-label-lg">Nama Guru</label> | |
<div class="col-sm-10"> | |
<input type="text" class="form-control form-control-lg" id="lgFormGroupInput" placeholder="Nama Guru" name="nama_guru"> | |
</div> |
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 LoginController extends \Phalcon\Mvc\Controller | |
{ | |
private function _registerSession(User $user) | |
{ | |
$this->session->set('auth', array( | |
'loggedin' => true, | |
'id' => $user->id, |
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
const {app, BrowserWindow} = require('electron') | |
const path = require('path') | |
const url = require('url') | |
// Keep a global reference of the window object, if you don't, the window will | |
// be closed automatically when the JavaScript object is garbage collected. | |
let win | |
function createWindow () { | |
// Create the browser window. |
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
Test Doang Mamang, {{ $isi }} |
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 namespace Maatwebsite\Excel\Writers; | |
use Maatwebsite\Excel\Classes\LaravelExcelWorksheet; | |
/** | |
* File Location: /src/Maatwebsite/Excel/Writers/CellWriter.php | |
* LaravelExcel Excel writer | |
* | |
* @category Laravel Excel | |
* @version 1.0.0 |
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
#include<bits/stdc++.h> | |
#include <conio.h> | |
using namespace std; | |
bool isOperator(char c) | |
{ | |
return (!isalpha(c) && !isdigit(c)); | |
} | |
int getPriority(char C) |
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
version: '3' | |
services: | |
#PHP Service | |
app: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
image: digitalocean.com/php | |
container_name: ${PROJECT_NAME}-app |
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
FROM php:7.2-fpm | |
# Copy composer.lock and composer.json | |
COPY composer.lock composer.json /var/www/${PROJECT_NAME} | |
# Set working directory | |
WORKDIR /var/www/${PROJECT_NAME} | |
# Install dependencies | |
RUN apt-get update && apt-get install -y \ |
OlderNewer