Skip to content

Instantly share code, notes, and snippets.

View vranystepan's full-sized avatar
🏞️
working from forest

Štěpán Vraný vranystepan

🏞️
working from forest
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Erwin Aligam - styleshout.com" />
@vranystepan
vranystepan / gist:1278175
Created October 11, 2011 14:11
dirtylicious tumblrized template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
<meta name="keywords" content="keywords"/>
<meta name="author" content="author"/>
@vranystepan
vranystepan / gist:1278327
Created October 11, 2011 15:02
tumblrized Dirtylicious by Arcsin
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
<meta name="keywords" content="keywords"/>
<meta name="author" content="author"/>
@vranystepan
vranystepan / gist:1278994
Created October 11, 2011 18:44
Atonement v2.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
<link rel="icon" href="{Favicon}"/>
<link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}"/>
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=775"/>
@vranystepan
vranystepan / gist:1393346
Created November 25, 2011 11:44
Úprava tumblr vzhledu část I
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
Torn Paper v1.5
by Conkers
http://conkers.tumblr.com/
-->
<html style="height: 100%;">
@vranystepan
vranystepan / gist:1393595
Created November 25, 2011 14:02
Úprava tumblr vzhledu výsledek
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
Torn Paper v1.5
by Conkers
http://conkers.tumblr.com/
-->
<html style="height: 100%;">
@vranystepan
vranystepan / dark_wood.html
Created December 5, 2011 10:43
Dark Wood Tumblr Theme
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="http://static.tumblr.com/tuwgrx5/omNlvq55u/style.css" />
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
<meta name="text:Tagline" content=""/>
require 'optparse'
options = {}
optparse = OptionParser.new do|opts|
opts.banner = "Usage: ruby #{File.basename(__FILE__)} -t <target ip address> -i <input file name> [-o <output file name>]"
opts.on( '-t', '--target HOST', 'Target\'s IP address' ) do|h|
options[:host] = h
end
opts.on('-i', '--input FILE', 'Input file name') do |f|
options[:input] = f
@vranystepan
vranystepan / iloconf.rb
Created March 16, 2012 06:42
Ruby iLO configurator
require 'optparse'
require 'socket'
require 'openssl'
#functions
def openfile(filename)
lines = Array.new
file = File.open(filename)
file.readlines.each{|line|
lines.push(line)
@vranystepan
vranystepan / AS3TextboxClass.as
Created May 12, 2012 07:55
AS3 Textbox (fixed) class
package custUI
{
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.TextFieldType;
import flash.text.TextFormat;