Skip to content

Instantly share code, notes, and snippets.

View krisanalfa's full-sized avatar

Krisan Timur krisanalfa

  • Denpasar, Bali
View GitHub Profile
@krisanalfa
krisanalfa / phps.sublime-settings
Created June 15, 2015 13:48
My PHP CS Configuration
{
// Plugin settings
// Turn the debug output on/off
"show_debug": false,
// Which file types (file extensions), do you want the plugin to
// execute for
"extensions_to_execute": ["php"],
@krisanalfa
krisanalfa / KeyGenerateCommand.php
Last active September 25, 2023 17:25
Lumen Key Generator Commands
<?php
namespace App\Console\Commands;
use Illuminate\Support\Str;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
class KeyGenerateCommand extends Command
{
@krisanalfa
krisanalfa / devil_may_cry_4_script.txt
Created May 6, 2015 08:30
Devil May Cry 4 Script (PS3)
DEVIL MAY CRY 4 - GAME SCRIPT
Developer: Capcom
Platform: PS3/XBOX360
Written by: Lunadea
Contact at: drakulya[at]gmail[dot]com
<-------------------
@krisanalfa
krisanalfa / config.txt
Last active August 29, 2015 14:19
PHP 7 Configuration
./configure \
--enable-mbstring \
--enable-zip \
--enable-bcmath \
--enable-pcntl \
--enable-ftp \
--enable-exif \
--enable-calendar \
--enable-sysvmsg \
--enable-sysvsem \
@krisanalfa
krisanalfa / pas.json
Created March 26, 2015 06:33
pas config for MySQL
{
"name": "xinix-technology/generalli",
"version": "1.0.0",
"profile": "docker",
"docker": {
"containers": {
"nginx": {
"ports": [
"80:80"
@krisanalfa
krisanalfa / tint2rc
Created March 20, 2015 14:54
My tint2 Configuration
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 0
border_width = 1
background_color = #2D2D2D 100
border_color = #484848 100
@krisanalfa
krisanalfa / iTerm.md
Created December 18, 2014 11:27
Tutorial git-bisect
krisanalfatimur@supernova ~/Temp/test (git)-[master] % git log --oneline
c470042 [ADD] New method to determine the number of cigarrete.
6ab57ea [ERROR] Here's an error has been introduced.
f12ef84 [UPDATE] New words.
3f1a4b3 [UPDATE] Now say hello!
3df8afb [UPDATE] Assign the function to variable.
867b7da [NEW] hello.php.
krisanalfatimur@supernova ~/Temp/test (git)-[master] %
krisanalfatimur@supernova ~/Temp/test (git)-[master] % php hello.php
@krisanalfa
krisanalfa / 02.make
Created November 12, 2014 16:23
Homebrew error build HHVM HEAD on Yosemite
2014-11-12 23:14:09 +0700
make
-j4
Scanning dependencies of target fastlz
[ 0%] Scanning dependencies of target afdt
Building C object third-party/fastlz/CMakeFiles/fastlz.dir/fastlz.c.o
[ 0%] Building C object third-party/libafdt/CMakeFiles/afdt.dir/src/lowlevel.c.o
Scanning dependencies of target pcre
@krisanalfa
krisanalfa / .gitignore
Last active August 29, 2015 14:04
Basic Gitignore File
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@krisanalfa
krisanalfa / macosx-install-php-oracle-oci8-pdo_oci.md
Last active January 11, 2024 22:00 — forked from gido/macosx-install-php-oracle-oci8.md
Install OCI8 and / or PDO_OCI on OSX via Brew

Installation

This procedure is tested on Mac OS X 10.10.5 with Developpers tools installed (xCode).

PHP 5.6 installed with Homebrew.

Preparation

Download the following files from Oracle website (yes, you need to create an account and accept terms):