file The following is the effect of the read outHere is the complete processing script for the above operationCls$files=Get-ChildItem "F:\TestPowerShell"-Recurse-Include*. Txtforeach ($file inch$files) #遍历文件 {$linenumber= 0#获取当前文件的内容 $content=Get-Content $file. Pspath #打印出来文件名称 Write-Host "******************the Write-Host $fileWrite-Host "******************the #遍历文件的每一行信息 foreach ($lineinch$content) {#打印出来文件的每一行信息 Write-Host $line #这里当然可以继续处理, such as continue to do other processing for the cu
Plugin Description: Tree-view-finderModifying a directory tree is similar to a Mac OS finder-Display file size and file modification date and file size in the directory tree-can be arranged according to the file name/size/File modification date-double-click the file to open the file you want to edit by invoking an external editorInstallation and useTwo methods of installation
apm install tree-view-finder
Atom->settings (Setup)->install (Setup)-Search tree-view-finder - recommended
function Shortcut keysGlobal single-Step return F7Global single-Step skip F6Global single-step jump into F5Global single-Step jump selection Ctrl+f5Global Debug Last started F11Global Continue F8Global use filters to step SHIFT+F5Global Add/Remove breakpoints Ctrl+shift+bGlobal Display Ctrl+dGlobal Run last boot ctrl+f11Global Run to row ctrl+rGlobal Execution Ctrl+uThe following shortcut keys are commonly used in refactoring,I like and commonly used to tidy up (note: The General refactoring of
exception object (as defined in Throwable) can get the suppressed exception.The exception declaration thrown in the method can be a collection of all the specific subclass exceptions that may be thrown when the other method is called with the exception type thrown.Traditional I/O:I/O (traditional I/O, non-NIO) needs to switch between the application (user state) and the operating system (kernel state).Buffering improves performance by reducing the number of transitions between programs and exte
Common SSH Utility Commands
1. Statistics of current directory filesFind. -type F-print |wc-l2. Packing and compressingCompressed TAR-CJVF xxxx.tar.bz2 xxxx (folder)Extract Tar Xvjf xxxx.tar.bz23. Foldercd[Directory name] conversion pathCd.. Return to Parent DirectoryLS shows all files in current directory-PWD Show Current Path-mkdir xxxx New Folder4. View folder sizeDu-s xxxx by kbDu-sh xxxx Press M5. Delete Files-rm [file] Delete files/folders$RM-F
Problem:
Windows2000 system, first loaded vs. NET, and then install IIS, and the problem arises:
(1) ASP in IIS. NET tab page is not open. Says memory is read-only.
(2) with vs. NET built ASP. NET project, the native Web server is said to run the ASP. NET is not 1. 1 version.
--------------------------------------------------------------------------------
Solution:
Re-register IIS
Run C:windowsmicrosoft.netframeworkv1.1.4322aspnet_regiis.exe-i
Do not bind IIS and IP, write a batch file every tim
1, the implementation of the Sourse directory part of the file (the file name is listed as a text list, text file name list), copied to another directory/opt/targe/#!/bin/bashcd/opt/source for file in ' cat/opt/source/list ';d ocp-r-n $file/opt/targe/doneNote: "On the TAB key, the cp-n represents not overwritten."Extended scp-p Port number [email protected]:/opt/source//opt/targe/2.#!/bin/bashfor str in 1 2 3 4 5do echo-e "The value is: $STR \ n" DoneOutputThe value is:1 the value is:2 the value
segmentsdownload individual or multiple files in your own network disk./bd.py d http://pan.baidu.com/disk/home#dir/path=/path/to/filename1 http://pan.baidu.com/disk/home#dir/ Path=/path/to/filename2. or./bd.py d/path/to/filename1/path/to/filename2. recursively download individual or multiple folders in your own network disk./bd.py d-r http://pan.baidu.com/disk/home#dir/path=/path/to/directory1 http://pan.baidu.com/disk/home# Dir/path=/path/to/directory2. or./bd.py d-r/path/to/directory1/path/t
1, judge whether the data is legal or existDetermine whether the data is legitimate or existsfunction Isnotnull (data){if (data = = = "" | | data = = Undefined | | data = = NULL) //absolute equals in this case, guaranteeing the exact consistency of the type and data. Select "= =" as neededreturn false;Elsereturn true;}2. Get the current date time format "Yyyy-mm-dd HH:MM:SS"//Gets the current DateTime format "Yyyy-mm-dd HH:MM:SS"function Getnowformatdate () {var date = new Date ();var seperator1
, including their type, name, and other contextual information.
Helpndoc:helpndoc is used to create help document tools that can generate multiple formats based on the document source.
Other
Filezilla:filezilla is an open source FTP tool. The FileZilla client can upload files to the FTP server.
Treetrim:treetrim is a tool to adjust the code, can delete some invalid debug files and temporary files and so on.
Browserstack: Tools that support cross-browser testing.
Bugshooti
it is a file. Valid in Unix,windows. Os.renames (old, new) recursively renames a folder or file. Like rename ()#Shutil Moduleshutil.copyfile (SRC, DST) is copied from source Src to DST. The premise is, of course, that the destination address has writable permissions. The exception information thrown is IOException. If current DST already exists then it will be overwritten shutil.move (SRC, DST) move file or rename Shutil.copymode (SRC, DST) just copy its permissions other things will not be cop
Iis+php+mysql+zend OPTIMIZER+GD Library +phpmyadmin installation configuration [Full revision utility]
First, software preparation: The following are the latest official version as of 2006-1-20, the download address is also valid for a long time1.PHP, recommended PHP4.4.0 zip version:
PHP (4.4.0):
Http://cn.php.net/get/php-4.4.0-Win32.zip/from/a/mirror
PHP (5.1.2):
Http://cn.php.net/get/php-5.1.2-Win32.zip/from/a/mirror
2
describes all of these files (you can create your own detail file; otherwise, the JAR program will do the same for us). In the online user documentation, you can find more information on the JAR details list (the English for the details is "Manifest").The Jar utility is available with the sun's JDK and can be automatically compressed as we choose. Please call it at the command line:
jar [Options] description [Detail list] input file
Where options a
Tags: solve is to verify address building environment management contains binding issuesIn this article we build our code based on the architecture diagram. According to the micro-service design idea, combining some excellent projects of spring cloud, such as service discovery, governance, configuration management, routing load, security control and other excellent solutions, using MAVEN technology to modular, service, atomization encapsulation and build, also for the post-grayscale publishing,
() functionUse the left function to return the character in the string, as follows.SELECT left (' Football ', 4); "" Foot "" "13.RIGHT () functionUse the right function to return the character to the left of the string and enter the following statement.SELECT right (' Football ', 4); "" "" Ball14.LTRIM () functionUse the LTrim function to remove the space to the left of the string and enter the following statement.SELECT LTRIM (' book ');15.RTRIM () function (corresponding to the above)16.STR (
the function and assign to the previously established hidden item;4) create a dynamic action on page load at apex, execute the JavaScript script, The pseudo-code for the approximate process is as follows:
1. Get the value of hidden itemvar cond = $v (' p1_condition '); $v function to get the value of an item2. Comparison criteriaif (cond = ' ABCD ') {3. Get report Columnsvar Col1array = $ (' input[name= "f02"] '); Use jquery selector to get a column of a reportcol2, col3 for column
Label: CREATE FUNCTION [dbo]. [Varcharmax2table]
(
@value varchar (MAX),
@separator varchar (255)
)
RETURNS TABLE
as
RETURN
SELECT LTRIM (RTRIM (b.value)) value
from (SELECT CONVERT (XML, ' Suppose to query the city, the argument is a string, such as ' Beijing, Shanghai, Guangzhou, Shenzhen ' Select * from table1
where inch Select from Mtnoh_aaa_platform.dbo. Varcharmax2table (' Beijing, Shanghai, Guangzhou, Shenzhen ', ')) SQL
Label:Personal feeling the switch from the Windows platform to the Linux platform is an inappropriate place to use the debugger. Because under the Windows debugger basically relies on the shortcut key and the image interface to complete the operation, even if is WinDbg this kind of pseudo command line tool, the command is also very simple to remember.GDB, by contrast, is very complicated, and some of the GDB articles found on the web are often made with no eggs, so open a post to keep track of t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.