I hereby claim:
- I am sirpengi on github.
- I am sirpengi (https://keybase.io/sirpengi) on keybase.
- I have a public key whose fingerprint is DD4A 1501 C3EA 961E F29D 6CE0 8043 C5BD 77C3 C053
To claim this, I am signing this object:
// Test project with a ListView.builder where the items have an | |
// implicit animation widget (this case an AnimatedContainer, in zulip-flutter | |
// for unread-markers we're using AnimatedOpacity) and the length | |
// of items sent into the ListView are changing. This simulates in ZF | |
// where we have start and end markers that are dynamically added/removed. | |
// The addition of a 'mark as read' marker at the beginning of the list | |
// cause most animations to lose their state (and thus no longer animated, but | |
// immediately transitioned to their new state). | |
// | |
// This test project solves that by giving the items a unique key and |
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
final ScrollController scrollEndController = ScrollController(); |
from datetime import datetime, timedelta | |
from os import stat, unlink | |
import requests | |
import vcr | |
CFILE = "blah.cassette" | |
TTL = timedelta(minutes=15) | |
try: | |
cstat = stat(CFILE) |
I hereby claim:
To claim this, I am signing this object:
var evaluate = function(f) { | |
var args = copyArgs(arguments, 1) | |
if (_.isFunction(f)) { | |
return f.apply(f, args); | |
} | |
return f | |
}; |
class YOLODBType(object): | |
pass | |
def YOLODB(): | |
class val(): | |
v = None | |
def _T(f, c, g, is_root=False): | |
class T(YOLODBType): | |
def __str__(self): | |
return str(g.v) |
import time | |
def cry(): | |
print "T.T;" | |
time.sleep(1) | |
T = type('T', tuple(), {'__getattr__': lambda s, k: cry()})() | |
lonely = True | |
while lonely: |
var assert = require("assert"); | |
assert.equal( | |
({lol: 'LOL', javascript: 'JAVASCRIPT'})['lol', 'wtf', 'javascript'], | |
"JAVASCRIPT" | |
); | |
assert.equal( | |
({lol: 'LOL', javascript: 'JAVASCRIPT'})[['javascript']], | |
"JAVASCRIPT" |
module.paths.push("."); | |
var assert = require("assert"); | |
var _ = require("underscore"); | |
var Backbone = require("backbone"); | |
var FSM = require("backbone-fsm").BackboneFSM; | |
/* Implementation of a turnstile (i.e., at train station). Turnstile is | |
initially locked and won't let people through. Once a coin is | |
inserted, the turnstile becomes unlocked, and lets one person through before |
// go to http://patrickhlauke.github.io/touch/tests/event-listener.html | |
el = document.getElementsByClassName("button")[0]; | |
e = new Event("touch"); | |
e.initEvent("touchstart", true, true); | |
el.dispatchEvent(e); |