Skip to content

Instantly share code, notes, and snippets.

View rudzainy's full-sized avatar
💬
Building Gugel

Rudzainy Rahman rudzainy

💬
Building Gugel
View GitHub Profile
@mrmartineau
mrmartineau / stimulus.md
Last active August 26, 2024 05:54
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 4, 2024 14:22 — 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