This file contains 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
var Discord = require('discord.io'); | |
var Request = require('request'); | |
var trsrv_opts = { | |
host: 'mymemory.translated.net', | |
port: 80, | |
path: '/api/get' | |
} | |
var discord_opts = { |
This file contains 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
--------------------------------------------------------------------------- | |
ValueError Traceback (most recent call last) | |
<ipython-input-6-d4150d0aed19> in <module>() | |
----> 1 _=deepdream(net, img) | |
<ipython-input-4-975ec2ad7030> in deepdream(net, base_img, iter_n, octave_n, octave_scale, end, clip, **step_params) | |
1 def deepdream(net, base_img, iter_n=10, octave_n=4, octave_scale=1.4, end='inception_4c/output', clip=True, **step_params): | |
2 # prepare base images for all octaves | |
----> 3 octaves = [preprocess(net, base_img)] | |
4 for i in xrange(octave_n-1): |
This file contains 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
<? | |
class Stuff | |
{ | |
private $theThing | |
function setTheThing($value) { $this->thething = $value; } | |
function getTheThing() { return $this->thething; } | |
} |
This file contains 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
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
awful.rules = require("awful.rules") | |
require("awful.autofocus") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
-- Theme handling library | |
local beautiful = require("beautiful") | |
-- Notification library |