Links being severed over time inside of a convex hull
This file contains hidden or 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
# Gratefully borrowed and edited from | |
# http://blogs.msdn.com/b/microsoft_press/archive/2014/01/29/from-the-mvps-copying-a-virtual-machine-from-one-windows-azure-subscription-to-another-with-powershell.aspx | |
# Source VM | |
$sourceSubscriptionName = "Name of the source subscription" | |
$destSubscriptionName = "Name of the destination subscription" | |
Get-AzureVM | |
$vmName = "name-of-source-vm" |
This file contains hidden or 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
<!DOCTYPE html> | |
<!-- Content forthcoming --> |
An example of how cell splitting could be achieved using examples from the Sparse Matrix Collection
Based on Force Layout & Matrix Market Format
This file contains hidden or 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
#!/bin/bash | |
# __ | |
# _____ ____ _/ |_ ____ ____ _______ | |
# / \ _/ __ \ \ __\_/ __ \ / _ \ \_ __ \ | |
# | Y Y \\ ___/ | | \ ___/ ( <_> ) | | \/ | |
# |__|_| / \___ > |__| \___ > \____/ |__| | |
# \/ \/ \/ | |
# | |
# .___ | |
# __| _/ __ __ _____ ______ |
This file contains hidden or 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
facebook = require './facebook' | |
mongoose = require 'mongoose' | |
express = require 'express' | |
routes = require './routes' | |
http = require 'http' | |
path = require 'path' | |
app = express() | |
app.configure -> | |
app.set 'port', process.env.PORT || 3000 |
This file contains hidden or 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
... | |
$.Widget.prototype = { | |
... | |
destroy: function() { | |
this.element | |
.unbind( "." + this.widgetName ) | |
.removeData( this.widgetName ); | |
this.widget() | |
.unbind( "." + this.widgetName ) | |
.removeAttr( "aria-disabled" ) |
This file contains hidden or 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
(function($){ | |
$.widget("ui.mywidget", { | |
options: { | |
autoOpen: true | |
}, | |
_create: function(){ | |
// by default, consider this thing closed. |
This file contains hidden or 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
# app/views/talks/_form.html.erb | |
<%= form_for([@event, @talk]) do |f| %> | |
<% if @talk.errors.any? %> | |
<div id="error_explanation"> | |
<h2><%= pluralize(@talk.errors.count, "error") %> prohibited this talk from being saved:</h2> | |
<ul> | |
<% @talk.errors.full_messages.each do |msg| %> | |
<li><%= msg %></li> |
This file contains hidden or 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><%= yield(:title) %></title></head> | |
<body> | |
<h1><%= yield(:title) %></h1> | |
<%= yield %> | |
</body> | |
</html> |