Designed by: Mauricio Bucardo
Original image: https://dribbble.com/shots/5619509-Animated-Tab-Bar
You can use this menu in your projects. It also works with 100% width and reacts to changing the size of the window :)
| # These two lines (3 and 4) will create the install location and change working directory. You can change the location or rename as needed. | |
| # The location in both lines MUST match | |
| mkdir C:\Users\Public\pip-instaloader | |
| cd C:\Users\Public\pip-instaloader | |
| # The next line will install the latest version of Python. Remove or comment out the line if you already have the latest version. | |
| winget install Python | |
| # Setting execution policy to allow Activation.ps1 script | |
| Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser |
| cloud: | |
| config: | |
| fail-fast: false |
Designed by: Mauricio Bucardo
Original image: https://dribbble.com/shots/5619509-Animated-Tab-Bar
You can use this menu in your projects. It also works with 100% width and reacts to changing the size of the window :)
| BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
| String lines = br.readLine(); | |
| String[] strs = lines.trim().split("\\s+"); | |
| for (int i = 0; i < strs.length; i++) { | |
| a[i] = Integer.parseInt(strs[i]); | |
| } |
Windows PowerShell has several transition aliases that allow UNIX and CMD users to use familiar command names in Windows PowerShell. The most common aliases are shown in the table below, along with the Windows PowerShell command behind the alias and the standard Windows PowerShell alias if one exists.
| CMD Command | UNIX Command | PowerShell Command | PowerShell Alias |
|---|---|---|---|
| dir | ls | Get-ChildItem | gci |
| // Java method for fibonacci sequence using recursion | |
| public static int fibonnaci(int num) { | |
| num = (num < 2) ? num : (fibonnaci(num - 1) + fibonnaci(num - 2)); | |
| return num; | |
| } |
| object HelloWorld extends App { | |
| println("Hello world!") | |
| } |
| URL url; | |
| InputStream is = null; | |
| DataInputStream dis; | |
| String line; | |
| try { | |
| url = new URL("http://stackoverflow.com/"); | |
| is = url.openStream(); // throws an IOException | |
| dis = new DataInputStream(new BufferedInputStream(is)); |
| public class ForWhile { | |
| int X = 10; | |
| public static void forLoopExample() { | |
| for (int i = 0; i <= X; i++) { | |
| System.out.println(i); | |
| } | |
| } | |
| <dependency> | |
| <groupId>org.web3j</groupId> | |
| <artifactId>core</artifactId> | |
| <version>3.3.1</version> | |
| </dependency> |