- 🆔Wallet & Passport
- 💧Travel water bottle
- 💳Travel credit cards (don't pay foreign currency fees!)
- 💳Insurance cards
- 💵Local currency if traveling to foreign country
- 🚎Local public transport cards
- 📖A book/kindle
This file contains 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
<html> | |
<head> | |
<title>Learning WebGL</title> | |
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> | |
<script type="text/javascript" src="glMatrix-0.9.5.min.js"></script> | |
<script type="text/javascript" src="webgl-utils.js"></script> | |
<script id="shader-fs" type="x-shader/x-fragment"> |
This file contains 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
export function interlace(array: any[], joiner: any): any[] { | |
const result: any[] = []; | |
if (!array || !array.length) { | |
return result; | |
} | |
let i; | |
for (i = 0; i < array.length - 1; i++) { | |
result.push(array[i]); | |
result.push(joiner); |
This file contains 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/ruby | |
require 'json' | |
require 'time' | |
json = File.read('trips.json') | |
data = JSON(json, symbolize_names: true) | |
CURRENCY_CODE_MAP = {'USD'=> '$', 'EUR'=> '€', 'GBP' => '£'} |
This file contains 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
:root { | |
--background: #151515; | |
--text: #e0e0e0; | |
--variable: #6a9fb5; | |
--attribute: #00c; | |
--definition: #d28445; | |
--keyword: #ac4142; | |
--operator: #fff; | |
--property: #90a959; | |
--number: #aa759f; |
This file contains 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
(* | |
ParserLibrary.fsx | |
Final version of a parser library. | |
Related blog post: http://fsharpforfunandprofit.com/posts/understanding-parser-combinators-3/ | |
*) | |
module TextInput = | |
open System |
This file contains 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
# The Elixir language is very extensible to allow for future additions or | |
# third party developers to take the language in directions that the original | |
# authors could not predict. | |
# | |
# Lets start with understanding what an Elixir macro is | |
iex> quote do | |
...> 1 + 1 | |
...> end | |
{:+, [context: Elixir, import: Kernel], [1, 1]} |
This file contains 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
:root { | |
--base03: #002b36; | |
--base02: #073642; | |
--base01: #586e75; | |
--base00: #657b83; | |
--base0: #839496; | |
--base1: #93a1a1; | |
--base2: #eee8d5; | |
--base3: #fdf6e3; | |
--yellow: #b58900; |
This file contains 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
using Microsoft.Win32; | |
using System; | |
using System.IO; | |
using System.Net; | |
using System.Runtime.InteropServices; | |
using System.Windows.Forms; | |
using System.Linq; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Dynamic; |
This file contains 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 bash | |
RENEWAL_STATUS=$(certbot-auto certonly \ | |
-d 'domain.com,sub.domain.com' \ | |
--nginx \ | |
-n \ | |
--expand | |
) | |
curl -s --user 'api:key-MAILGUN_API_KEY' \ |
NewerOlder