A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| require 'formula' | |
| class Emacs < Formula | |
| homepage 'http://www.gnu.org/software/emacs/' | |
| url 'http://ftpmirror.gnu.org/emacs/emacs-23.4.tar.bz2' | |
| mirror 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.4.tar.bz2' | |
| md5 '070c68ad8e3c31fb3cb2414feaf5e6f0' | |
| fails_with_llvm "Duplicate symbol errors while linking.", :build => 2334 |
| # author: Jupp Mueller <jupp0r@gmail.com> | |
| from fabric.tasks import Taskfrom fabric.state import env | |
| import fabric.api | |
| from fabric.colors import * | |
| import shortuuid | |
| from StringIO import StringIO | |
| import os | |
| import reclass ExpectTest(Task): | |
| def __init__(self, alias=None, aliases=None, default=False, | |
| *args, **kwargs): |
Find the id of one of the <li> tags for a file in the folder, e.g folder-list-item5
Open the console and run this - it clicks the "X" button for every item in that folder.
jQuery("#folder-list-item5").find(".removeFrx").click()
| ;; read gpg-agent environment | |
| (defun read-env-line (line) | |
| "read a env line and post to environment" | |
| (let ((key-value-pair (split-string line "=" t))) | |
| (setenv (car key-value-pair) (car (last key-value-pair)))) | |
| ) | |
| (defvar gpg-agent-info-file) | |
| (setq gpg-agent-info-file (concat (getenv "HOME") "/.gpg-agent-info")) | |
| (when | |
| (file-exists-p gpg-agent-info-file) |
[[TOC]]
| package hash | |
| import ( | |
| "crypto/md5" | |
| "encoding/binary" | |
| "errors" | |
| ) | |
| type NodeId int |
| #pragma once | |
| #include <vector> | |
| #include <string> | |
| #include <iostream> | |
| class LogContext | |
| { | |
| public: | |
| template <typename T> |
| #include <google/protobuf/util/json_util.h> | |
| #include <iostream> | |
| #include "test.pb.h" | |
| int main(int argc, char** argv) { | |
| auto t = test::Simple{}; | |
| t.set_testint(4); |
| diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs | |
| index 8ec9c7f..1f60e9d 100644 | |
| --- a/src/bootstrap/compile.rs | |
| +++ b/src/bootstrap/compile.rs | |
| @@ -102,7 +102,7 @@ pub fn std_link(build: &Build, | |
| /// | |
| /// Only required for musl targets that statically link to libc | |
| fn copy_third_party_objects(build: &Build, target: &str, into: &Path) { | |
| - for &obj in &["crt1.o", "crti.o", "crtn.o"] { | |
| + for &obj in &["crtbegin.o", "crtend.o", "crt1.o", "crti.o", "crtn.o"] { |