Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: pattern

XML pattern unique child elements

I am trying to verify whether the parent element has a unique child element by element name.
I also need to verify that there is at least one possible element.

Example

It will work but

October 21, 2021By Simo XML Child, element, pattern, Unique, XMLLeave a Comment

Mode matching – un paid flex record (you need to know the name of all fields in this context)

I have been trying to create a function with a list of tuples as parameters, but I keep getting the error: “Unparsed flex record (need to know the names of all fields in this context)” My code is:<

October 20, 2021By Simo Flex all, Field, Flex, know, match, Name, need, pattern, Record, Text, unfair, upper and lowerLeave a Comment

Coding mode C #

A few days ago I encountered some code that looked like this during the code review.

public void DoSomeTasks( )
{
if (CheckSomeState()==true) return;
DoTaskOne();
if (CheckSomeState()==tru

October 15, 2021By Simo Character C #, Coding, patternLeave a Comment

Ruby – Display error mode

In my code, I usually use the following settings:

module MyLib
VERSION = “0.1 .1”
ERROR = [
“You can either give one arg and a block or two args, not both.”,
“Yadda yadda…”
]< br />end

October 6, 2021By Simo Ruby display, error, pattern, rubyLeave a Comment

C # Standard IDSPOSE mode

.net’s GC mechanism has two problems: First, GC cannot release all resources, and it cannot release unmanaged resources. Secondly, GC is not real-time, and all GCs are uncertain.
In order to solve

October 4, 2021By Simo C# Accurate, C #, idispose, pattern, winning bidLeave a Comment

C # Static class single case mode comparison

The company’s classes need to be implemented in a singleton mode, which can save resources and avoid the generation of duplicate objects. But the static class can also do this, and it is more conci

October 4, 2021By Simo C# C #, class, comparison, example, pattern, single, staticLeave a Comment

C # Design mode: Interpreter mode (Interpreter Pattern)

One, C# design pattern: Interpreter Pattern

1, the application of interpreter pattern is the difficulty in the application of Interpreter pattern, only to meet the “frequent changes in busine

October 4, 2021By Simo C# C #, design, interpreter, patternLeave a Comment

Design mode – decorator mode

Define
The decorator pattern dynamically attaches responsibility to the object. To extend functionality, decorators provide a more flexible alternative than inheritance.
Implementation points

October 3, 2021By Simo Software Design decoration, design, patternLeave a Comment

Design mode – Enjoyment mode

1. What is Flyweight Pattern

Flyweight Pattern is mainly used to reduce the number of objects created to reduce Memory usage and improved performance. This type of design pattern is a struct

October 2, 2021By Simo Performance design, enjoy, mode, pattern, YuanLeave a Comment

Compilation – How to access USB ports through BIOS in 16-bit X86 real mode?

I am a newbie in the conference world,

I am trying to write some assembly code to communicate with hardware devices, such as serial, parallel, VGA, Keyboard and so on.

I am using the re

September 24, 2021By Simo Motherboard Access, BIOS, bit, compilation, How, pattern, port, real, USB, x86Leave a Comment

Posts navigation

Page 1 Page 2
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress