Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sheepmaster on github.
  • I am sheepmaster (https://keybase.io/sheepmaster) on keybase.
  • I have a public key ASDQjjn6_QY6xBpuQNgOIfacB6s9dhjW4ej3anDWah2UFwo

To claim this, I am signing this object:

#!/usr/bin/env python
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import subprocess
import sys
import tempfile
#!/usr/bin/env python
"""Prints the last checked out branches (i.e. HEAD, @{-1}, @{-2}, ...), one per line.
Duplicates will be skipped, so the line number does not necessarily correspond to the |n| in `@{-n}`.
"""
import re
import subprocess
#ifdef GL_ES
precision mediump float;
#endif
uniform float time;
uniform vec2 resolution;
const int k = 3;
const int stripes = 30;
void InMemoryURLIndex::Init(...) {
BrowserThread::PostTaskAndReplyWithResult(
BrowserThread::DB, FROM_HERE,
base::Bind(&URLIndexPrivateData::Init,
base::Unretained(private_data_.get()),
sequence_token_),
base::Bind(&InMemoryURLIndex::OnPrivateDataInitDone,
AsWeakPtr(),
base::Passed(&private_data_)));
}
#!/bin/bash
if test -z "$1"; then
case `uname -s` in
"Linux")
os=unix
;;
"Darwin")
os=mac
;;
#!/bin/bash
if test `basename $PWD` = "src"; then
cd ..
fi
eval `cd src && gclient hookinfo --gclientfile=<(echo 'solutions=[{"name":".","url":None,"deps_file":".DEPS.git"}]')`
template <typename T>
class Bar {
private:
friend void T::FriendMethod();
static void PrivateMethod() {
}
};
class Foo {
python tools/grit/grit.py -i chrome/browser/browser_resources.grd build -o "xcodebuild/DerivedSources/Debug/chrome" -D _chromium -E "CHROMIUM_BUILD=chromium" -D remoting -D use_titlecase -D enable_register_protocol_handler && python tools/grit/grit/format/repack.py xcodebuild/DerivedSources/Debug/repack/chrome.pak
xcodebuild/DerivedSources/Debug/*/*.pak xcodebuild/DerivedSources/Debug/*/*/*.pak && cp xcodebuild/DerivedSources/Debug/repack/chrome.pak xcodebuild/Debug/Chromium.app/Contents/Versions/*/Chromium\ Framework.framework/Resources/
#!/bin/sh
USAGE='[-b <branch>] [--interactive | -i] [-v] [--quiet | -q] <base> [<target>]'
SUBDIRECTORY_OK=Yes
. git-sh-setup
rebase_options=
set -e