Insert a document _id is a 12 bytes hexadecimal number which assures the uniqueness of every document. You can provide _id while inserting the document. If you didn’t provide then …
Devamını Oku..Internal variables
An overview of Bash’s internal variables, where, how, and when to use them. Bash internal variables at a glance VariableDetailsFunction/script positional parameters (arguments). Expand as follows$* / $@$* and $@ …
Devamını Oku..Change shell
Find the current shell There are a few ways to determine the current shell echo $0 ps -p $$ echo $SHELL List available shells To list available login shells : …
Devamını Oku..Here Documents and Here Strings
Execute command with here document ssh -p 21 example@example.com <<EOF echo 'printing pwd' echo "\$(pwd)" ls -a find '*.txt' EOF $ is escaped because we do not want it to …
Devamını Oku..Bash Script Copying (cp)
OptionDescription-a,-archiveCombines the d, p and r options-b, -backupBefore removal, makes a backup-d, –no-deferencePreserves links-f, –forceRemove existing destinations without prompting user-i, –interactiveShow prompt before overwriting-l, –linkInstead of copying, link files instead-p, …
Devamını Oku..IOS Hello World / ISO’da Ekrana Hello Word Yazdırma
After setting up Xcode, it is not difficult to get your first iOS up and running.In the following example we will: Start a new projectAdd a labelPrinting message to console.Run …
Devamını Oku..