SVG + GSAP logo animation of my company's logo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! 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 | |
//! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
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 != "") { |
##Windows users:
- Download wamp: http://www.wampserver.com/en/
- Download and extract cmder mini: https://github.com/cmderdev/cmder/releases/download/v1.1.4.1/cmder_mini.zip
- Update windows environment variable path to point to your php install folder (inside wamp installation dir) (here is how you can do this http://stackoverflow.com/questions/17727436/how-to-properly-set-php-environment-variable-to-run-commands-in-git-bash)
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
- Create a database locally named
homestead
utf8_general_ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ~exist('m') | |
m = mobiledev() | |
end | |
i=1; | |
tic | |
close all | |
clear t x | |
while true | |
subplot(121) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 |
NewerOlder