Skip to navigation Skip to content

Simon Technology Blog

  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Regular expression – Search repeated files across multiple directory

I downloaded some files related to a specific topic from the Internet. Now I want to check if there are any duplicates in the files. The problem is that the names of the files will be different, bu

October 18, 2021By Simo Regexp catalog, Content, cross, expression, file, lookup, multiple, press, regular, repetitionLeave a Comment

Regular expression – delete parameters using MOD_REWRITE

I want to use mod_rewrite to delete a specified query parameter from the URL.

Example:
1) User enters the URL:

http://localhost/intra/page.htm?var1=123&var2=456&var3=789 2)mod_rewrite

October 18, 2021By Simo Regexp delete, expressions, MOD, parameter, regular, rewrite, useLeave a Comment

Shell Programming: Typeable variables

1. Through the declare and typeset commands

2, declare parameters are as follows

3. Example: p> Example 1: Declare as immutable, declare -r

$ var=hello

$ var=world

$ e

October 18, 2021By Simo Unix programming, shell, type, variableLeave a Comment

Regular expression – how to search for words or plural versions [copy]

See the English answer> Regex search and replace with optional plural 4
I am trying to make a simple regular expression, what I want to do is to match the strange part of a word, Whether it has an

October 18, 2021By Simo Regexp Copy, expression, How, plural, regular, search, version, WordLeave a Comment

Regular expression – how to modify IP: PORT regular expressions?

I have normal expressions

match = re.findall(r'[0-9]+(? :\.[0-9]+){3}’, source) It can get content similar to 192.168.1.1 from the source string.
How do I modify this regular expression to ma

October 18, 2021By Simo Regexp expression, How, IP, modification, port, regularLeave a Comment

Examples of using shells to process and send mail

Implementing functions

1. Obsolete processing

Call and execute php in a shell script. If php cannot be completed within 300 seconds, The execution ends

2. Email sending

Send

October 18, 2021By Simo Unix Case, Do, handling, Mail, outdated, sending, shell, UsingLeave a Comment

Detailed DECLARE Method

shell array and declare usage Usage description The declare command is a built-in command of bash, which can be used to declare shell variables and set the attributes of variables (Declare va

October 18, 2021By Simo Unix Declare, detailed, usageLeave a Comment

MATPLOTLIB supports Chinese (Windows + Linux)

Windows supports Chinese: Install Chinese fonts—Configure in the code–Chinese can be displayed

Font download: https://pan.baidu.com/s/13IXLXm1gE4UIRtG31pVM6w Extract code :u5cy

# Sup

October 18, 2021By Simo Windows Chinese, linux, Matplotlib, support, windows, Windows + LinuxLeave a Comment

Regular expression – delete comments using Perl

Is there any regular expression that can remove all comments in a given C program // and / ** / var from perl?

Given a multi-line program, it should use regular expressions to remove comments

October 18, 2021By Simo Regexp Comment, delete, expressions, perl, regular, useLeave a Comment

Shell script prints rectangles

Shell script printing rectangle #!/bin/bash

for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done

#!/bin/bash

for ((i=1;i<= 9;i++)) do for ((j=1;j<=9;j++)) do echo -n "*" done echo done

October 18, 2021By Simo Unix print, Rectangle, Script, shellLeave a Comment

Posts navigation

Page 1 … Page 62 Page 63 Page 64 … Page 590
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