/ expression / flags
, i.e/[A-Z]+/g
basic format/ hello\?\*\\/
escape special characters with backslashes()
group with parentheses|
logical OR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<channel> | |
<title></title> | |
<itunes:author></itunes:author> | |
<description></description> | |
<itunes:image href="link to a picture"/> | |
<language>ar</language> | |
<item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
th:abbr | |
th:accept | |
th:accept-charset | |
th:accesskey | |
th:action | |
th:align | |
th:alt | |
th:archive | |
th:audio | |
th:autocomplete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="main.css"> | |
<script src="store.js" defer type="module"></script> | |
<script src="script.js" defer type="module"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @description This function generates the button required for Action Bar | |
* @author Ashish | |
* @param { Function } t => translation function | |
* @param { Object } history => contains previous state | |
* @param { Function } print => property passed from parent to print | |
* @returns { Array } buttons array of Objects | |
* @see {@link https://stackoverflow.com/users/5282407/ashish-singh-rawat } | |
* @todo Performance optimisation, removing multiple loops | |
* * BELOW ARE SOME MORE META DATA, that can be used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
public class Reshaper { | |
public int getRowsNumber(int[][] matrix) { | |
return matrix.length; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
typedef enum{false, true} bool; | |
void swap(char *a, char *b) | |
{ | |
if(!a || !b) | |
return; |
This article will take you to the next level in java. Are you ready!
This article is basically a set of examples of multiple tools provided by Java 8. Those tools have helped to make programming way more easier and optimal(even in terms of hardware resources), using a declarative approach. Hence, we don't have to tell many details, but only what we want to achieve by our code. I should highlight also the fact that this pack of tools is something that a java developer "must" know.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HttpCrudRequests { | |
async get(url) { | |
const res = await fetch(url) | |
const data = await res.json() | |
return data | |
} | |
async post(url, post) { | |
const res = await fetch(url, { |