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
require 'rubygems' | |
require 'memcache' | |
class Memcaching | |
def initialize | |
@cache = MemCache.new 'localhost:11211', :namespace => 'goofingaroundwithmemcached' | |
end | |
def load_key_into_memcache(key,value) |
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
user www-data www-data; | |
worker_processes 4; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
#passenger_root /usr/lib/ruby/gems/1.9/gems/passenger-2.2.2; | |
#passenger_ruby /usr/bin/ruby1.9; |
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
server { | |
listen 80; | |
server_name www.railsdev.otype.de; | |
rewrite ^/(.*) http://railsdev.otype.de/$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name railsdev.otype.de; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest > | |
<remove-project name="kernel/common"/> | |
<project path="kernel" name="kernel/msm" revision="refs/heads/android-msm-htc-2.6.25"/> | |
<project path="vendor/htc/dream" name="platform/vendor/htc/dream"/> | |
<project path="hardware/msm7k" name="platform/hardware/msm7k"/> | |
</manifest> |
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
|:. repo sync | |
Traceback (most recent call last): | |
File "/home/hgschmidt/Android/Sources/.repo/repo/main.py", line 235, in <module> | |
_Main(sys.argv[1:]) | |
File "/home/hgschmidt/Android/Sources/.repo/repo/main.py", line 217, in _Main | |
repo._Run(argv) | |
File "/home/hgschmidt/Android/Sources/.repo/repo/main.py", line 123, in _Run | |
cmd.Execute(copts, cargs) | |
File "/home/hgschmidt/Android/Sources/.repo/repo/subcmds/sync.py", line 195, in Execute | |
all = self.GetProjects(args, missing_ok=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
|:. cd Android/Sources/.repo/ | |
|:. cat local_manifest.xml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<project path="kernel" name="kernel/msm" revision="refs/heads/android-msm-htc-2.6.25"/> | |
<project path="vendor/htc/dream" name="platform/vendor/htc/dream"/> | |
<project path="hardware/msm7k" name="platform/hardware/msm7k"/> | |
</manifest> |
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
|:. repo sync | |
Fetching projects: 40% (46/115) remote: Counting objects: 10, done. | |
remote: Compressing objects: 100% (5/5), done. | |
remote: Total 6 (delta 4), reused 2 (delta 1) | |
Unpacking objects: 100% (6/6), done. | |
From git://android.git.kernel.org/platform/external/opencore | |
a0acb49..27e4ae6 master -> korg/master | |
Fetching projects: 65% (75/115) | |
Initializing project platform/hardware/msm7k ... | |
remote: Counting objects: 170, done. |
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
[...] | |
Fetching projects: 100% (115/115) | |
Initializing project platform/vendor/htc/dream ... | |
fatal: The remote end hung up unexpectedly | |
error: Cannot fetch platform/vendor/htc/dream |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<project path="kernel" name="kernel/msm" revision="refs/heads/android-msm-htc-2.6.25"/> | |
<project path="vendor/htc/dream" name="platform/vendor/htc/dream-open"/> | |
<project path="hardware/msm7k" name="platform/hardware/msm7k"/> | |
</manifest> |
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
|:. repo sync | |
Fetching projects: 100% (115/115) remote: Counting objects: 97, done. | |
remote: Compressing objects: 100% (67/67), done. | |
remote: Total 97 (delta 54), reused 66 (delta 29) | |
Unpacking objects: 100% (97/97), done. | |
From git://android.git.kernel.org/platform/vendor/htc/dream-open | |
* [new branch] cupcake -> korg/cupcake | |
* [new branch] donut -> korg/donut | |
* [new branch] master -> korg/master | |
Fetching projects: 100% (115/115), done. |
OlderNewer