Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
#! /usr/bin/env bash | |
echo Building GCC m68k toolchain... | |
mkdir -p sources | |
mkdir -p build | |
CORES=8 | |
TARGET=m68k-unknown-elf | |
PREFIX=$PWD/m68k-unknown-elf |
Vagrant.configure(2) do |config| | |
# vagrant-triggersをProvisionerとして使用し、 | |
# 作成した仮想マシンに対してdocker-machine createを実行 | |
config.vm.provision "trigger" do |trigger| | |
trigger.fire do | |
# docker-machine statusのexitstatusが0の場合はdocker-machine create実行済み | |
`docker-machine status #{@machine.name}` | |
if $?.exitstatus != 0 | |
# 使用するIPとポートを取得 | |
# VirtualBoxの場合には一度仮想マシンにログインしプライベートネットワークのIPを取得 |
import CoreData | |
protocol Fetchable | |
{ | |
typealias FetchableType: NSManagedObject | |
static func entityName() -> String | |
static func objectsInContext(context: NSManagedObjectContext, predicate: NSPredicate?, sortedBy: String?, ascending: Bool) throws -> [FetchableType] | |
static func singleObjectInContext(context: NSManagedObjectContext, predicate: NSPredicate?, sortedBy: String?, ascending: Bool) throws -> FetchableType? | |
static func objectCountInContext(context: NSManagedObjectContext, predicate: NSPredicate?) -> Int |
Example: https://denpa.moe/~syrup/himawari8.png |
(function() { | |
// Do not use this library. This is just a fun example to prove a | |
// point. | |
var Bloop = window.Bloop = {}; | |
var mountId = 0; | |
function newMountId() { | |
return mountId++; | |
} |
FILE SPACING: | |
# double space a file | |
sed G | |
# double space a file which already has blank lines in it. Output file | |
# should contain no more than one blank line between lines of text. | |
sed '/^$/d;G' |
I'm a big fan of Pomodoro time management technique, created by Francesco Cirillo in the 80's. In this post I'll describe what it is, how I use it (tools and their tweaks), and how it helps me to get through my day.
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.