This file contains hidden or 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 workers | |
import ( | |
"context" | |
"fmt" | |
"time" | |
) | |
type Worker struct { | |
Name string |
This file contains hidden or 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
const MainC = styled.div` | |
height:100%; | |
width:100%; | |
display:grid; | |
grid-template-rows:1fr 2fr; | |
` | |
const TopBox = styled.div` |
This file contains hidden or 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
import sys | |
import os | |
import colors | |
import Logo | |
import argparse | |
import mysql.connector | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
This file contains hidden or 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
import sys | |
import os | |
import colors | |
import Logo | |
import argparse | |
import mysql.connector | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
This file contains hidden or 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
import sys | |
import os | |
import colors | |
import Logo | |
import argparse | |
import mysql.connector | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
This file contains hidden or 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
import sys | |
import os | |
import colors | |
import Logo | |
import argparse | |
import mysql.connector | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
This file contains hidden or 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
import sys | |
import os | |
import colors | |
import Logo | |
import argparse | |
import mysql.connector | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
This file contains hidden or 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
const products = [ | |
{ name: 'IPhone X', price:"700$" }, | |
{ name: 'Another Phone', price:"500$"}, | |
] | |
for(const item of products){ | |
console.log(`Name : ${item.name}, Price ${item.price}`) | |
} |
This file contains hidden or 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
// with normal variable | |
var login = true | |
login = false; | |
console.log(login) // it returns false | |
// with const variable | |
const login = true | |
login = false | |
// it returns error named Assigment to content variable. |
This file contains hidden or 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
import {earn,mymoney } from "folder/my_module.js"; | |
console.log(mymoney); | |
// Result in console : 1 | |
console.log(earn(11,5)) | |
// Result in console : 16 |