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
import tempfile | |
import subprocess | |
import timeit | |
class GitWorkerPipe(object): | |
def start(self): | |
cmd = subprocess.Popen(["git", "pull"], stdout=subprocess.PIPE, | |
stderr=subprocess.PIPE) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<remote name="aosp" | |
fetch="https://android.googlesource.com" | |
review="android-review.googlesource.com" /> | |
<remote name="github" | |
fetch=".." | |
review="review.androidarmv6.org" /> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<project name="androidarmv6/android_device_lge_p500" path="device/lge/p500" remote="github" /> | |
<project name="androidarmv6/android_kernel_lge_msm7x27-3.0.x" path="kernel/lge/msm7x27-3.0.x" remote="github" /> | |
<project name="androidarmv6/android_device_qcom_msm7x27" path="device/qcom/msm7x27" remote="github" /> | |
<project name="androidarmv6/android_device_lge_msm7x27-common" path="device/lge/msm7x27-common" remote="github" /> | |
<project name="androidarmv6/android_vendor_lge" path="vendor/lge" remote="github" /> | |
<project name="androidarmv6/android_vendor_qcom_msm7x27" path="vendor/qcom/msm7x27" remote="github" /> | |
</manifest> |
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 | |
import os | |
import subprocess | |
import sys | |
from urllib import pathname2url | |
import selenium.webdriver | |
def run(): | |
watch_command = 'inotifywait -rq -e close_write --exclude \'"*.html"\' .'.split() | |
make_command = 'make html'.split() |
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
# Run: | |
# $ virtualenv env | |
# $ cd env | |
# $ env/bin/pip install watchdog | |
# $ env/bin/pip install selenium | |
# $ env/bin/python sphinx-reload.py | |
import logging | |
import os | |
import selenium.webdriver |
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
import sys | |
import copy | |
import time | |
import math | |
import heapq | |
import argparse | |
FINFINITY = 5000 | |
USAGE = "python puzzle8.py [bfs|idfs|astar|idastar]" |
NewerOlder