Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@maccman
maccman / batch_request.csv
Last active August 4, 2021 22:20
Clearbit Batch Example
email
alex@clearbit.com
@jalcantarab
jalcantarab / ShopifyScripts.md
Last active June 15, 2022 19:36
Simple Shopify API calls examples

Shopify API - Script examples

Simple examples of calls to the Shopify API using Google Apps Script (.gs). So far:

  • ssCatalogPublicationStatus.gs - Meant as an addon for Google Sheets to check the publication status of items.
    • getCatalogJSON() - Returns complete JSON catalog for an instance.
    • checkPublicationStatus() - Checks a list of handle-ids in Google Sheets against a JSON catalog Compares the first column of a google spreadsheet to the JSON Shopify catalog. Adds published date to third column, and verifies date to published status.
@JoelBesada
JoelBesada / README.md
Last active October 14, 2022 04:20
Backtick Example Command

This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

Here are the required steps to create a command:

  1. Create a new Gist with a command.js and command.json file, or simply fork this one.

  2. Write your JavaScript in command.js. This will be injected into and executed on the page the user is currently on when they run it.

  3. Add some metadata to the command.json file:

  • name: The name of the command.
@rudolfratusinski
rudolfratusinski / parallels_tools_ubuntu_new_kernel_fix.md
Last active November 23, 2022 20:01
Parallels Tools fix for Ubuntu 18.04 and other Linux distributions with Kernel version >= 4.15

Preparation

  • In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"

  • A "Parallels Tools" CD will popup on your Ubuntu desktop.

  • Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"

  • Open terminal, change directory to parallels_fixed (cd ~/Desktop/parallels_fixed)

  • Make command line installer executable (chmod +x install)

  • Change directory to "installer" (cd installer)

  • Make few other scripts executable: chmod +x installer.* *.sh prl_*

@kevin-smets
kevin-smets / local-pi-hole-in-docker-macos.md
Last active March 22, 2023 07:39
Local Pi-hole in Docker [MacOS]

Prerequisites

  • Docker
  • Docker Compose

If you don't have these, run

brew install docker docker-compose
@coneybeare
coneybeare / GiantUser.html
Last active March 22, 2023 12:26
Sample HTML Signature Code
<style type="text/css">
a.link{margin:0;padding:0;border:none;text-decoration:none;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no">
<br />
<br />
@kevin-smets
kevin-smets / _README.md
Last active May 3, 2023 12:42
Google Sheets API on Node.js
@demonbane
demonbane / makeapp.sh
Created July 5, 2011 20:05
Create a Fluid-style app launcher for single-window Chrome instances on OSX
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name="$inputline"
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url="$inputline"
@codeinthehole
codeinthehole / osx_bootstrap.sh
Last active October 10, 2023 12:21
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)