Skip to content

Instantly share code, notes, and snippets.

@ahmadkarlam
ahmadkarlam / konversi.php
Last active July 8, 2020 02:17
Konversi Angka -> Romawi
<?php
// M=1000
// D=500
// C=100
// L=50
// X=10
// V=5
// I=1
<?php
return array(
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
@ahmadkarlam
ahmadkarlam / logic
Last active August 29, 2015 14:06
Logic Alif
<?php
$angka = 35;
for ($i = 1; $i <= $angka; $i++)
{
if ($i == 1)
{
for ($a = 1; $a <= $angka; $a++)
{
@ahmadkarlam
ahmadkarlam / .vimrc
Last active May 12, 2023 02:12
My vimrc
call plug#begin()
" Put your plugin here.
Plug 'scwood/vim-hybrid'
Plug 'scrooloose/nerdtree'
Plug 'kien/ctrlp.vim'
Plug 'jwalton512/vim-blade'
Plug 'StanAngeloff/php.vim'
Plug 'Valloric/MatchTagAlways'
Plug 'Yggdroot/indentLine'
@ahmadkarlam
ahmadkarlam / .tmux.conf
Last active February 4, 2020 07:00
My Tmux Conf
# Tmux 2.0
# set -g default-terminal "screen-256color"
set -g mouse on
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
#include QMK_KEYBOARD_H
extern keymap_config_t keymap_config;
// Layer shorthand
#define _BL 0
#define _LW 1
#define _RS 2
enum layer_keycodes {
call plug#begin()
Plug 'scwood/vim-hybrid'
Plug 'scrooloose/nerdtree'
Plug 'kien/ctrlp.vim'
Plug 'jwalton512/vim-blade'
Plug 'StanAngeloff/php.vim'
Plug 'Yggdroot/indentLine'
Plug 'vim-airline/vim-airline'
Plug 'vim-scripts/bash-support.vim'
Plug 'editorconfig/editorconfig-vim'