Skip to content

Instantly share code, notes, and snippets.

View trueparallels's full-sized avatar
🦚

Kyle Peacock trueparallels

🦚
View GitHub Profile
@trueparallels
trueparallels / fetch_kindle.js
Created July 7, 2020 14:47 — forked from apehex/fetch_kindle.js
Get back my books from Kindle
/*
* @fileoverview Program to free the content in kindle books as plain HTML.
*
* This is largely based on reverse engineering kindle cloud app
* (https://read.amazon.com) to read book data from webSQL.
*
* Access to kindle library is required to download this book.
*/
// The Kindle Compression Module copied from http://read.amazon.com application
@trueparallels
trueparallels / dynamo_json_to_csv.py
Created March 9, 2020 15:19 — forked from eliocapelati/dynamo_json_to_csv.py
Convert a dynamodb result [json] to csv
#!/usr/bin/python3
# -*- coding: UTF-8 -*-
__author__ = "Elio Capelati Jr"
__version__ = "1.0.0"
import csv, json, sys, argparse
from pprint import pprint
@trueparallels
trueparallels / deploy.rb
Created July 20, 2017 14:14 — forked from llbbl/deploy.rb
Capistrano deploy file for Laravel 5.x
# config valid only for current version of Capistrano
lock '3.4.0'
set :application, "Your app name" # EDIT your app name
set :repo_url, "https://github.com/laravel/laravel.git" # EDIT your git repository
set :deploy_to, "/var/www/my-app" # EDIT folder where files should be deployed to
set :keep_releases, 5
# set :linked_files, %w{.env} #EDIT uncomment this line once you have a .env file in :deploy_to/shared
@trueparallels
trueparallels / fix-order-grid.php
Created June 6, 2017 12:06 — forked from az-iar/fix-order-grid.php
magento - fix missing order and invoice grid data
<?php
include_once 'abstract.php';
class FixOrderGrid extends Mage_Shell_Abstract
{
/**
* Run script
*
*/