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
g3 = Graphics3D[{Gray, KnotData[{6, 2}, "ImageData"]}, | |
Lighting -> "Neutral", Boxed -> False]; | |
img = ColorConvert[Rasterize[g3, "Image", ImageResolution -> 72], | |
"GrayLevel"]; | |
edge = ColorNegate@EdgeDetect[img]; | |
Manipulate[ | |
dots = Image@ |
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
yfiles.module("Life", function (exports) { | |
var Person = Class('Person', | |
{ | |
constructor: function (name) { | |
this.name = name; | |
}, | |
toString: function () { | |
return this.name; | |
} |
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> | |
<html> | |
<head> | |
<title>Hello, yFiles for HTML</title> | |
<link type="text/css" rel="stylesheet" href="/OrbyWorks/lib/yfiles.css"> | |
<style> | |
html, body, #graphCanvas, .canvascontrol { | |
width: 100%; | |
height: 80%; |
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> | |
<html> | |
<head> | |
<title>Kendo Diagramming</title> | |
<link rel="stylesheet/less" type="text/css" href="../../styles/web/kendo.common.less"/> | |
<link rel="stylesheet/less" type="text/css" href="../../styles/web/kendo.default.less"/> | |
<link rel="stylesheet/less" type="text/css" href="../../styles/dataviz/kendo.dataviz.less"/> | |
<link rel="stylesheet/less" type="text/css" href="../../styles/dataviz/kendo.dataviz.default.less"/> | |
<script type="text/javascript" src="../../demos/mvc/content/shared/js/less.js"></script> |
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
Array.prototype.move = function (pos1, pos2) { | |
var i, tmp; | |
pos1 = parseInt(pos1, 10); | |
pos2 = parseInt(pos2, 10); | |
if (pos1 !== pos2 && | |
0 <= pos1 && pos1 <= this.length && | |
0 <= pos2 && pos2 <= this.length) { | |
// save element from position 1 | |
tmp = this[pos1]; |
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
static void Main(string[] args) | |
{ | |
var client = new StacManClient(key: "Your-key", version: "2.1"); | |
var response = client.Search.GetMatchesAdvanced("stackoverflow", | |
page: 1, | |
pagesize: 10, | |
sort:SearchSort.Relevance, | |
accepted:true, | |
title:"whatever you like to search for", | |
order: Order.Desc, |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var getters = []; | |
function getPromise(k) { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
require(devtools) | |
install_version("imager", version = "0.20", repos = "http://cran.us.r-project.org") | |
library("mxnet") | |
library(imager) | |
# can download the model from http://www.orbifold.net/default/R/MxNet/MxNetInception.zip | |
model = mx.model.load("Inception_BN", iteration=39) | |
mean.img = as.array(mx.nd.load("mean_224.nd")[["mean_img"]]) |
OlderNewer