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
# Copyright IBM Corp. All Rights Reserved. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
--- | |
################################################################################ | |
# | |
# Section: Organizations | |
# |
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
import 'package:flutter/material.dart'; | |
import 'package:go_router_prototype/go_router_prototype.dart'; | |
buildProductRoutes(String product) => ShellRoute( | |
path: '$product/:pid', | |
builder: (BuildContext context, Widget child) => ScreenWithBottomNav( | |
product: product, | |
child: child, | |
), | |
defaultRoute: |
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
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:routemaster/routemaster.dart'; | |
buildProductRoutes(String product) { | |
final routes = <String, PageBuilder>{}; | |
routes['/home/$product'] = (_) => const Redirect('/home'); | |
routes['/home/$product/:pid'] = (_) => CupertinoTabPage( |
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
'use strict'; | |
var crypto = require('crypto'), | |
secp256k1 = require('secp256k1'); | |
var OPS = { | |
"OP_PUSHDATA1": 76, | |
"OP_PUSHDATA2": 77, | |
"OP_PUSHDATA4": 78, | |
"OP_DUP": 118, | |
"OP_HASH160": 169, |
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
<?php | |
class CaDrupalCache { | |
private $cacheTable = 'cache'; | |
private $expire = 3600; | |
public function __construct($config=array()) { | |
if(isset($config['cache_table']) && $config['cache_table'] != null) { | |
$this->cacheTable = $config['cache_table']; |