Skip to content

Instantly share code, notes, and snippets.

View coffe67's full-sized avatar
🎯
Focusing

Narciso coffe67

🎯
Focusing
View GitHub Profile
@coffe67
coffe67 / resize_images.py
Created January 12, 2017 03:09
Resize Images In A Folder With Python
from PIL import Image, ExifTags
import datetime
import PIL
import sys
import os, os.path
imgs = list()
if len(sys.argv) > 1:
path = str(sys.argv[1]) if str(sys.argv[1]) and str(sys.argv[1]) != '' else "./"
/**
* Registry of Actions for Custom Post Types & Custom Field Types
* @since Hadron 1.0
*/
/** Theme Options */
add_theme_support( 'post-thumbnails' );
//add_image_size('slider_home', 1380, 800, true);
/** Actions **/
add_action( 'init', 'create_post_type' );

TicTic API

ver 0.1.0

Overview

This describes the functionality to user the api v1 of api, any problem or request please contact to HydraLab

@coffe67
coffe67 / Estados y Municipios
Created September 3, 2014 14:31
Estados y Municipios Mexico (SQL), La relación es un estado tiene n municipios.
-- Host: localhost:8889
-- Generation Time: Aug 29, 2014 at 05:26 PM
-- Server version: 5.5.34
-- PHP Version: 5.5.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `estados_municipios`