Skip to content

Instantly share code, notes, and snippets.

Thomas Herr tlherr

Block or report user

Report or block tlherr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tlherr / Assignment 3
Last active Mar 28, 2018
Cisco VPN Setup
View Assignment 3
Config for Router: Router 1
## Enable Security Package
config terminal
license boot module c2900 technology-package securityk9
### PHASE 1:
View gist:d57f7b7aa52353f64941
import os
import re
import glob
from mobi import Mobi
for fn in glob.glob('/Users/Tom/Desktop/Ebooks/*'):
print "Renaming {}".format(fn)
if os.path.isfile(fn):
book = Mobi(fn);
View readme.markdown


Description: What does this project do and who does it serve?

Project Setup

How do I, as a developer, start working on the project?

  1. What dependencies does it have (where are they expressed) and how do I install them?
  2. How can I see the project working before I change anything?
tlherr / Drupal 7 #attached js
Created Dec 4, 2013
Using #attached to add javascript to a block/form element in drupal.
View Drupal 7 #attached js
$block['content'] = array(
'#markup' => some_markup_function(),
'#attached' => array(
'js' => array('data' => drupal_add_js(drupal_get_path('theme', 'some_theme') . '/js/misc/somescript.js')),
You can’t perform that action at this time.