Skip to content

Instantly share code, notes, and snippets.

View ferdhika31's full-sized avatar
:octocat:
Home

Ferdhika Yudira ferdhika31

:octocat:
Home
View GitHub Profile
@ferdhika31
ferdhika31 / Generate.php
Created October 16, 2018 07:43
Helper :)
<?php
/*
* @Author: Ferdhika Yudira
* @Website: http://dika.web.id
* @Date: 2018-09-27 11:46:55
* @Email: fer@dika.web.id
*/
namespace App\Helpers;
use Illuminate\Support\Facades\URL;
@ferdhika31
ferdhika31 / gist:c121a50e84805c30686953b2d3b38a3e
Created October 3, 2018 02:10 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ferdhika31
ferdhika31 / polaportal.php
Created October 1, 2018 04:09
Polaportalpontianak
<?php
$awal=0;
$akhir=4;
$baris=1;
for($i=0;$i<15;$i++){
echo "Baris : ".$baris."<br>";
@ferdhika31
ferdhika31 / octicon.css
Created September 13, 2018 05:10
The @font-face for the GitHub Octicons. See https://github.com/styleguide/css/7.0 for more information. Octicons webfonts version 4.4.0
@font-face {
font-family:"Octicons";
src:url("https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/font/octicons.eot?ef21c39f0ca9b1b5116e5eb7ac5eabe6");
src:url("https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/font/octicons.eot?#iefix") format("embedded-opentype"),
url("https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/font/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6") format("woff2"),
url("https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/font/octicons.woff?ef21c39f0ca9b1b5116e5eb7ac5eabe6") format("woff"),
url("https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/font/octicons.ttf?ef21c39f0ca9b1b5116e5eb7ac5eabe6") format("truetype"),
url("https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/font/octicons.svg?ef21c39f0ca9b1b5116e5eb7ac5eabe6#octicons") format("svg");
font-weight:normal;
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use App\Traits\BinarySchemaTrait as BinarySchema;
class CreateProdukHukumTable extends Migration
{
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use App\Traits\BinarySchemaTrait as BinarySchema;
class CreatePengajuanProdukHukumTable extends Migration
{
@ferdhika31
ferdhika31 / jalur.html
Last active June 12, 2018 10:29
Cek keluar jalur di google maps
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Check directions between two point</title>
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
@ferdhika31
ferdhika31 / Tgl_indonesia.php
Created June 11, 2018 09:47
Panada library
<?php
/**
* @Author : Localhost {Ferdhika Yudira}
* @Email : fer@dika.web.id
* @Web : http://dika.web.id
* @Date : 2015-02-18 18:00:20
**/
namespace Libraries;
class Tgl_indonesia {
@ferdhika31
ferdhika31 / notif.php
Created December 23, 2017 13:28
Send notif firebase
<?php
// API access key from Google API's Console
define( 'API_ACCESS_KEY', 'API_KEY_FIREBASE' );
// device id
$registrationIds = array(
'REGISTER_ID'
);
// prep the bundle
$msg = array(
@ferdhika31
ferdhika31 / CRUD_pymongo.py
Created March 27, 2017 13:46
CRUD PyMongo at command line/terminal
# Source From : https://github.com/jay3dec/CRUD_Python_MongoDb/blob/master/MongoDbCRUD.py
# Python Version : 3
# Install pymongo : pip3 install pymongo
from pymongo import MongoClient
# creating connectioons for communicating with Mongo DB
client = MongoClient('localhost:27017')
db = client.EmployeeData