Skip to content

Instantly share code, notes, and snippets.

View rudzainy's full-sized avatar
💬
Building Sama Sama

Rudzainy Rahman rudzainy

💬
Building Sama Sama
View GitHub Profile
@mrmartineau
mrmartineau / stimulus.md
Last active October 5, 2025 14:09
Stimulus cheatsheet

NEXT Academy Company Trip (Dec 2016)

##3 Epic Days of Sheer Fun and Lifetime Worthy Experience at Langkawi

"The best cameras are useless if no great photos are ever taken with it. Just like life, we should always strive for excellence and, at the same time, craft amazing experiences with only some people around us." - Josh

Dino3.jpg

<--Call to Action here-->

@hal0gen
hal0gen / _mobile-ready-web-app.html
Last active September 21, 2025 11:37 — forked from tfausak/ios-8-web-app.html
iOS + Android settings for web applications
<!doctype html>
<!-- Adapted from https://gist.github.com/tfausak/2222823 -->
<html>
<head>
<title>Mobile-ready web app</title>
<!-- CONFIGURATION -->
@ericboehs
ericboehs / README.md
Last active March 10, 2022 12:43
Easy way to display progress in command line ruby script

Usage

Simply replace things and thing with whatever large object you're iterating over and put your iteration code in place of the code comment.

Explanation

In ruby you can append with_index and an index variable to your enumerators and it will give you an iterator counter (i). Using this we calculate a progress precentage:

(i.to_f / things.length * 100).to_i