Skip to content

Instantly share code, notes, and snippets.

View ChaosPower's full-sized avatar
💭
I may be slow to respond.

Randy Glenn Aguirre ChaosPower

💭
I may be slow to respond.
  • Philippines
View GitHub Profile
@ChaosPower
ChaosPower / ConvUtils.java
Last active November 20, 2021 05:29
BMP Converter Utils
//You need to change this to your package
package com.example.xxx;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;
@nyov
nyov / magento-cli.py
Last active August 15, 2021 12:57
A Magento REST API example with rauth as OAuth provider. For Magento 1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from rauth.service import OAuth1Service
# Create consumer key & secret in your Magento Admin interface
# For an API Guideline see:
# http://www.magentocommerce.com/api/rest/authentication/oauth_authentication.html
#
# Short Magento setup explanation: