- Open the file in Vim.
- Run the command
:% ! xxd - Edit.
- Once done, run
:% ! xxd -r - Save.
Original source: https://stackoverflow.com/questions/827326/whats-a-good-hex-editor-viewer-for-the-mac
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" | |
| integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | |
| crossorigin=""/> | |
| <script src="https://unpkg.com/[email protected]/dist/leaflet.js" | |
| integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" | |
| crossorigin=""></script> |
| #!/bin/bash | |
| # Removes old revisions of snaps | |
| # CLOSE ALL SNAPS BEFORE RUNNING THIS | |
| set -eu | |
| LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' | | |
| while read snapname revision; do | |
| snap remove "$snapname" --revision="$revision" | |
| done |
| #!/usr/bin/env bash | |
| readonly FOLDER=$1 | |
| create_checksum_file () | |
| { | |
| local folder=$1 | |
| local file="$folder/md5_sums" | |
| echo "Create checksum file $file" |
:% ! xxd:% ! xxd -rOriginal source: https://stackoverflow.com/questions/827326/whats-a-good-hex-editor-viewer-for-the-mac
| function concat(firstText, secondText) { | |
| return firstText + secondText; | |
| } | |
| function escape(key) { | |
| if (key.match(/^[A-Za-z0-9\-\_]+$/)) | |
| return key | |
| else | |
| return `"${key}"` | |
| } |
| import Color exposing (..) | |
| import Graphics.Collage exposing (..) | |
| import Graphics.Element exposing (..) | |
| import Mouse | |
| import Window | |
| type alias Box = (Int,Int) | |
| type alias Editor = { boxes: List Box } | |
| main : Signal Element |
Show timing information
curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total}
#Rule and Runners
idealo
@StefanBirkner
##Rule