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

Tag: statement

Shell script for, while, case statement details and case

################for loop statement structure#############
When using for loop statement, you need Specify a variable and a list of possible values, and repeat the same command sequence for each dif

October 18, 2021By Simo Unix Case, detailed, Script, shell, statementLeave a Comment

The most complete shell script statement syntax (super detailed)

Blog post outline:

Don’t talk nonsense, just use the grammar example:

Requirement①:
first name and 2. last name, and finally displayed on the screen: “Your full name is:” content:

October 18, 2021By Simo Unix all, detailed, grammar, scripting, shell, statement, super, useLeave a Comment

Regular expression – Perl if statement confusion

This code is an if statement; I want to test whether $rtgene contains trn.
I tested the code with $rtgene = nad3:

if ($rtgene!~/trn/){
$end=$data[$i][0]+100;
}
else{< br />$end =$data[$i][1]

October 17, 2021By Simo Regexp confusion, expression, perl, regular, statementLeave a Comment

Coding style – why DRY is not considered a good thing?

People who seem to never dared to cut and paste code have no problem specifying the type of things over and over again. Why not emphasize that type information should only be declared once, so that

October 15, 2021By Simo Character Coding, DRY, good things, not, statement, style, think is, type, whyLeave a Comment

HIVE common statement

1Hive Introduction Hive to me is a data warehouse based on HDFS, which provides a type of SQL language (it is basically the same as the SQL standard but has some special differences) , Allows engi

October 12, 2021By Simo Hadoop common, hive, statementLeave a Comment

SWIFT: Nested options in a single Guard statement

I tried to protect the conversion from string to Float to Int:

guard let v = Int (Float(” x”)) else {
return -1
} The swift 3 compiler complains:

value of optional type’Float?’ not unw

October 10, 2021By Simo Swift guard, nesting, option, single, statement, SWIFTLeave a Comment

SWIFT: If the Let statement is condition, you cannot use the array filter.

Suppose I have a set of usernames

let users = [“Hello”, “1212”, “12”, “Bob”, “Rob”] I want to get the first user whose name length is 2, so I filtered the array and got the first user

i

October 10, 2021By Simo Swift array, condition, filter, if, let, not, statement, SWIFT, usageLeave a Comment

Ruby – What does various parameter prefixes mean when declaring methods?

When declaring a method, what do the various prefixes of the parameters mean?

sh(*cmd, &block) What does the * before cmd mean?

What & what does it mean before the block

def foo(*

October 6, 2021By Simo Ruby meaning, method, parameters, prefix, ruby, statement, time, various, whatLeave a Comment

VB.NET – Unrecognized ‘=’ in SQL statement

I receive an error stating that the equal sign cannot be recognized. I always test my code in Access to make sure it works. Does anyone know why this is happening?

Code:

SELECT SUM(
II

October 6, 2021By Simo Visual Basic middle, SQL, statement, unable to identify, VB, VB.NETLeave a Comment

Delphi – Declaration Matrix Const

Edit my question.

I will be specific.

How to declare the following code as const instead of var?
(I can’t get the Cube example)

var
Matrix: array of array of string;
SetLength(

October 5, 2021By Simo Delphi const, Delphi, Matrix, statementLeave a Comment

Posts navigation

Page 1 Page 2 Page 3
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