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
sub B::IV::int_value { | |
my ($self) = @_; | |
return (($self->FLAGS() & SVf_IVisUV()) ? $self->UVX : $self->IV); | |
} |
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
# hack is a function | |
hack () { | |
local dir | |
if [ -d "$1" ]; then | |
dir="$1" | |
else | |
dir="$(perl -MPIR -wE 'my $iter=PIR->new->skip_vcs->directory->iname(shift)->iter("$ENV{HOME}/git"); say $iter->()' $1)" | |
fi | |
if [ -n "$dir" -a -d "$dir" ]; then | |
tmux new-window -c "$dir" -n "$(basename "$dir")" |
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
> curl --silent https://api.github.com/repos/aocole/skill-shot-list/stargazers?per_page=10 --dump-header head; echo; grep -E '^Link: ' head | |
[ | |
{ | |
"login": "ingydotnet", | |
"id": 21826, | |
"avatar_url": "https://avatars.githubusercontent.com/u/21826?", | |
"gravatar_id": "8b3bd89d842c858bea279637e34b4382", | |
"url": "https://api.github.com/users/ingydotnet", | |
"html_url": "https://github.com/ingydotnet", | |
"followers_url": "https://api.github.com/users/ingydotnet/followers", |
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
> curl --silent https://api.github.com/repos/aocole/skill-shot-list --dump-header head > out; echo; grep '^ETag' head; sha1sum out | |
ETag: "7b3a97ee2c14ca372c126dcc3773db1e" | |
816ebdfad5e3a0e5155f65ca8d44aa4dbbcdd79a out | |
> git hub unstar aocole/skill-shot-list | |
'aocole/skill-shot-list' unstarred | |
> curl --silent https://api.github.com/repos/aocole/skill-shot-list --dump-header head > out; echo; grep '^ETag' head; sha1sum out | |
ETag: "7b3a97ee2c14ca372c126dcc3773db1e" | |
ea2aab4fd641e6a6ffe37ecf4ab50b1737497fc5 out |
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
my_list: | |
- foo | |
- bar | |
- > | |
my very long | |
list item | |
all on one line | |
- "my very long | |
list item | |
all on one line" |
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
$ git hub repo github/janky | |
Full Name github/janky | |
Description: | |
Continuous integration server built on top of Jenkins and Hubot | |
Language Ruby | |
GitHub Page https://github.com/github/janky | |
Remote URL git@github.com:github/janky.git | |
Forks 170 | |
Stars 1974 | |
Open Issues 18 |
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
value and comment: hello # comment here | |
single line string: 'ok # not a comment' # this is a comment | |
double quoted: "this line has a newline at end\n" | |
literal: | | |
indented text | |
is 4 lines and | |
has leading spaces removed | |
all content # including the is part of the literal | |
number: 42 |
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
reviewed: | |
- dan: | |
review_title: | |
review_description: | |
review_count: | |
reviewer_name: | |
reviewr_city: | |
- mark: | |
review_title: | |
review_description: |
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 bash | |
set -ex | |
rm -fr p1 p2 lib lib.git | |
( | |
mkdir lib p1 p2 | |
git init --bare lib | |
git init p1 | |
git init p2 |
OlderNewer