Skip to content

Instantly share code, notes, and snippets.

View shikhir-arora's full-sized avatar
💭
¯\_(ツ)_/¯

Shikhir Arora shikhir-arora

💭
¯\_(ツ)_/¯
View GitHub Profile
# This program will take swag.csv and create a batch of USPS
# shipping labels in one PDF file for easy printing using
# the EasyPost simple shipping API.
#
# If you have any questions about EasyPost or want help
# modifying this script for other carriers or a non-US
# source address please email us anytime at contact@easypost.com
#
# Usage:
# easypost_batch_from_csv.rb
@shikhir-arora
shikhir-arora / .travis.yml
Created August 31, 2019 14:34 — forked from shaypal5/.travis.yml
Comprehensive Python testing on Travis CI
language: python
# ===== Linux ======
dist: xenial
python:
- 2.7
- 3.5
- 3.6
- 3.7
matrix:
include:
@shikhir-arora
shikhir-arora / sed cheatsheet
Created August 28, 2018 17:21 — forked from ssstonebraker/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@shikhir-arora
shikhir-arora / AudioModule.cs
Created March 24, 2017 14:51 — forked from Joe4evr/AudioModule.cs
D.Net 1.0 audio example
using System.Threading.Tasks;
using Discord.Commands;
public class AudioModule : ModuleBase<ICommandContext>
{
// Scroll down further for the AudioService.
// Like, way down.
// Hit 'End' on your keyboard if you still can't find it.
private readonly AudioService _service;