I hereby claim:
- I am curiositycasualty on github.
- I am if_then (https://keybase.io/if_then) on keybase.
- I have a public key ASBYZU1YsNNYV8N-UtrIZMaIU1QbNNiWT6zaOMmBOp17-go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#{package_vector}, | |
Ncpus = #{new_resource.ncpus}, | |
repos = c("CRAN" = "#{new_resource.cran_repo}"), | |
clean = #{new_resource.clean.to_s.upcase}, | |
destdir = "#{new_resource.destdir}", | |
keep_outputs = TRUE, | |
method = "wget", | |
extra = " >/dev/null 2>&1 || true; | |
cd #{new_resource.destdir}; | |
__wget() { |
#!/usr/bin/env bash | |
# set -x | |
set -m | |
# bash strict mode | |
set -euo pipefail | |
max_workers=$(( $(nproc) * 2 )) |
[Unit] | |
Description=TeamCity Build Agent | |
After=network.target | |
[Service] | |
Type=forking | |
RemainAfterExit=yes | |
User=teamcity | |
Group=users | |
PIDFile=/opt/teamcity-agent/logs/buildAgent.pid |
In [1]: class Yay: | |
...: def __init__(self, ugh): | |
...: self.ugh = ugh, | |
...: | |
In [2]: y=Yay('yay') | |
In [3]: y.ugh | |
Out[3]: ('yay',) |
I hereby claim:
To claim this, I am signing this object:
# v2 pbzx stream handler | |
# My personal writeup on the differences here: https://gist.github.com/pudquick/29fcfe09c326a9b96cf5 | |
# | |
# Pure python reimplementation of .cpio.xz content extraction from pbzx file payload originally here: | |
# http://www.tonymacx86.com/general-help/135458-pbzx-stream-parser.html | |
# | |
# Cleaned up C version (as the basis for my code) here, thanks to Pepijn Bruienne / @bruienne | |
# https://gist.github.com/bruienne/029494bbcfb358098b41 | |
import struct, sys |
Python 2.7.5 (default, Nov 20 2015, 02:00:19) | |
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> a=set('yay') | |
>>> a.add('yay') | |
>>> a | |
set(['y', 'a', 'yay']) | |
>>> a.add('yay') | |
>>> a | |
set(['y', 'a', 'yay']) |
#!/usr/bin/env bash | |
PREFIX='./xcodes' | |
DMGs=(xcode_6.1.1.dmg | |
Xcode_6.2.dmg | |
Xcode_6.3.2.dmg | |
Xcode_6.4.dmg | |
Xcode_7.0.1.dmg | |
Xcode_7.1.1.dmg | |
Xcode_7.2.1.dmg) |
aaaaa | |
bbbbb | |
vvvvvvvv | |
V!? wth ಠ_ಠ, otherwise known as the “look of disapproval,” |