$ cd rust-lang-repo/
$ git ask src/libcore
* src/libcore
Brian Anderson <banderson@mozilla.com>
Patrick Walton <pcwalton@mimiga.net>
Alex Crichton <alex@alexcrichton.com>
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
#!/bin/bash | |
set -eu -o pipefail | |
# ----------------------------------------------------------------------------- | |
export LANG=en_US.UTF-8 | |
export BORG_PASSPHRASE='' | |
MAIN_USER="johndoe" | |
MAIN_HOMEDIR="$(getent passwd ${MAIN_USER} | cut -f 6 -d ':')" |
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 os | |
>>> os.remove == os.unlink | |
True | |
>>> os.remove is os.unlink | |
False | |
>>> |
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 "formula" | |
class Ah < Formula | |
homepage "https://github.com/9seconds/ah" | |
url "https://github.com/9seconds/ah.git", :tag => "0.13.1" | |
version "0.13.1" | |
sha1 "" | |
bottle do | |
sha1 "7563b28df830baa880731b9448e88b99dcb68420" => :mavericks |
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
>>> a = (1, [2, 3]) | |
>>> a[1] += [4, 5] | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: 'tuple' object does not support item assignment | |
>>> print a | |
(1, [2, 3, 4, 5]) | |
>>> |
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 -*- | |
''' | |
Solving best-before problem | |
http://www.spotify.com/se/jobs/tech/best-before/ | |
''' | |
# ############################################################################ |
NewerOlder