Skip to content

Instantly share code, notes, and snippets.

View iulianpw's full-sized avatar

Iulian Varzaru iulianpw

View GitHub Profile
@iulianpw
iulianpw / build.settings
Created October 21, 2013 06:39
build.settings for Corona SDK
-- Project: GameDev-Lesson-01
-- Copyright 2012 Three Ring Ranch
-- http://MasteringCoronaSDK.com
settings =
{
orientation =
{
default ="landscapeRight",
supported =
package com.twistedequations.youtubevideolist;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import org.apache.http.HttpResponse;
{
"color_scheme": "Packages/Dimmed Color Scheme/dimmed-monokai.tmTheme",
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"margin": 0,
"scroll_past_end": false,
body {
margin:0px;
padding:0px;
background:#fff url('../img/plaid.png') repeat;
}
.wrapper {
width:900px;
margin:0px auto;
padding:0px;
{
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme",
"ignored_packages":
[
"Vintage"
],
"soda_folder_icons": true,
"theme": "Soda Light.sublime-theme",
"word_wrap": true,
"margin": 0,
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overriden in the platform
@iulianpw
iulianpw / partials.rb
Last active December 18, 2015 13:29
sinatra partials
module PartialPartials
ENV_PATHS = %w[ REQUEST_PATH PATH_INFO REQUEST_URI ]
def spoof_request( uri, headers=nil )
new_env = env.dup
ENV_PATHS.each{ |k| new_env[k] = uri.to_s }
new_env.merge!(headers) if headers
call( new_env ).last.join
end
def partial( page, variables={} )
erb page, {layout:false}, variables
@iulianpw
iulianpw / .conkyrc
Created June 8, 2013 18:39
Another .conkyrc #! configuration
background no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
@iulianpw
iulianpw / .conkyrc
Created June 8, 2013 00:19
My .conkyrc configuration for #!
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
{
"color_scheme": "Packages/Dimmed Color Scheme/dimmed-monokai.tmTheme",
"ignored_packages":
[
"Vintage"
],
"soda_classic_tabs": true,
"soda_folder_icons": true,
"theme": "Soda Dark.sublime-theme"
}