Skip to content

Instantly share code, notes, and snippets.

@irfnrdh
irfnrdh / video-editors-opensource.md
Created June 2, 2022 08:41 — forked from jcamp/video-editors-opensource.md
OpenSource Video Editors
@irfnrdh
irfnrdh / 00_etc-hosts.md
Created October 11, 2020 02:31 — forked from mul14/00_etc-hosts.md
/etc/hosts for Vimeo, Reddit, and Imgur.

Unblock Vimeo, Reddit, Imgur, dan NPM

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

@irfnrdh
irfnrdh / 00_etc-hosts.md
Created October 11, 2020 02:31 — forked from mul14/00_etc-hosts.md
/etc/hosts for Vimeo, Reddit, and Imgur.

Unblock Vimeo, Reddit, Imgur, dan NPM

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

@irfnrdh
irfnrdh / GitCommitEmoji.md
Created June 19, 2020 03:51 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@irfnrdh
irfnrdh / it-ebooks.md
Created March 20, 2020 10:58 — forked from baiwfg2/it-ebooks.md
Download ebooks as you want
@irfnrdh
irfnrdh / HTML_canvas.md
Created December 16, 2016 21:20 — forked from SteveOscar/HTML_canvas.md
Creating Basic HTML Canvas Animations

Creating Basic Animations With HTML Canvas

Using the HTML <canvas> element, it's possible to create custom animations and interactive games that run in the browser. It's a powerful tool, but also is literally a blank canvas that requires each frame of animation to be rendered by the code. Each frame is drawn, then the canvas is cleared, and the next frame is drawn, much like in traditional hand-drawn animation. This post will discuss how to create a very basic animation.

Canvas Setup

For this example we'll throw all of our code into one file. Create a new HTML document. In the <style> tags some CSS for basic styling of the canvas border (while we don't modify the contents of the canvas itself with CSS, we can style the display of the canvas element):

canvas {
    border: 3px #CCC solid;
}
@irfnrdh
irfnrdh / html-meta-tags.md
Created December 16, 2016 21:19 — forked from razarahil/html-meta-tags.md
Basic HTML Meta Tags

List of Basic HTML Meta Tags You should use for SEO & Social Media

<meta charset='UTF-8'>

<meta name='copyright' content='company name'>

<meta name='language' content='ES'>