Skip to content

Instantly share code, notes, and snippets.

View nafiesl's full-sized avatar

Nafies Luthfi nafiesl

View GitHub Profile
@nafiesl
nafiesl / tahapan-pembuatan-website.md
Created June 30, 2018 01:27
Tahapan Pembuatan Website

Tahapan Pembuatan Website

Dalam mengerjakan suatu proyek website atau aplikasi berbasis web, kami (JasaWebsiteBanjarmasin.com) bagi dalam 4 tahap pengerjaan sejak persiapan hingga selesai. Ke empat tahap tersebut adalah:

1. Analisis

Dalam tahap ini, kami mempersiapkan pengerjaan proyek dengan terlebih dahulu melakukan inteview kepada klien. Yaitu untuk mendiskusikan apa saja hal atau fitur sistem yang ingin dituangkan ke dalam website atau aplikasi web yang ingin dibuat.

Kemudian hasil inteview tersebut kami buat menjadi sebuah konsep tertulis, untuk di-review atau dianalisis oleh klien. Analisis ini diperlukan sebagai feedback dari klien, apakah konsep yang kami buat sudah sesuai dengan harapan dan keinginan klien.

@nafiesl
nafiesl / UnitTypeController.php
Last active November 10, 2018 10:21
Laravel Select Dropdown Example
<?php
namespace App\Http\Controllers;
use App\UnitType;
use App\UnitModel;
class UnitTypeController extends Controller
{
public function edit(UnitType $unitType)
@nafiesl
nafiesl / sublime-keymap
Created May 7, 2019 13:43
Sublime PHP Keymap
[
// { "keys": ["ctrl+k", "ctrl+t"], "command": "title_case" },
{ "keys": ["ctrl+shift+g"], "command": "find_all_under" },
{ "keys": ["ctrl+shift+up"], "command": "duplicate_line" },
{ "keys": ["ctrl+shift+down"], "command": "duplicate_line" },
// ctrl+alt+up and ctrl+alt+down are conflicted with window manager keyboard shortcuts
// We need to disable Window Manager -> Keyboard: Upper and Bottom workspace shortcuts
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["alt+shift+up"], "command": "swap_line_up" },
@nafiesl
nafiesl / jadwal_pelajaran.md
Last active June 22, 2019 10:51
Jadwal pelajaran

Soal Jadwal Pelajaran

Selamat weekend kawan-kawan.

Kalo ada yang free dan mau iseng-iseng, saya ada sedikit kuis tentang Jadwal Pelajaran

Misalkan kita punya data array hari:

@nafiesl
nafiesl / sublime-text-keymap
Created December 28, 2019 05:29
Sublime Key Bindings
[
// { "keys": ["ctrl+k", "ctrl+t"], "command": "title_case" },
{ "keys": ["ctrl+shift+g"], "command": "find_all_under" },
{ "keys": ["ctrl+shift+up"], "command": "duplicate_line" },
{ "keys": ["ctrl+shift+down"], "command": "duplicate_line" },
// ctrl+alt+up and ctrl+alt+down are conflicted with window manager keyboard shortcuts
// We need to disable Window Manager -> Keyboard: Upper and Bottom workspace shortcuts
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },
{ "keys": ["alt+shift+up"], "command": "swap_line_up" },
@nafiesl
nafiesl / blade_view.txt
Created January 15, 2020 16:35
Room Schedule
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Penggunaan Ruangan</h3></div>
<table class="table table-condensed text-center table-hover table-bordered">
<thead>
<th class="text-center col-md-1">{{ __('schedule.session') }}</th>
@foreach(getDays() as $dayId => $day)
<th class="text-center col-md-1">{{ $day }}</th>
@endforeach
</thead>
<tbody>
@nafiesl
nafiesl / backupMySQLDBsinSingleFiles.sh
Created April 25, 2021 22:36
Backup MySQL DB in Single Files
#!/bin/bash
################################################
#
# Backup all MySQL databases in separate files and compress those.
# Furthermore the script will create a folder with the current time stamp
# @author: Per Lasse Baasch (http://skycube.net)
# @Version: 2014-06-13
# NOTE: MySQL and gzip installed on the system
# and you will need write permissions in the directory where you executing this script
#
@nafiesl
nafiesl / konsep.md
Created September 17, 2021 03:44
Konsep History Jabatan

Aplikasi History Jabatan

Tentang

Adalah aplikasi untuk mencatat dan melihat history atau riwayat jataban seseorang yang bekerja di suatu instansi/perusahaan.

Tujuan

Membuat suatu aplikasi yang dapat mencatat riwayat jabatan seorang pegawai/karyawan

@nafiesl
nafiesl / gitignore
Created November 15, 2021 06:25
Wordpress Gitignore
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20150227
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
@nafiesl
nafiesl / data.json
Last active May 2, 2023 13:38
Basic File Generator using Bash Script
[
{"name": "website_1", "age": 1},
{"name": "website_2", "age": 2},
{"name": "website_3", "age": 3}
]