This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set serveroutput on | |
set pages 0 | |
set feedback off | |
set echo off | |
DECLARE | |
height index_stats.height%TYPE; | |
del_lf_rows_len index_stats.del_lf_rows_len%TYPE; | |
lf_rows_len index_stats.lf_rows_len%TYPE; | |
del_perc number; | |
table_name user_indexes.index_name%TYPE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.5&sensor=false"></script> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.11/OpenLayers.js"></script> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/2.10.0/d3.v2.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.js"></script> | |
<style type="text/css"> | |
#map, #viz { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jquiver4sheadbg = $.ui ? $.ui.version || "pre 1.6" : 'jQuery-UI not detected'; | |
alert('jQ UI version : ' + jquiver4sheadbg); | |
var jqcorever4sheadbg = $().jquery; | |
alert('jQ version : ' + jqcorever4sheadbg); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SomeMixin(object): | |
def __init__(self, rel=None, attrs=None, *args, **kwargs): | |
print 'Testing sharing an __init__ via a mixin class' | |
self.someattr = "sm" | |
super(SomeMixin, self).__init__(*args, **kwargs) | |
class SomeSuper1(object): | |
def __init__(self, rel=None, attrs=None, *args, **kwargs): | |
print 'Testing sharing an __init__ via a super1 class' | |
class SomeSuper2(object): | |
def __init__(self, rel=None, attrs=None, *args, **kwargs): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def monthdelta(date, delta): | |
''' | |
Acts like datetime.timedelta but deals with months | |
`date`: A datetime object representing the base date | |
`delta`: An integer representing the offset (-ve for going back in time) | |
Found at : http://stackoverflow.com/a/3425124/364088 | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fieldset{ | |
background-color:green; | |
font-family: sans-serif; | |
color: #123; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fieldset{ | |
background-color:green; | |
font-family: sans-serif; | |
color: #123; | |
} | |
fieldset:nth-child(3){ | |
background-color:red; | |
font-family: sans-serif; | |
color: #123; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(":".join("{:02x}".format(ord(c)) for c in s)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
img{ | |
width: 80%; | |
margin: 0%; | |
padding: 0%; |
OlderNewer