Skip to content

Instantly share code, notes, and snippets.

https://dl-ssl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7B739A42D5-7A93-1BFE-A053-81D56ACD6752%7D%26lang%3Den%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dfalse%26installdataindex%3Ddefaultbrowser/update2/installers/ChromeStandaloneSetup.exe
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Google Storage File Upload Example</title>
</head>
<body>
<div>
<form action="http://twitter-img.commondatastorage.googleapis.com" enctype="multipart/form-data" method="post">
<fieldset>
@alex-endfinger
alex-endfinger / chromiumpull.sh
Created July 11, 2011 16:04
Script To Pull Latest Chromium Build And Host To Chromium Build Backup Server
#!/bin/bash
curl http://commondatastorage.googleapis.com/chromium-browser-continuous/Win/LAST_CHANGE >>~/change.txt
export REV=$(cat ~/change.txt)
export CHROMIUMURL=http://commondatastorage.googleapis.com/chromium-browser-continuous/Win/$REV/mini_installer.exe
mkdir /var/www/chromium/$REV
wget $CHROMIUMURL -O /var/www/chromium/build/$REV/mini_installer.exe
rm ~/change.txt
echo Revision $REV Has Been Successfully Uploaded To Chromium Build Server Backup >>~/chromiumpull/log.txt
@alex-endfinger
alex-endfinger / session_manager_setup.sh
Created August 2, 2011 02:05
Start Chrome OS With Flags. Overide Existing File in /sbin/session_manager_setup.sh
#!/bin/sh
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Set up to start the X server ASAP, then let the startup run in the
# background while we set up other stuff.
XAUTH_FILE="/var/run/chromelogin.auth"
MCOOKIE=$(head -c 8 /dev/urandom | openssl md5) # speed this up?
@alex-endfinger
alex-endfinger / makechange.sh
Created August 2, 2011 13:40
Script To Remove ChromeOS Read-Only Hard Drive
#!/bin/bash
sudo su
mount -o remount,rw /
echo You Can Now Write To The System!
#!/bin/sh
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# The kernel mounts /proc, /sys and /dev during initialization, prior
# to starting init.
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
<html>
<head>
<title>Print Test Page</title>
<script src="//www.google.com/cloudprint/client/cpgadget.js">
</script>
<script defer="defer">
var gadget = new cloudprint.Gadget();
gadget.setPrintButton(
document.getElementById("print_button");
# /etc/skel/.bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
@alex-endfinger
alex-endfinger / blog.js
Created September 5, 2011 15:51
The Dynamic JS for My Blog!
document.write('<center><a href="http://profiles.google.com/alex.endfinger?rel=author">Visit My Google+ Profile</a></center>')