- Get Chromium OS from one of the following places
- Download the vanilla build (old but stable): http://chromeos.hexxeh.net/
- NOTE: Password is
facepunch
- NOTE: Password is
- Download the nightly build (sync doesn't work): http://download-chromiumos.appspot.com/
- NOTE: If you want developer mode, you must change
_base_
in the download URL to_test_
as the base image does not have developer tools enabled - NOTE: Password is unknown, instructions for working around this are provided later
- NOTE: I could not get syncing working with this build, perhaps due to no API KEYS being provided???
- NOTE: If you want developer mode, you must change
- Download the vanilla build (old but stable): http://chromeos.hexxeh.net/
- NOTE: I could not move past the welcome screen on the 64bit build due to no network being found (32bit worked)
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
@@ -28,7 +28,7 @@ | |
### Set diff-cmd to the absolute path of your 'diff' program. | |
### This will override the compile-time default, which is to use | |
### Subversion's internal diff implementation. | |
-# diff-cmd = diff_program (diff, gdiff, etc.) | |
+diff-cmd = colordiff | |
### Set diff3-cmd to the absolute path of your 'diff3' program. | |
### This will override the compile-time default, which is to use | |
### Subversion's internal diff3 implementation. |
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
def set_env_var(env_var): | |
old_volume = "/path" | |
destroy old container | |
create new container with env_var |
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
That’s one of the real strengths of Docker: the ability to go back to a previous commit. The secret is simply to docker tag the image you want. | |
Here’s an example. In this example, I first installed ping, then committed, then installed curl, and committed that. Then I rolled back the image to contain only ping: | |
$ docker history imagename | |
IMAGE CREATED CREATED BY SIZE | |
f770fc671f11 12 seconds ago apt-get install -y curl 21.3 MB | |
28445c70c2b3 39 seconds ago apt-get install ping 11.57 MB | |
8dbd9e392a96 7 months ago 131.5 MB |
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
$ docker history imagename | |
IMAGE CREATED CREATED BY SIZE | |
f770fc671f11 12 seconds ago apt-get install -y curl 21.3 MB | |
28445c70c2b3 39 seconds ago apt-get install ping 11.57 MB | |
8dbd9e392a96 7 months ago 131.5 MB | |
$ docker tag 2844 imagename # <-- that's the secret right there | |
$ docker history imagename | |
IMAGE CREATED CREATED BY SIZE |
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
// --- Compiling --- | |
$ wget http://download.redis.io/releases/redis-2.8.3.tar.gz | |
$ tar xzvf redis-2.8.3.tar.gz | |
$ cd redis-2.8.3 | |
$ make | |
$ make install | |
// --- or using yum --- | |
$ rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
$ rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm |
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
import pyautogui, time, sys, os, win32api, win32gui, win32con, datetime, pyHook, pythoncom | |
from optparse import OptionParser | |
''' | |
Python Automated Actions Script by Ian Mckay | |
Version 0.1 - 20151217 | |
''' | |
pyautogui.PAUSE = 0 | |
pyautogui.FAILSAFE = 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/env python2 | |
#-*- coding: utf-8 -*- | |
# NOTE FOR WINDOWS USERS: | |
# You can download a "exefied" version of this game at: | |
# http://hi-im.laria.me/progs/tetris_py_exefied.zip | |
# If a DLL is missing or something like this, write an E-Mail ([email protected]) | |
# or leave a comment on this gist. | |
# Very simple tetris implementation |
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/env python | |
# -*- coding: utf-8 -*- | |
"""launch small http server | |
""" | |
import sys | |
try: | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
except ImportError: |