This file contains hidden or 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
data = {} | |
c2t = re.compile('to Text Ratio\s+: ([\d\.]+) %\s+</td>') | |
page_size = re.compile('Page Size</span></td>\s+<td class="linkcrfill1" width="98%" style="padding:0px 7px 0px 7px;" >\s+: (\d+) Bytes') | |
code_size = re.compile('Code\s+Size </span></td>\s+<td class="linkcrfill1" style="padding:0px 7px 0px 7px;">\s+: (\d+) Bytes') | |
text_size = re.compile('Text\s+Size </span></td>\s+<td class="linkcrfill1" style="padding:0px 7px 0px 7px;" >\s+: (\d+) Bytes') | |
words = words.strip().split("\n") | |
for word in words: | |
word = re.sub(' ', '%2520', word) |
This file contains hidden or 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
<html> | |
<style type="text/css"> | |
a:link, a:visited { | |
text-decoration: none; | |
} | |
div | |
{ | |
border-style: dashed; | |
border-color: grey; | |
border-width: 1px; |
This file contains hidden or 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
#!/usr/bin/python | |
import itertools | |
import networkx as nx | |
import random | |
class Node(object): | |
def __key__(self): | |
return str(self.line) + str(self.prev) + str(self.data) + str(self.next) | |
def __init__(self, char, prev, next, line): |
This file contains hidden or 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
function install_default_theme($theme) { | |
theme_enable(array($theme)); | |
variable_set('theme_default', $theme); | |
} | |
install_default_theme('urban_solice'); |
This file contains hidden or 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
; ---------------- | |
; Generated makefile from http://drushmake.me | |
; Permanent URL: http://drushmake.me/file.php?token=a597073754ce | |
; ---------------- | |
; | |
; This is a working makefile - try it! Any line starting with a `;` is a comment. | |
; Core version | |
; ------------ | |
; Each makefile should begin by declaring the core version of Drupal that all |
This file contains hidden or 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
diff -rupN features/features.module features-p/features.module | |
--- features/features.module 2012-01-04 03:07:15.000000000 +0530 | |
+++ features-p/features.module 2012-02-15 16:29:35.094415000 +0530 | |
@@ -307,7 +307,7 @@ function features_include($reset = FALSE | |
// Features provides integration on behalf of these modules. | |
// The features include provides handling for the feature dependencies. | |
// Note that ctools is placed last because it implements hooks "dynamically" for other modules. | |
- $modules = array('features', 'block', 'context', 'field', 'filter', 'image', 'menu', 'node', 'taxonomy', 'user', 'views', 'ctools'); | |
+ $modules = array('features', 'block', 'context', 'field', 'filter', 'image', 'locale', 'menu', 'node', 'taxonomy', 'user', 'views', 'ctools'); | |
This file contains hidden or 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
<div id="page-wrapper"> | |
<div id="page"> | |
<div class="content-left"> | |
<h2>content left</h2> | |
<div class="left-bar"> | |
<h2>1. left bar</h2> | |
<div> | |
<p>dsfsadfsa safasdfsadf</p> | |
</div> | |
</div> |
This file contains hidden or 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
<div id="page"> | |
<div class="right"> | |
<h2> right, fixed</h2> | |
</div> | |
<div class="left"> | |
<h2> left, scrollable</h2> | |
</div> | |
</div> |
This file contains hidden or 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
<body> | |
<header> | |
<div id="header-top"> | |
<img src="http://placehold.it/40x40&text=logo"> | |
<h1>Kalvi</h1> | |
</div> | |
<div id="masthead"> | |
Kalvi is an open source LMS. | |
</div> | |
</header> |
This file contains hidden or 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
<div id="cover"> | |
<textarea placeholder="Share what's new"></textarea> | |
</div> |
OlderNewer