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
# Iceberg color scheme. | |
[colors] | |
foreground = #d2d4de | |
background = #161821 | |
foreground_bold = #d2d4de | |
cursor = #d2d4de | |
cursor_foreground = #161821 | |
highlight = #6b7089 | |
# black |
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
# Note, this dockerfile only works if you move the .jar | |
# file into the project directory first. This was done | |
# to get a clean, without any paths, artifact on Gitlab | |
FROM openjdk:8-jre-alpine | |
RUN mkdir -p /app /app/resources | |
WORKDIR /app | |
COPY *-standalone.jar . | |
COPY resources/pegasus/public . | |
CMD java -jar pegasus-0.1.0-SNAPSHOT-standalone.jar |
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
function curl_time -d "Measure the response time for a given URL" | |
curl -so /dev/null -w "\ | |
namelookup: %{time_namelookup}s\n\ | |
connect: %{time_connect}s\n\ | |
appconnect: %{time_appconnect}s\n\ | |
pretransfer: %{time_pretransfer}s\n\ | |
redirect: %{time_redirect}s\n\ | |
starttransfer: %{time_starttransfer}s\n\ | |
-------------------------\n\ | |
total: %{time_total}s\n" $argv |
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
const std = @import("std"); | |
// Errors which can be returned when parsing the command line arguments. | |
const ParseArgsError = error{TooManyArguments}; | |
// The different commands which may be run. | |
const Command = union(enum) { | |
startRepl, | |
runInterpreter: []const u8, | |
}; |
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
# Checkout Emacs | |
$ git clone git://git.sv.gnu.org/emacs.git | |
# Vanilla Emacs requirements | |
$ sudo apt install build-essential autoconf libgtk-3-dev libgnutls28-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev texinfo adwaita-icon-theme-full | |
# Required for Native JSON | |
$ sudo apt install libjansson4 libjansson-dev | |
# Required for GCC |
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 bb | |
(require '[clojure.string :as str]) | |
(def user (str/capitalize | |
(str (System/getenv "USER")))) | |
(def words-of-inspiration | |
(list "The best way to predict the future is to invent it. -Alan Kay" | |
"A point of view is worth 80 IQ points. -Alan Kay" |
OlderNewer