I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
import com.google.common.collect.ImmutableList; | |
import com.google.common.collect.Iterables; | |
import java.security.KeyStore; | |
import java.security.KeyStoreException; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.cert.CertificateException; | |
import java.security.cert.X509Certificate; | |
import java.util.Arrays; | |
import java.util.List; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="author" content="Oscar Estrada"> | |
<meta name="viewport" content="width=device-width" /> | |
<title>Video.js Example Embed</title> | |
<script src="http://vjs.zencdn.net/5-unsafe/video.js"></script> | |
<link rel="stylesheet" href="https://vjs.zencdn.net/5-unsafe/video-js.css" type="text/css"> |
apt-get update | |
apt-get install pure-ftpd | |
# Ensure | |
# File /etc/inetd.conf has `ftp` commented out | |
# File /etc/default/pure-ftpd-common STANDALONE_OR_INETD=standalone | |
# Add ftp users group | |
groupadd ftpusers |
import static com.google.common.collect.Iterables.toArray; | |
import static com.google.common.collect.Lists.newLinkedList; | |
import static java.util.Arrays.asList; | |
import java.util.Collection; | |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.widgets.Display; | |
import org.eclipse.swt.widgets.Shell; | |
import org.junit.rules.TestRule; |
using System; | |
namespace Helpers { | |
public class LocConverter { | |
public static double pi = Math.PI; | |
// | |
// Krasovsky 1940 | |
// | |
// a = 6378245.0, 1/f = 298.3 |
var collectionNames = db.getCollectionNames(), stats = []; | |
collectionNames.forEach(function (n) { stats.push(db[n].stats()); }); | |
stats = stats.sort(function(a, b) { return b['size'] - a['size']; }); | |
for (var c in stats) { print(stats[c]['ns'] + ": " + stats[c]['size'] + " (" + stats[c]['storageSize'] + ")"); } |
# !/bin/bash | |
# Copyright (c) 2011 Float Mobile Learning | |
# http://www.floatlearning.com/ | |
# Extension Copyright (c) 2013 Weptun Gmbh | |
# http://www.weptun.de | |
# | |
# Extended by Ronan O Ciosoig January 2012 | |
# | |
# Extended by Patrick Blitz, April 2013 |
#!/bin/sh | |
# xcode-build-number-generator.sh | |
# @desc Automaticvally create build number every time using curent day, month and year | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" |