Skip to content

Instantly share code, notes, and snippets.

View harimau99's full-sized avatar
:octocat:
Mercenary on Cloud & Security that do code at anywhere available for hire

Najoe harimau99

:octocat:
Mercenary on Cloud & Security that do code at anywhere available for hire
View GitHub Profile
@harimau99
harimau99 / .htaccess
Created December 3, 2016 18:13
CI: Simple .htaccess using mod_rewrite for CodeIgniter
<IfModule mod_rewrite.c>
RewriteEngine On
# !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
# slashes.
# If your page resides at
# http://www.example.com/mypage/test1
# then use
# RewriteBase /mypage/test1/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
@harimau99
harimau99 / ipadmov.m
Created November 11, 2017 19:19 — forked from rysk-t/ipadmov.m
matlab mobile with matlab2015; acceralation & orientation
if ~exist('m')
m = mobiledev()
end
i=1;
tic
close all
clear t x
while true
subplot(121)
@harimau99
harimau99 / dotPlot.m
Created November 11, 2017 19:19 — forked from rysk-t/dotPlot.m
dotplot
function [sh, lh, mp] = dotPlot(X, G, Wid, med, beas)
% [sh, lh, mp] = dotPlot(X, G, Wid, med, beas)
%
% load fisheriris.mat
% [sh, lh, mp] = dotPlot(meas(:,3), species, .25, false, true)
%
% input:
% X: data
% G: Group
% Wid: width of dot distribution (default: .35)
@harimau99
harimau99 / laravellocal.md
Created January 4, 2018 00:45 — forked from hootlex/laravellocal.md
Run laravel project locally

##Windows users:

cmder will be refered as console

##Mac Os, Ubuntu and windows users continue here:

  • Create a database locally named homestead utf8_general_ci
@harimau99
harimau99 / wpfcwc.conf
Created February 3, 2018 08:35 — forked from pelmered/wpfcwc.conf
EasyEngine WooCommerce config with FastCGI Cache
#
set $skip_cache 0;
# POST requests and URL with a query string should always go to php
if ($request_method = POST) {
set $skip_cache 1;
}
if ($query_string != "") {
const byte SIAP = 0;
const byte KOIN_MASUK1 = 1;
const byte KOIN_MASUK2 = 2;
const byte KOIN_MASUK3 = 3;
const byte KOIN_MASUK4 = 4;
const byte KOIN_MASUK5 = 5;
const byte KOIN_MASUK6 = 6;
const byte KOIN_MASUK7 = 7;
const byte SALDO_500 = 8;
const byte SALDO_500500 = 9;

Animated SVG Avatar

Created a login form with an SVG avatar that responds to the input in the email field. Used the GSAP TweenMax library + GSAP's MorphSVG plugin for the animating.

Email validation is very simple and crude just for the purposes of getting this prototype working.

A Pen by Darin on CodePen.

License.

@harimau99
harimau99 / index.html
Created February 28, 2018 03:33 — forked from anonymous/index.html
SVG animated hamburger menu
<div class="container">
<a class="navButton" href="#">
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="40" viewBox="0 0 50 40">
<line class="topLine" fill="none" stroke="#FFF" stroke-width="4" stroke-linecap="round" stroke-miterlimit="10" x1="8" y1="16" x2="34" y2="16"/>
<line class="midLine" fill="none" stroke="#FFF" stroke-width="4" stroke-linecap="round" stroke-miterlimit="10" x1="8" y1="25" x2="34" y2="25"/>
<line class="botLine" fill="none" stroke="#FFF" stroke-width="4" stroke-linecap="round" stroke-miterlimit="10" x1="8" y1="34" x2="34" y2="34"/>
<polyline class="roof" fill="none" stroke="#FFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="5,11 21,2 37,11"/>
<line class="arrowBody" fill="none" stroke="#FFF" stroke-width="4" stroke-linecap="round" stroke-miterlimit="10" x1="8" y1="25" x2="48" y2="25"/>
<polyline class="arrowPoint" fill="none" stroke="#FFF" stroke-width="4" stroke-linecap="round" stroke-linejo
@harimau99
harimau99 / BasiCoin.sol
Created February 28, 2018 12:11 — forked from 5chdn/BasiCoin.sol
Deploy BasiCoin via Parity IDE
//! The basic-coin ECR20-compliant token contract.
//!
//! Copyright 2016 Gavin Wood, Parity Technologies Ltd.
//!
//! Licensed under the Apache License, Version 2.0 (the "License");
//! you may not use this file except in compliance with the License.
//! You may obtain a copy of the License at
//!
//! http://www.apache.org/licenses/LICENSE-2.0
//!