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/env python | |
| from bs4 import BeautifulSoup | |
| import fnmatch | |
| import os | |
| import re | |
| def Page(object): | |
| def __init__(self, filename): | |
| self.filename = filename |
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
| <block type="core/template" name="home_banners" after="-" template="page/banners.phtml"> | |
| </block> | |
| <cms_index_index> | |
| <update handle="home_banners" /> | |
| </cms_index_index> |
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
| <block type="cms/block" name="BLOCK_NAME" after="cart_sidebar"> | |
| <action method="setBlockId"><block_id>IDENTIFIER</block_id></action> | |
| </block> |
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
| error: object file .git/objects/f1/bbef741377b03989f7216b4dcf714963706c8e is empty | |
| error: unable to find f1bbef741377b03989f7216b4dcf714963706c8e | |
| error: object file .git/objects/f1/bbef741377b03989f7216b4dcf714963706c8e is empty | |
| fatal: loose object f1bbef741377b03989f7216b4dcf714963706c8e (stored in .git/objects/f1/bbef741377b03989f7216b4dcf714963706c8e) is corrupt |
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
| [edward@eddarch ~]$ cat ~/.asoundrc | |
| #pcm.!default{ | |
| # type hw | |
| # card 1 | |
| # device 9 | |
| #} | |
| pcm.!default{ | |
| type hw | |
| card 0 | |
| device 0 |
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
| console.log($('#person-sign-up #id_name').length); | |
| $('#person-sign-up').validate({ | |
| rules: { | |
| "id_name": 'required' | |
| } | |
| }) |
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
| console.log($('#person-sign-up #id_name').length); | |
| $('#person-sign-up').validate({ | |
| rules: { | |
| "id_name": 'required' | |
| } | |
| }) |
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
| [edward@archxps mysite]$ git merge products-layout | |
| Updating 49e8fba..1ce6e08 | |
| Fast-forward | |
| .htaccess | 2 +- | |
| call-me-back.html | 69 ++++++++++++++++++++++++++ | |
| favicon.ico | Bin 0 -> 1549 bytes | |
| <snip etc...> |
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
| def new(request): | |
| if request.method == 'POST': | |
| print request.POST | |
| form = PersonForm(request.POST, request.FILES) | |
| if form.is_valid(): | |
| from django.contrib.auth.models import User | |
| person = form.save(commit=False) | |
| #TODO: Could this be encapsulated inside the Person object? *Should* it be? | |
| #temp_password = User.objects.make_random_password() | |
| auto_username = hashlib.md5(person.email.lower().strip()).hexdigest()[:30] |
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
| def new(request): | |
| if request.method == 'POST': | |
| print request.POST | |
| form = PersonForm(request.POST, request.FILES) | |
| if form.is_valid(): | |
| from django.contrib.auth.models import User | |
| person = form.save(commit=False) | |
| #TODO: Could this be encapsulated inside the Person object? *Should* it be? | |
| #temp_password = User.objects.make_random_password() | |
| auto_username = hashlib.md5(person.email.lower().strip()).hexdigest()[:30] |