Skip to content

Instantly share code, notes, and snippets.

Moh Hasbi Assidiqi mohhasbias

Block or report user

Report or block mohhasbias

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mohhasbias
mohhasbias / index.html
Last active Aug 29, 2015
jQuery Mobile Web App
View index.html
<!doctype html>
<html>
<head>
<title>First Mobile App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>Welcome</h1>
<p>This is an awesome mobile app ever.</p>
<p>&copy; 2015</p>
View contoh automated feature testing
require "spec_helper"
describe "user registration" do
it "allows new users to register with an email address and password" do
visit "/users/sign_up"
fill_in "Email", :with => "alindeman@example.com"
fill_in "Password", :with => "ilovegrapes"
fill_in "Password confirmation", :with => "ilovegrapes"
View jquery.foundation.orbit.modified.js
/*
* jQuery Orbit Plugin 1.4.0
* www.ZURB.com/playground
* Copyright 2010, ZURB
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
(function ($) {
@mohhasbias
mohhasbias / site.js
Created May 1, 2013
example on using modified orbit foundation and lazyload. notice that each time the slide change, it triggers the lazyload to load the image.
View site.js
$('.products-slider').orbit({
fluid: "1100x350",
timer: false,
afterSlideChange: function(){
this.$slides
.eq(this.activeSlide)
.find('img.lazyload').trigger('appear');
}
});
@mohhasbias
mohhasbias / Skrill.php
Created Jul 28, 2013
Skrill payment gateway adapter for BoxBilling
View Skrill.php
<?php
/**
* BoxBilling
*
* LICENSE
*
* This source file is subject to the license that is bundled
* with this package in the file LICENSE.txt
* It is also available through the world-wide-web at this URL:
* http://www.boxbilling.com/LICENSE.txt
@mohhasbias
mohhasbias / .block
Last active Feb 26, 2017
update endpoint on mousemove
View .block
license: mit
height: 300
border: no
@mohhasbias
mohhasbias / .block
Last active Feb 26, 2017
Update endpoint on mouse drag
View .block
license: mit
height: 300
border: no
@mohhasbias
mohhasbias / .block
Last active Feb 26, 2017
SVG line using D3
View .block
license: mit
@mohhasbias
mohhasbias / .block
Last active Feb 26, 2017
Update starting point on mousedown
View .block
license: mit
height: 300
border: no
@mohhasbias
mohhasbias / .block
Created Feb 26, 2017
multi line drawing
View .block
license: mit
height: 300
border: no
You can’t perform that action at this time.