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
# ----------------------------------------------------------- | |
# data_migration_test_base.py | |
# ----------------------------------------------------------- | |
from importlib import import_module | |
from django.test import TestCase | |
class DataFixTestCaseBase(TestCase): |
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
<style> | |
body { | |
font: 15px/1.5 Monaco, MonoSpace; | |
color: #005f9e; | |
} | |
a, a:hover { | |
color: #FF3A67; | |
} |
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
# Definition for singly-linked list. | |
class ListNode: | |
def __init__(self, x): | |
self.val = x | |
self.next = None | |
class SolutionIterative: | |
def reverseList(self, head: ListNode) -> ListNode: | |
prev, node, next = None, head, None |
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
export default (client) => ({ dispatch }) => (next) => async (action) => { | |
if (!action.types || | |
action.types.length !== 3 || | |
!action.method || | |
!action.data | |
) { | |
return next(action) | |
} | |
const { |
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
export default () => 'bar' |
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> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.scroll-wrapper { | |
/* -webkit-overflow-scrolling: touch; */ | |
/* overflow-y: scroll; */ |