- Anonymous Blocks
- Native support
- YAML parser
- Builtin Reflections replacement
// Copyright 2013 Stefan Matthias Aust. Licensed under MIT (http://opensource.org/licenses/MIT) | |
import 'dart:math' show pow; | |
/* | |
* This is a parser and runtime system for Lua 5.x which lacks most if not all of the Lua standard library. | |
* I created the parser a couple of years ago and now ported it to Dart just to see how difficult it would be. | |
*/ | |
void main() { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
window.MediaSource = window.MediaSource || window.WebKitMediaSource; | |
function testTypes(types) { | |
for (var i = 0; i < types.length; ++i) | |
console.log("MediaSource.isTypeSupported(" + types[i] + ") : " + MediaSource.isTypeSupported(types[i])); | |
} |
This Build Script is completely written in Literate CoffeeScript with ShellJS's Make System
Adds support for the make --version flag
target "--version", ->
# Print Version Information
echo "testly v#{pkginfo.version} make script (shelljs v#{pkginfo["dependencies"].shelljs.substr(1)})"
This page has moved to a different location.
part of dartboard; | |
class FutureGroup { | |
Completer _completer = new Completer(); | |
List<Future> _futures = <Future>[]; | |
FutureGroup(); | |
bool add(Future future) { | |
if(!_futures.contains(future)) { |
import "dart:io"; | |
class SystemCTL { | |
static const String CIRCLE = "\u25CF"; | |
final bool useSudo; | |
SystemCTL({this.useSudo: false}); | |
Future<bool> start(String service) async { |
From the man-pages: "The cache logical volume type uses a small and fast LV to improve the performance of a large and slow LV. It does this by storing the frequently used blocks on the faster LV. LVM refers to the small fast LV as a cache pool LV. The large slow LV is called the origin LV. Due to requirements from dm-cache (the kernel driver), LVM further splits the cache pool LV into two devices - the cache data LV and cache metadata LV. The cache data LV is where copies of data blocks are kept from the origin LV to increase speed. The cache metadata LV holds the accounting information that specifies where data blocks are stored (e.g. on the origin LV or on the cache data LV). Users should be familiar with these LVs if they wish to create the best and most robust cached logical volumes. All of these associated LVs must be in the same VG."
Assuming LVM is already setup in HDD (e.g. from anaconda) and SSD is untouched.
Create a physical
https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone9,4-2-3-0/online-infobox__3x.png | |
A B C D E F G | |
A: deviceImages version seems to determine the format of the image specifier (C, D, E, F) | |
B: device marketing name | |
C: device model identifier | |
D: color cover glass (front color) | |
1 - Black | |
2 - White | |
E: device enclosure color (back color) |
#!/usr/bin/env zsh | |
set -e; | |
set +m; # Job control would've been nice, but manual round robin it is, sigh. | |
if [ -z "${ZSH_VERSION+x}" ]; then | |
echo 'Try again with zsh.'; | |
exit 1; | |
fi; |