Skip to content

Instantly share code, notes, and snippets.

View coetry's full-sized avatar
⚛️
compiling my thoughts into something simpler

Allen Hai coetry

⚛️
compiling my thoughts into something simpler
  • Houston
View GitHub Profile
Bundler 1.6.1
Ruby 2.1.1 (2014-02-24 patchlevel 76) [x86_64-darwin12.0]
Rubygems 2.2.2
rvm 1.26.6 (latest)
GEM_HOME /Users/allen/.rvm/gems/ruby-2.1.1
GEM_PATH /Users/allen/.rvm/gems/ruby-2.1.1:/Users/allen/.rvm/gems/ruby-2.1.1@global
rubygems-bundler (1.4.3)
Bundler settings
build.nokogiri
<meta charset='<%= Rails.application.config.encoding %>' />
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
<title><%= browser_title(yield(:title)) %></title>
<%= raw %(<meta name="description" content="#{@meta.meta_description}" />) if @meta.meta_description.present? -%>
<%= raw %(<link rel="canonical" href="#{request.protocol}#{request.host_with_port}#{@canonical}" />) if @canonical.present? -%>
<%= csrf_meta_tags if Refinery::Core.authenticity_token_on_frontend -%>
<%= html_import_tag 'application' %>
<%= yield :meta %>
File.open "file.json", "w+" do |file|
file.puts Hash.to_json
end
Allens-MacBook-Pro:heroku-cl-example allen$ git push heroku
Counting objects: 140, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (68/68), done.
Writing objects: 100% (140/140), 63.86 KiB | 0 bytes/s, done.
Total 140 (delta 52), reused 140 (delta 52)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> CLFramework app detected
@coetry
coetry / cl-who.lisp
Last active August 9, 2016 18:28
*standard-output* is not a function
(with-html-output (*standard-output*)
(:red (:b "Bold and red")))
External process exited with code 1.
Command was: "cc" "-m64" "-I" "/opt/local/include/" "-I/Users/allen/quicklisp/dists/quicklisp/software/cffi_0.16.1/" "-bundle" "-fPIC" "-o" "/Users/allen/.cache/common-lisp/sbcl-1.$
Output was:
/Users/allen/.cache/common-lisp/sbcl-1.3.2-macosx-x64/Users/allen/quicklisp/dists/quicklisp/software/osicat-20160208-git/posix/wrappers.c:113:10: warning: implicit declaration of f$
return posix_fallocate(fd, offset, length);
^
@coetry
coetry / cl-heroku.lisp
Created August 15, 2016 05:10
You need ASDF >= 3.1 to load this system correctly.
Error while trying to load definition for system bordeaux-threads from pathname
remote: /tmp/build_837bbcbb94e74b11b13718c0d08e60ca/quicklisp/dists/quicklisp/software/bordeaux-threads-v0.8.5/bordeaux-threads.asd:
remote:
remote: You need ASDF >= 3.1 to load this system correctly.
remote: 0: (SB-DEBUG::MAP-BACKTRACE
remote: #<CLOSURE (LAMBDA # :IN SB-DEBUG:BACKTRACE) {1005DE230B}>
remote: :START
remote: 0
remote: :COUNT
remote: 4611686018427387903)
Allens-MacBook-Pro-2:sunnah-website allen$ sudo docker build -t coetry-sunnah .
Sending build context to Docker daemon 26.65 MB
Step 1 : FROM tutum/lamp:latest
---> 3d49e175ec00
Step 2 : RUN rm -fr /app
---> Using cache
---> 2b166d000c94
Step 3 : RUN apt-get update && apt-get install -y php5-memcached memcached && rm -rf /var/lib/apt/list/*
---> Using cache
---> 873914b71e74
Allens-MBP:~ allen$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3794f769d9bf eugeneware/docker-wordpress-nginx "/bin/bash /start.sh" 2 days ago Up 45 minutes 0.0.0.0:80->80/tcp, 3306/tcp texascarma
@coetry
coetry / build.boot
Created July 11, 2017 18:16
boot cljs serving error
(set-env!
:source-paths #{"src/cljs"}
:resource-paths #{"html"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.473"]
[adzerk/boot-cljs "1.7.228-2"]
[pandeiro/boot-http "0.7.6"]
[org.clojure/tools.nrepl "0.2.12"]
[adzerk/boot-reload "0.5.1"]