Skip to content

Instantly share code, notes, and snippets.

tryin' my best

Pramod Kotipalli p13i

tryin' my best
View GitHub Profile
fatso83 /
Last active May 31, 2020
Styles a paragraph as code. When adding this script using the Google Docs script editor it will appear under a new menu called "Extras"
// is called by google docs when a document is open
// adds a menu with a menu item that applies a style to the currently selected text
function onOpen() {
.addItem('Apply code style', 'applyCodeStyle')
var backgroundColor = "#DDDDDD";
p13i / JSON.swift
Created Feb 15, 2018
Simple JSON wrapper for Foundation's JSONEncoder and JSONDecoder
View JSON.swift
// JSON.swift
// Created by Pramod Kotipalli on 11/1/17.
// Copyright © 2017 Pramod Kotipalli. All rights reserved.
import Foundation
public class JSON {
physacco /
Last active Oct 29, 2020
Python 3 extension example

Python 3 extension example


python3 build

Output: build/lib.macosx-10.11-x86_64-3.5/


ricalo / .bashrc
Last active Sep 16, 2020
Use git-bash from Android Studio terminal
View .bashrc
if [ ! -z "${IDE}" -a "${IDE}" == "AndroidStudio" ]; then
You can’t perform that action at this time.