Skip to content

Instantly share code, notes, and snippets.

💭
focusing on the strong base for long term

Muhammad Nur'Ihsan Bin Berahim ihsanberahim

💭
focusing on the strong base for long term
Block or report user

Report or block ihsanberahim

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
@ihsanberahim
ihsanberahim / JavaScriptSPAValetDriver.php
Created Aug 17, 2018 — forked from jakecobley/JavaScriptSPAValetDriver.php
Laravel Valet Driver for JavaScript SPAs.
View JavaScriptSPAValetDriver.php
<?php
/**
* JavaScript SPA Valet Driver
*/
class JavaScriptSPAValetDriver extends ValetDriver
{
/**
* Serves
*
@ihsanberahim
ihsanberahim / _README.md
Last active May 11, 2018
DUMP SQL USE WP
View _README.md

DUMP SQL USE WP

  • install Debug Bar Console
  • install File Manager
@ihsanberahim
ihsanberahim / _ionic3_ionitemsliding_click_event.MD
Last active Jan 29, 2019
IONIC3 - Trigger IonItemSliding using click event
View _ionic3_ionitemsliding_click_event.MD
@ihsanberahim
ihsanberahim / helpers.js
Created Mar 27, 2015
reset angular in cordova app
View helpers.js
window.origin = window.location.href.replace(window.location.hash,'').replace(window.location.search,'').replace('#','');
var reset_app = function()
{
window.open(window.origin,'_top');
}
/**
* http://ihsanberahim.com
*/
@ihsanberahim
ihsanberahim / grunt_after.json
Last active Aug 29, 2015
generator yo polymer grunt improvement to make your project getting smaller
View grunt_after.json
{
copy: {
dist: {
files: [{
expand: true,
dot: true,
cwd: '<%= yeoman.app %>',
dest: '<%= yeoman.dist %>',
src: [
'*.{ico,txt}',
View .bash_profile
alias dota2="open steam://run/570//%22%20%22-novid%22%20%22-autoconfig%22"
alias dota2_home="open steam://run/570//%22%20%22-novid%22%20%22-autoconfig%22%20%22-windowed%22%20%22-w%22%20%221600%22%20%22-h%22%20%22900%22"
alias dota2_office="open steam://run/570//%22%20%22-novid%22%20%22-autoconfig%22%20%22-windowed%22%20%22-w%22%20%221280%22%20%22-h%22%20%221024%22"
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<p>Please download this jsbin file to make sure it is works</p>
View designer.html
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
@ihsanberahim
ihsanberahim / index.html
Last active Aug 29, 2015
Watermark Image With JS
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style>
#watermarked{
background-color: #fff;
}
</style>
@ihsanberahim
ihsanberahim / app.html
Created Nov 29, 2014
Block input example
View app.html
<html>
<body onload="onBodyLoad()">
<input name="intergerField"/>
</body>
</html>
You can’t perform that action at this time.