Skip to content

Instantly share code, notes, and snippets.

View saveroo's full-sized avatar

Muhammad Surga Savero saveroo

View GitHub Profile
@WebRTCGame
WebRTCGame / JavascriptBooks.md
Last active July 1, 2025 09:22
Free Javascript Books

Useful Links

23 Free JavaScript Books

A curated collection of awesome & free JavaScript books to help you learn the JavaScript programming language.

If you know of any other free JavaScript books that you think should be on this list, please let me know in the comments section and I will get them added.

@aVolpe
aVolpe / EmbeddedGist.js
Created September 13, 2016 22:58
EmbeddedGist allows a gist to be embedded in a React application
import React, { Component } from 'react';
class EmbeddedGist extends Component {
constructor(props) {
super(props);
this.gist = props.gist;
this.file = props.file;
this.stylesheetAdded = false;
this.state = {
@saurabhshri
saurabhshri / pip.md
Last active March 31, 2025 00:39
Install and use pip in a local directory without root/sudo access.

Install and use pip in a local directory without root/sudo access.

Why?

Many users when are given server access, do not have root (or sudo) privileges and can not simply do sudo apt-get install python-pip . Here's an easy way you can install and use pip without root (or sudo) access in a local directory. Note : This works without easy_install too.

How?

@mkhuda
mkhuda / obat.rb
Created July 6, 2017 13:05
Obat Mujarab
case @obat
when "sering sakit"
"puasa sunnah"
when "wajah terlihat murung tidak bercahaya"
"shalat malam tahajud"
when "hati sempit"
"baca Al-Quran dan maknanya"
when "tidak bahagia"
"shalat diawal waktu"
@addyosmani
addyosmani / workbox.md
Last active January 20, 2024 16:14
Workbox recipes

Workbox runtime caching recipes

Your Service Worker script will need to import in Workbox and initialize it before calling any of the routes documented in this write-up, similar to the below:

importScripts('workbox-sw.prod.v1.3.0.js');
const workbox = new WorkboxSW();

// Placeholder array populated automatically by workboxBuild.injectManifest()
@DawidMyslak
DawidMyslak / vue.md
Last active April 22, 2024 12:49
Vue.js and Vuex - best practices for managing your state

Vue.js and Vuex - best practices for managing your state

Modifying state object

Example

If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).

Example below explains implications for different implementations.

@bmaupin
bmaupin / free-backend-hosting.md
Last active July 4, 2025 21:42
Free backend hosting
@unrevised6419
unrevised6419 / oss-tools.md
Last active August 8, 2024 00:19
Open source software tools
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 8, 2025 04:41
Conventional Commits Cheatsheet
@prakashpandey
prakashpandey / CustomResponseWriter.go
Last active November 30, 2024 05:36
Implement custom http.ResponseWriter in golang
package main
import (
"fmt"
"net/http"
)
type CustomResponseWriter struct {
body []byte
statusCode int