Skip to content

Instantly share code, notes, and snippets.

@botmtl
botmtl / GCP - Register
Created April 17, 2016 18:56 — forked from mimeoconnect/GCP - Register
Registers a new cloud printer with the Google Cloud Print (GCP) registry using PHP and Zend Framework.
<?php
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Http_Client');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
// Name of Cloud Printer
$Printer_Name = "";
// Description of Cloud Printer
@botmtl
botmtl / ChromeAppDownloader.py
Created April 8, 2016 07:07 — forked from arulrajnet/ChromeAppDownloader.py
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
# -*- coding: utf-8 -*-
"""
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store.
Referred from http://chrome-extension-downloader.com/how-does-it-work.php
"""
from __future__ import division
import argparse
import requests