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
| import streamlit as st | |
| name = st.text_input('Your name') | |
| st.write("Hello,", name or "world") |
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
| function ghq-new() { | |
| HUB_CREATE_OPTS="" | |
| OPTIND_OLD=$OPTIND | |
| OPTIND=1 | |
| while getopts "p" opt; do | |
| case "$opt" in | |
| p) | |
| HUB_CREATE_OPTS="${HUB_CREATE_OPTS} -p" | |
| ;; |
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
| import { createStore } from 'redux'; | |
| import expect from 'expect'; | |
| // Reducer definition | |
| const counterReducer = (count = 0, action) => { | |
| switch( action.type ) { | |
| case 'INCREMENT': | |
| return count + 1; | |
| default: |
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
| module axi_simple_read_bfm #( | |
| parameter integer C_M_AXI_ID_WIDTH = 1, | |
| parameter integer C_M_AXI_DATA_WIDTH = 32, | |
| parameter integer C_M_AXI_ADDR_WIDTH = 32, | |
| parameter integer QUEUE_LEN = 6 | |
| )( | |
| input wire m_axi_aclk, | |
| input wire m_axi_aresetn, | |
| input wire m_axi_arvalid, | |
| output reg m_axi_arready, |