Skip to content

Instantly share code, notes, and snippets.

View kamaravichow's full-sized avatar
🦉
Can't sleep

Aravind Chowdary kamaravichow

🦉
Can't sleep
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wernsey
wernsey / ad-b-gone.js
Last active August 27, 2023 03:15
Ad-B-Gone: Bookmarklet that removes obnoxious ads from pages
javascript:(function(){
/* Ad-B-Gone: Bookmarklet that removes obnoxious ads from pages */
var selectors = [
/* By ID: */
'#sidebar-wrap', '#advert', '#xrail', '#middle-article-advert-container',
'#sponsored-recommendations', '#around-the-web', '#sponsored-recommendations',
'#taboola-content', '#taboola-below-taboola-native-thumbnails', '#inarticle_wrapper_div',
'#rc-row-container', '#ads', '#at-share-dock', '#at4-share', '#at4-follow', '#right-ads-rail',
'div#ad-interstitial', 'div#advert-article', 'div#ac-lre-player-ph',
/* By Class: */
@pavi2410
pavi2410 / SimpleMaths.java
Last active August 6, 2021 19:34
Create an extension for Kodular
package io.kodular; // package of the extension will be "com.kodular.SimpleMaths"
// Only these imports are required to interact with Kodular
import com.google.appinventor.components.annotations.*;
import com.google.appinventor.components.runtime.*;
import com.google.appinventor.components.common.*;
@DesignerComponent(version = 1, // Update version here, You must do for each new release to upgrade your extension
description = "Simple Maths extension created by you",
category = ComponentCategory.EXTENSION,
@Ravenstine
Ravenstine / aws-couchdb-setup.md
Last active July 24, 2024 06:41
Fast CouchDB setup in AWS

Fast CouchDB setup in AWS

CouchDB is a NoSQL database for storing JSON documents. It comes with a REST API out of the box so your client applications can persist data while requiring you to write little or no server-side code. CouchDB's killer feature is its ability to easily replicate, which allows for horizontal scaling, easy backup, and for client adapters to synchronize documents. This is perfect if you want to write an application that is offline-first. It's become my go-to database when creating new