This file contains hidden or 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
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 |
This file contains hidden or 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
$ crystal --version | |
Crystal 0.18.7 (2016-08-05) | |
$ crystal tmp/test.cr | |
Pinging... | |
Pinging... | |
Pinging... | |
Pinging... | |
Pinging... | |
Pinging... | |
Pinging... |
This file contains hidden or 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
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' |
This file contains hidden or 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
$ 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 |
This file contains hidden or 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
user@MSEDGEWIN10:/mnt/c/Windows/System32$ sudo apt-get install crystal | |
sudo: unable to resolve host MSEDGEWIN10 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
libfreetype6 os-prober | |
Use 'apt-get autoremove' to remove them. | |
The following NEW packages will be installed: |
This file contains hidden or 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
user@MSEDGEWIN10:/mnt/c/Windows/System32$ sudo apt-get install crystal | |
sudo: unable to resolve host MSEDGEWIN10 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
libfreetype6 os-prober | |
Use 'apt-get autoremove' to remove them. | |
The following NEW packages will be installed: |
This file contains hidden or 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
FROM crystallang/crystal:0.19.2 | |
# Install crystal deps | |
ADD shard.yml /app/ | |
ADD shard.lock /app/ | |
WORKDIR /app | |
RUN crystal deps | |
# Add app and build it | |
ADD . /app |
This file contains hidden or 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 ruby | |
require 'sinatra' | |
require 'tempfile' | |
set :bind, '0.0.0.0' | |
get '/' do | |
source_url = params['q'] | |
puts "Downloading #{source_url} ..." | |
system("wget -nc #{source_url}") |
This file contains hidden or 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
HTTP GET http://bundler.rubygems.org/api/v1/dependencies | |
HTTP 200 OK | |
Fetching gem metadata from http://rubygems.org/ | |
Query List: ["middleman", "middleman-livereload", "middleman-blog", "middleman-blog-drafts", "builder", "nokogiri", "wdm", "middleman-s3_sync", "middleman-build-reporter", "pry-debugger", "middleman-alias", "middleman-sitemap", "middleman-sitemap-ping", "middleman-syntax", "redcarpet", "ruby18_source_location", "inifile", "middleman-search"] | |
Query Gemcutter Dependency Endpoint API: middleman,middleman-livereload,middleman-blog,middleman-blog-drafts,builder,nokogiri,wdm,middleman-s3_sync,middleman-build-reporter,pry-debugger,middleman-alias,middleman-sitemap,middleman-sitemap-ping,middleman-syntax,redcarpet,ruby18_source_location,inifile,middleman-search | |
HTTP GET http://bundler.rubygems.org/api/v1/dependencies?gems=middleman,middleman-livereload,middleman-blog,middleman-blog-drafts,builder,nokogiri,wdm,middleman-s3_sync,middleman-build-reporter,pry-debugger,middleman-alias,middleman-sitemap,midd |
This file contains hidden or 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
var lunrIndex = null; | |
var lunrData = null; | |
// Download index data | |
$.ajax({ | |
url: '/index.json', | |
cache: true, | |
method: 'GET', | |
success: function(data) { | |
lunrData = data; |