All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
This guide makes no assumptions on prior knowledge of Github Pages or Travis CI. You'll know which steps to skip (if the project uses Pages already, this will overwrite them). Assumed is you have a public D project on GitHub and you have documented its API with embedded ddoc comments. You should probably be aware of the known issues of ddox, which we use here.
For a project URL like https://github.com/<user>/<project>
, the documentation will appear at https://<user>.github.io/<project>/
.
The long story: https://docs.travis-ci.com/user/getting-started/, https://docs.travis-ci.com/user/languages/d/
The short story:
func _delete_data(path): | |
var dir = Directory.new() | |
var opened = dir.change_dir(path) | |
if opened != OK: | |
OS.alert("Error "+str(opened)+" opening path: "+path) | |
dir.list_dir_begin() | |
var current = dir.get_next() | |
print(current) | |
while not current.empty(): |
extends Camera2D | |
var dragging = false | |
func _ready(): | |
set_process_input(true) | |
func _input(event): | |
if event.type == InputEvent.MOUSE_BUTTON and event.button_index == BUTTON_MIDDLE: | |
dragging = event.is_pressed() |
#!/usr/bin/env ruby | |
require 'octokit' | |
require 'highline/import' | |
require 'colorize' | |
require 'byebug' | |
require 'csv' | |
require 'active_support/time' | |
username = ask("Enter your Github username: ") { |q| q.echo = true } |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |