Bloomberg's current site and overall aesthetic is mainly an expression of Swiss/International style. A central part of that is it's grotesk, bold and slightly condensed typeface. The font used is Bw Haas Grotesk, available from Adobe Fonts as Neue Haas Grotesk (Display). It's lesser known sister-font is Bw Modelica (Condensed) (available through e.g. Elements).
- GitHub Staff
- https://summarity.com
- @summarity
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
(macro make [receiver classtable bodyfn] | |
`(local ,receiver (doto (class ,(tostring receiver) ,classtable) | |
(,bodyfn)))) | |
; Handler that takes a single argument 'username' | |
(make UserHandler turbo.web.RequestHandler #(-> $1 | |
(tset :get (fn [self name] | |
(self:write (.. "Username is " name)))))) |
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
; THIS IS A Fennel SOURCE FILE (.fnl) !NOT! clojure! | |
; you need to use luajit to run this, after using fennel --compile | |
; install lapis and turbo from luarocks | |
(local turbo (require "turbo")) | |
(local render_html (. (assert (require "lapis.html")) :render_html)) | |
(fn render [parent expr] | |
(parent:add_header "Content-Type" "text/html") |
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
(let [app (turbo.web.Application:new [ | |
; No arguments, will work for 'localhost:8888' and 'localhost:8888/' | |
["/$" IndexHandler] | |
; Use the part of the url after /user/ as the first argument to | |
; UserHandler:get | |
["/user/(.*)$" UserHandler] | |
; Find two int's separated by a '/' after /add in the url | |
; and pass them as arguments to AddHandler:get |
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
local s = require 'say' | |
return function(busted, loaders) | |
local path = require 'pl.path' | |
local dir = require 'pl.dir' | |
local tablex = require 'pl.tablex' | |
local fileLoaders = {} | |
for _, v in pairs(loaders) do | |
if v ~= "moonscript" then |
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
Google Bombs Removed All - Short News: There Is Shit Wrong with Your Article | |
==================== | |
UX blogs for business: Part 1 | |
==================== | |
Next wave of encryption protection coming either as daylight savings tracker or a tool for sharing rich data | |
==================== | |
Apple Makes MacBooks Gone Bad — With Free iOS Devices | |
==================== | |
Lakewood Under Launch Requires Exposure of Detailed Development | |
==================== |
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
[$github, $bitbucket] | |
| (flatten) as $all_projects | |
| ([$all_projects[] | select(.stats.languages != null).stats.languages | to_entries] | flatten) as $langstats | |
| ( | |
[ | |
$all_projects[] | |
| select(.stats.languages != null).stats.languages | |
| keys | |
] | |
| flatten |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
version: "3.6" | |
x-influxlog: &influxlog | |
logging: | |
driver: syslog | |
options: | |
syslog-address: "udp://localhost:514" | |
tag: "{{.Name}}" | |
volumes: |
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
#!/bin/bash | |
trap onexit 1 2 3 15 ERR EXIT | |
#--- onexit() ----------------------------------------------------- | |
# @param $1 integer (optional) Exit status. If not set, use `$?' | |
onexit() { | |
# any items needed for cleanup here. | |
local exit_status=${1:-$?} | |
if [ ${exit_status} == 0 ] |