Skip to content

Instantly share code, notes, and snippets.

View alvarezr's full-sized avatar

Robert alvarez alvarezr

View GitHub Profile
@sliptype
sliptype / Preferences.sublime-settings
Created October 28, 2016 19:11
Sublime Settings
{
"caret_style": "blink",
"color_scheme": "Packages/Color Scheme - Default/Miami.tmTheme",
"enable_tab_scrolling": false,
"font_size": 13,
"ignored_packages":
[
],
"status_bar_brighter": true,
"tabs_small": true,
@sliptype
sliptype / Miami.tmTheme
Created October 27, 2016 20:38
Miami Sublime Theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Miami</string>
<key>author</key>
<string>Sebastian Klingler</string>
<key>settings</key>
<array>
@mexitek
mexitek / json_to_postgre.php
Created August 25, 2011 19:12
Script to automate an import process from .json file to postgre DB.
<?php
# Configure
$DB_USER = 'admin';
$DB_PASS = 'qwerty';
$DB_HOST = 'localhost';
$DB_NAME = 'postgis-2-0';
// Param 3 when ran in shell will override this value
$DB_TABLE = 'public.florida_establishments_garman';
// Param 2 when ran in shell will override this value
$CATEGORY = 'misc';