Skip to content

Instantly share code, notes, and snippets.

View drosanda's full-sized avatar

Daeng Rosanda drosanda

View GitHub Profile
@drosanda
drosanda / email-signature.html
Created February 2, 2020 01:30
Email Signature - Cipta Esensi Merenah - Cenah.co.id
<html>
<body>
<table>
<tr>
<td>
<img src="https://cdn.cenah.co.id/media/logo.png" width="96px" />
</td>
<td>
<table>
<tr>
@drosanda
drosanda / config.php
Last active January 22, 2020 07:37
Seme Framework general configuration file for Server production
<?php
$site = "http://".$_SERVER['HTTP_HOST']."/";
$sene_method = "REQUEST_URI";//REQUEST_URI,PATH_INFO,ORIG_PATH_INFO,
@drosanda
drosanda / .htaccess
Created January 22, 2020 06:07
Seme Framework .htaccess basic configuration
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
@drosanda
drosanda / .gitignore
Last active January 22, 2020 07:12
Seme Framework .gitignore for GIT Deployment Method
.DS_Store
*.DS_Store
*.db
*.xls
*.xlsx
*.pdf
app/config/config.php
app/config/database.php
app/core/ji_controller.php
#**/media
@drosanda
drosanda / getAlpNumEnc.js
Last active February 2, 2020 12:37
Encode Integer into Alpha-numeric BASE using Javascript
function getAlpNumEnc(i) {
var str = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
var len = str.length;
return (i >= len ? getAlpNumEnc((i / len >> 0) - 1) : '') + str[i % len >> 0];
}
@drosanda
drosanda / hosts
Last active January 2, 2018 16:26
hosts config for kbagi.com, kumpulbagi.com kumpulbagi.id
119.81.2.142 kbagi.com
119.81.2.139 i.kbagi.com
209.58.183.2 s200.kbagi.com
209.58.183.3 s201.kbagi.com
209.58.183.4 s202.kbagi.com
209.58.183.5 s203.kbagi.com
209.58.183.6 s204.kbagi.com
209.58.183.7 s205.kbagi.com
209.58.183.8 s206.kbagi.com
209.58.183.9 s207.kbagi.com