Skip to content

Instantly share code, notes, and snippets.

View matiasgarciaisaia's full-sized avatar
🙃
Piensa bonito

Matías García Isaía matiasgarciaisaia

🙃
Piensa bonito
View GitHub Profile
@matiasgarciaisaia
matiasgarciaisaia / make.log
Created November 10, 2016 20:28
Running `make -f Makefile.direct test` on Bash on Ubuntu on Windows 10
$ make -f Makefile.direct test
cc -O -I./include -I./libatomic_ops/src -DGC_ATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -c ./tests/test.c
mv test.o tests/test.o
rm -f gctest
./if_mach SPARC DRSNX cc -O -I./include -I./libatomic_ops/src -DGC_ATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -o gctest tests/test.o gc.a -lucb
./if_mach HP_PA HPUX cc -O -I./include -I./libatomic_ops/src -DGC_ATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -o gctest tests/test.o gc.a -ldld `./threadlibs`
./if_mach M68K AMIGA cc -O -I./include -I./libatomic_ops/src -DGC_ATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -UGC_AMIGA_MAKINGLIB -o gctest tests/test.o gc.a `./threadlibs`
./if_not_there gctest cc -O -I./include -I./libatomic_ops/src -DGC_ATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS -o gctest tests/test.o gc.a `./threadlibs`
^^^^Starting command^^^^
./setjmp_test
@matiasgarciaisaia
matiasgarciaisaia / build-log.txt
Created November 10, 2016 20:58 — forked from mgarciaisaia/build-log.txt
Building bdwgc & libatomic_ops from source on Bash on Ubuntu on Windows 10
user@MSEDGEWIN10:~/bdwgc$ autoreconf -vif && automake --add-missing > autoreconf.log
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory libatomic_ops to autoreconf
autoreconf: Entering directory `libatomic_ops'
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
$ crystal --version
Crystal 0.18.7 (2016-08-05)
$ crystal tmp/test.cr
Pinging...
Pinging...
Pinging...
Pinging...
Pinging...
Pinging...
Pinging...
@matiasgarciaisaia
matiasgarciaisaia / circle.yml
Created November 30, 2016 18:23
manas.tech circle.yml
test:
pre:
- python -m SimpleHTTPServer:
background: true
pwd: build
- sleep 5
override:
- wget -r -l8000 --spider -e robots=off -D localhost http://localhost:8000 -o $CIRCLE_ARTIFACTS/broken-links.log
post:
- rm build/nohup.out
@matiasgarciaisaia
matiasgarciaisaia / Gemfile
Created December 13, 2016 00:43
Dumping a repo's stargazers' information to a JSON
source 'https://rubygems.org'
gem "octokit", "~> 4.0"
gem "highline", "~> 1.7"
@matiasgarciaisaia
matiasgarciaisaia / extract-country.gs
Created December 13, 2016 01:11
Quick'n'dirty reversion of https://github.com/nuket/google-sheets-geocoding-macro/ for extracting country names from a list of free-text strings
function extractCountries() {
var sheet = SpreadsheetApp.getActiveSheet();
var cells = sheet.getActiveRange();
if (cells.getNumColumns() != 2) {
Logger.log("Must select the Location, Country.");
return;
}
var addressColumn = 1;
@matiasgarciaisaia
matiasgarciaisaia / crystal.build.log
Created December 27, 2016 18:27
make stats=true crystal
Using /usr/bin/llvm-config-3.8 [version=3.8.0]
g++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc `/usr/bin/llvm-config-3.8 --cxxflags`
cc -fPIC -c -o src/ext/sigfault.o src/ext/sigfault.c
ar -rcs src/ext/libcrystal.a src/ext/sigfault.o
CRYSTAL_CONFIG_PATH=`pwd`/src ./bin/crystal build --stats -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib
Parse: 00:00:00.0000727 ( 0.19MB)
Semantic (top level): 00:00:00.4215326 ( 77.52MB)
Semantic (new): 00:00:00.0035324 ( 77.52MB)
Semantic (type declarations): 00:00:00.0433313 ( 85.52MB)
Semantic (abstract def check): 00:00:00.0010754 ( 85.52MB)
name: bug-3946
version: 0.1.0
crystal: 0.20.5
dependencies:
callback:
github: mosop/callback
version: 0.6.2
@matiasgarciaisaia
matiasgarciaisaia / gist:fe4f4a35f6a98c9839191d0695e33627
Created February 10, 2017 00:04
Trying to access Middleman 3's Sitemap using redirects
NoMethodError: super: no superclass method `get_source_file' for #<Middleman::Sitemap::Extensions::Redirects::RedirectResource:0x007fee61bb40c0>
/Users/mgarcia/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.3/lib/middleman-core/sitemap/extensions/proxies.rb:61:in `get_source_file'
/Users/mgarcia/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.3/lib/middleman-core/sitemap/resource.rb:33:in `source_file'
/Users/mgarcia/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.3/lib/middleman-core/meta_pages/sitemap_resource.rb:42:in `resource_properties'
/Users/mgarcia/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/middleman-core-3.3.3/lib/middleman-core/meta_pages/sitemap_resource.rb:20:in `block (2 levels) in render'
/Users/mgarcia/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/padrino-helpers-0.12.2/lib/padrino-helpers/output_helpers.rb:65:in `call'
/Users/mgarcia/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/padrino-helpers-0.
@matiasgarciaisaia
matiasgarciaisaia / querying-sitemap.txt
Created February 10, 2017 00:22
Middleman 3's Sitemap takes a looooooooong time to crash when using redirects
$ time curl http://localhost:4567/__middleman/sitemap/ > sitemap.error.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185k 100 185k 0 0 928 0 0:03:24 0:03:24 --:--:-- 43912
real 3m24.078s
user 0m0.012s
sys 0m0.020s