cd theme-folder-name
gulp build
cd ..
/* | |
Copyright 2011 Martin Hawksey | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv
instead. If you are looking for the previous version of this document, see the revision history.
$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10
$ pyenv install 2.6.9
#!/usr/bin/python | |
import os, time | |
import usb.core | |
import usb.util | |
import pygtk | |
pygtk.require('2.0') | |
import gtk | |
from sys import exit | |
import math |
# Compiled Python Bytecode | |
*.pyc | |
*.pyo | |
# OS & Temp Files | |
.DS_Store | |
.DS_Store? | |
._* | |
.Trashes | |
*~ |
.mobile-bg { | |
background-image: url('smiley.gif'); // remove if setting url in html | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center center; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
background-size: cover; | |
@media #{$small-and-down} { |
#!/usr/bin/python | |
# Copyright (c) 2017 ObjectLabs Corporation | |
# Distributed under the MIT license - http://opensource.org/licenses/MIT | |
__author__ = 'mLab' | |
# Written with pymongo-3.4 | |
# Documentation: http://docs.mongodb.org/ecosystem/drivers/python/ | |
# A python script connecting to a MongoDB given a MongoDB Connection URI. |
# import style from .bashrc | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
alias laptop='bash <(curl -s https://raw.githubusercontent.com/daveaseeman/laptop/master/laptop)' | |
# set alias for python 3 | |
alias python=python3 | |
alias pip=pip3 |
import os | |
import datetime | |
path = os.getcwd() | |
filenames = os.listdir(path) | |
for filename in filenames: | |
if ".pdf" in filename: | |
old_file_and_path = os.path.join(path, filename) | |
filename = filename[:-4] |