Ok this is ugly but it fixes the issue and I haven’t found a better solution.
You have to have g++
installed. Then make a symlink from g++-5
to g++
:
cd /usr/bin
sudo ln -s $(which g++) g++-5
And try bundle install
again.
HTTP/1.1 200 | |
content-type: text/plain | |
vary: Accept-Encoding | |
x-request-id: ctes5cd3wt8tjd45cj9c99z1eh | |
x-version-id: 7.5.2.7.5.2.6eded827d979ba5811e115a0dba170de.false | |
content-length: 2 | |
date: Wed, 15 Mar 2023 10:39:17 GMT | |
ok |
Ok this is ugly but it fixes the issue and I haven’t found a better solution.
You have to have g++
installed. Then make a symlink from g++-5
to g++
:
cd /usr/bin
sudo ln -s $(which g++) g++-5
And try bundle install
again.
# save 1 char by using 'for' instead of 'while' | |
x=42;while(c) | |
for(x=42;c;) | |
# save 1 char by using a missing variable instead of "" | |
split($0,b,"") | |
split($0,b,X) | |
# use ternary operations when possible | |
if(c)a else b |
# HAR to EditThisCookie converter | |
def domain: | |
.url | |
| sub("^https?://"; "") | |
| sub("/.*"; ""); | |
def cookies: | |
domain as $d | |
| .cookies|map(. + {"domain": $d, |
#! /bin/bash -e | |
# https://wiki.panotools.org/Panorama_scripting_in_a_nutshell | |
# http://hugin.sourceforge.net/tutorials/scans/en.shtml | |
# This is a tool to vertically stitch together screenshots of black and white | |
# scans. | |
# | |
# Install: | |
# | |
# brew cask install hugin |
G={} | |
for L in open("T"):a,b=L[5::31];G={a:set(),**G};G[b]=G.get(b,{a})|{a} | |
while G:C=min(c for c in G if not G[c]);G={c:G[c]-{C}for c in G if c!=C};print(C,end="") |
I hereby claim:
To claim this, I am signing this object:
Perl:
"test" =~ s/(.*)$/\1s/gr # => "testss
Ruby (same engine as Perl):
"test".gsub(/(.*)$/, "\\1s") # => "testss"