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
$view = new view(); | |
$view->name = 'publisher_and_copyright'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'node'; | |
$view->human_name = 'Publisher and Copyright'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
$view = new view(); | |
$view->name = 'publisher_and_copyright'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'node'; | |
$view->human_name = 'Publisher and Copyright'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
company_technologies = db.Table('company_technologies', | |
db.Column('company_id', db.Integer, db.ForeignKey('companies.id')), | |
db.Column('technology_id', db.Integer, db.ForeignKey('technologies.id')) | |
) | |
class Technology(db.Model): | |
__tablename__ = 'technologies' | |
id = db.Column(db.Integer, primary_key=True) | |
name = db.Column(db.String(128), index=True) | |
parent_id = db.Column(db.Integer, default=None, nullable=True, index=True) |
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
#!/usr/bin/python | |
import os | |
import subprocess | |
import sys | |
from pyunpack import Archive | |
""" TODO: | |
Make sure we don't delete files and folders that were added to the folder while we were processing, but were not processed yet themselves. | |
NOTE: if I decide to make the command line options more complex, look at the aregparse module | |
""" |
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
sudo killall -HUP mDNSResponder |