atlas news
    
IslandTropicaMan
18  août     12h49
How to use case sensitive version of comparison in power shell
IslandT    If you want to compare words with case sensitive version of Power Shell then used the -ceq operator for example,
28  avril     13h01
Create multiple assignments in PowerShell
IslandT    The below code will create multiple assignments in PowerShell a, b, c 1, 2, 3
04  mars     04h25
How to compile and run c program in visual studio code
IslandT    Visual Studio Code is an IDE that allows programmer to create many types of programming language, c, c , c sharp and many more. In this post I am going to show you how to create a c program, compile and then run it in visual studio code. Follow the below steps& 1) Create an empty...Read More How to...
02  février     02h04
How to print numbers from a range in Kotlin
IslandT    The below Kotlin program will print numbers from 1 till 10 in each new line. fun main() (1..10).forEach(::println) The kotlin outcome is as follows: 1 2 3 4 5 6 7 8 9 10 As you can see, the new range object has the for each function which itself accepts the println function...Read More How to print...
01  octobre     02h54
How to output words on a Power Shell screen?
IslandT    In order to output words on the PowerShell screen all you need to do is to type in below cmdlet follows with the words inside the . Write-Output Hello World which will generate the below output Hello World
24  janvier     09h34
How to search multiple lines with Python?
IslandT    Often you will want to search for words or phrase in the entire paragraph and here is the python regular expression code which will do that. pattern re.compile(r’ w ( w ) ( w )’, re.M) We use the re.M flag which will search the entire paragraph for the match words. Now let us try out the program...
11  juillet     05h13
Extract Twitter username with python
IslandT    Below simple code will extract the Twitter username from text using python re module. import re # Extract the username without pattern re.compile(r’(? B )[ w ] ’) gad pattern.findall( hello mr gadgets ) print(f’Hi, gad ’) # Hi, [’gadgets’] The Twitter username only allows words, numbers...
14  mars     03h49
Python Example Group telephone number using the re module
IslandT    Below Python example will use the re module to group the telephone number without the - sign and the period .’. Let’s say the phone number has been written in this manner. 123-456-7810. The below python program will group the numbers by taking out both the - sign and .’. find re.compile(r’ d (? - ....
20  février     11h25
Java ArrayDeque example
IslandT    Below Java program will use ArrayDeque to keep a collection object and then prints those elements out in descending order. import java.util. ; public class Reading public static void main(String[] args) ArrayList String books new ArrayList String (); books.add( Hello USA ); books.add( Roof Top...
19  janvier     06h08
Accept pipeline object from a function in Power Shell
IslandT    The below power shell function will accept a pipeline object and display it on the command prompt. function GetValueFromPipeline param([Parameter(ValueFromPipeline true)] hello) hello Hello GetValueFromPipeline Hello By setting the ValueFromPipeline property of a parameter to true a function...