Skip to content

Instantly share code, notes, and snippets.

View oktavianto's full-sized avatar
www.ionbit.id

Excel Dwi Oktavianto oktavianto

www.ionbit.id
View GitHub Profile
@oktavianto
oktavianto / freemakanankucing.php
Last active March 7, 2017 10:35
Facebook Login Bypass gratiswhiskas.com by Oktavianto
<?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
<!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() }}">
<!-- 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>
@oktavianto
oktavianto / LoginController.php
Created December 13, 2017 04:11
LoginController.php
<?php
class LoginController extends \Phalcon\Mvc\Controller
{
private function _registerSession(User $user)
{
$this->session->set('auth', array(
'loggedin' => true,
'id' => $user->id,
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.
@oktavianto
oktavianto / email.blade.php
Created March 12, 2018 12:06
Belajar SendGrid
Test Doang Mamang, {{ $isi }}
<?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
#include<bits/stdc++.h>
#include <conio.h>
using namespace std;
bool isOperator(char c)
{
return (!isalpha(c) && !isdigit(c));
}
int getPriority(char C)
@oktavianto
oktavianto / 23tree.c
Created May 5, 2019 10:46
2-3 Tree in C
#include <stdio.h>
#include <stdlib.h>
#define M 3
struct node {
int n;
int keys[M-1];
struct node *p[M];
}*root=NULL;
version: '3'
services:
#PHP Service
app:
build:
context: .
dockerfile: Dockerfile
image: digitalocean.com/php
container_name: ${PROJECT_NAME}-app