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
using System; | |
public class Program | |
{ | |
public interface BaseClass | |
{ | |
string baseName {get; set;} | |
} | |
public class A : BaseClass |
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
<div class="container"> | |
<div id="example"> | |
<ul class="list-group" v-for="data in inputData"> | |
<v-input-text :value.sync="data" | |
regx-msg="請輸入數字正確格式" | |
regx="^[0-9]+$" | |
placeholder="input you text" | |
has-button="false" | |
button-word="檢查" | |
:button-event="test"/> |
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
// Component | |
var VInputText = Vue.extend({ | |
props: { | |
value: { type: String, required: true, default:'' }, | |
placeholder: { type: String, required: true, default:'請輸入資料' }, | |
maxLength: { type: Number, required: false, default:10}, | |
minLength: { type: Number, required: false, default:0}, | |
regx: { type: String, required: false, default: "" }, | |
regxMsg: { type: String, required: false, default: "格式錯誤" }, | |
hasButton: { type: Boolean, required: false, default: false }, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Image Test</title> | |
</head> | |
<style> | |
.box { | |
width: 100%; |
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
version: "3.7" | |
services: | |
leantimedb: | |
image: mariadb | |
environment: | |
MYSQL_ROOT_PASSWORD: 1qaz@WSX | |
MYSQL_USER: testtest | |
MYSQL_PASSWORD: 1qaz@WSX | |
MYSQL_DATABASE: leantime | |
networks: |
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
const { closeBrowser, openBrowser, goto, write, click, $, into} = require('taiko'); | |
(async () => { | |
try { | |
await openBrowser(); | |
await goto("https://tw.stock.yahoo.com/"); | |
// 取得熱門個股第一個股票編號, 並且搜尋 | |
var hotStockNumber = await evaluate($('#ystkhotb th a > span'), (elem) => {return elem.innerText}); | |
await write(hotStockNumber, into($("#stock_id"))); | |
await press('Enter'); | |
} catch (error) { |
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
using System; | |
namespace HamismeTemplate | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
} |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<PackageType>HamismeConsoleTemplate</PackageType> | |
<PackageVersion>1.0</PackageVersion> | |
<PackageId>Hamisme.ConsoleTemplate.CSharp</PackageId> | |
<Title>Hamisme Console Template</Title> | |
<Authors>CarterTsai</Authors> | |
<Description>The template "Console Application" was created by Hamisme(https://hamisme.blogspot.com/).</Description> | |
<OutputType>Exe</OutputType> |
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
{ | |
"$schema": "http://json.schemastore.org/template", | |
"author": "Carter Tsai", | |
"classifications": [ "Common", "Console" ], | |
"identity": "Hamisme.ConsoleTemplate.CSharp", | |
"name": "Hamisme Console Template (https://hamisme.blogspot.com/)", | |
"shortName": "hamismeconsole", | |
"sourceName": "HamismeTemplate", | |
"tags": { | |
"language": "C#", |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using DocumentFormat.OpenXml.Packaging; | |
using DocumentFormat.OpenXml.Spreadsheet; | |
namespace read_execl | |
{ | |
class Program | |
{ |