Skip to content

Instantly share code, notes, and snippets.

do_bypass = False
def bypass_wait():
print('this never gets run')
do_bypass = True
bypass = widgets.Button(description='Skip')
bypass.on_click(bypass_wait)
display(bypass)
async def check_status(objects):
# current option 1
input1 = ipywidgets.Text(description="Input Label Here")
input1.observe(input_changed)
input2 = ipywidgets.Text(description="Input Label2 Here")
input2.observe(input_two_changed)
input3 = ipywidgets.Text(description="Input Label3 Here")
input3.observe(input_three_changed)
input4 = ipywidgets.Text(description="Input Label4 Here")
input4.observe(input_four_changed)
require "avro_turf"
avro = AvroTurf.new(schemas_path: ".")
=> #<AvroTurf:0x007fa44a9e72d0 @namespace=nil, @schema_store=#<AvroTurf::SchemaStore:0x007fa44a9e7258 @path=".", @schemas={}>, @codec=nil>
avro.encode({ "full_name" => "Jane", "age" => "28" }, schema_name: "person")
=> "Obj\u0001\u0004\u0014avro.codec\bnull\u0016avro.schema\xE0\u0001{\"type\":\"record\",\"name\":\"person\",\"fields\":[{\"name\":\"full_name\",\"type\":\"string\"},{\"name\":\"age\",\"type\":\"string\"}]}\u0000M\xAF\xB4\xF5%J\x83[\a\xFC{\u0013?)A\xB9\u0002\u0010\bJane\u000428M\xAF\xB4\xF5%J\x83[\a\xFC{\u0013?)A\xB9"
#
#after adding "namespace" value
var service = {};
service.findAll = function(scope) {
service.define()
.then(function(resp) {
return promiseWhile(function() { return scope.finished}, service.nextPage.bind(service, scope));
})
.finally(function(resp) {
callback(scope);
CoolService.getCool($scope.id).then(function(resp) {
$scope.cool = resp.powerLevel || 9000;
$scope.lame = resp.coolLevel || 9;
});
angular.module('app')
.factory('UserService', [
'$http',
'LocalService',
function($http, LocalService) {
var service = {};
var _id,
_token,
_profile,
clang: error: unsupported option '-V -isysroot'
..
..
clang: error: unknown argument: 'qversion'
..
..
conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated
Failure
test_test(DocControllerTest) [/local/proj/app/test/functional/docs_controller_test.rb:2]:
The recognized options <{"controller"=>"docs",
"action"=>"pdf",
"id"=>"aaaaaaa"} did not match <{"controller"=>"docs",
"action"=>"pdf",
"id"=>"aaaaaaa",
"opt"=>"blah blah"}>, difference: <{"opt"=>"blah blah"}> ...
<div ng-controller='NavController'>
<div ng-if='auth.isAuthenticated()'>
<div class='slideInLeft' ng-include='topnav'></div>
<div class='slideInLeft' ng-include='sidenav'></div>
</div>
</div>
<!-- ng/components/projects/_ana.html -->
doesn't works