Skip to content

Instantly share code, notes, and snippets.

View abhidatta0's full-sized avatar
💭
Building

Abhirup Datta abhidatta0

💭
Building
View GitHub Profile
import React from 'react';
import {
SafeAreaView,
Text,
} from 'react-native';
const App = () => {
return (
<SafeAreaView>
<Text>Hello World</Text>
console.log(a);      
if (true) {
    var a = 10;
    console.log(a);
}
console.log(b);
if (false) {
    var b = 20;
 console.log(b);
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
@abhidatta0
abhidatta0 / A - Mysql basics.md
Last active January 11, 2025 02:27
mysql_commands

What is a database?

Any collection of related information e.g: Phonebook,shopping list, todo list etc.

Always use semicolon after commands

create database

create database DATABASE_NAME;

switch/select to a database

USE DATABASE_NAME;

@abhidatta0
abhidatta0 / 1.md
Created October 22, 2019 04:30
MongoDB notes

MongoDB meaning humongous because it can store lots and lots of data.

var greeting=function(name){
return 'Hello '+name;
}('John');
console.log(greeting);
var firstname="John";
var greeting=function(name){
return 'Hello '+name;
}('John');
console.log(greeting);
var firstname="John";
@abhidatta0
abhidatta0 / App.js
Created August 1, 2019 03:03
React Gists
//expressions and conditionals
class App extends Component {
//method of class
foo = () => 'Bars';
render() {
const name = 'John Doe';
const foo = () => 'Bar';
const loading = false;
const showName = false;
@abhidatta0
abhidatta0 / seo.html
Created July 28, 2019 04:22
Meta Tags for SEO
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- description meta-tags-->
<!-- typically upto 160 characters-->
<meta name="description" content="This is a website that teaches HTML & CSS">
<!--meta tags for responsiveness -->
<meta name="viewport" content="width=device-width,initial-scale=1">