Skip to content

Instantly share code, notes, and snippets.

View subeshb1's full-sized avatar
👹
Learning and Innovating

Subesh subeshb1

👹
Learning and Innovating
View GitHub Profile
@subeshb1
subeshb1 / gist:3bc0d1592f58ee4ddabe492e90f87941
Created April 18, 2018 05:59
A Collection of AI related stuffs
https://www.kaggle.com/
https://treeleaf.ai/about.html
https://ai.google/
do you trust this computer

Protocol Stack

1. Application Layer

1. TELNET

The TELNET protocol provides a standardized interface, through which a program on one host (the TELNET client) may access the resources of another host (the TELNET server) as though the client were a local terminal connected to the server.

2. FTP (File Transfer Protocol)

@subeshb1
subeshb1 / webdev_online_resources.md
Created July 17, 2018 06:21 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
#! /bin/bash
# Session Name
SESSION_NAME="FLOW"
# Creating SESSION
tmux new -d -s $SESSION_NAME
tmux set -g remain-on-exit on
# Different Apps as Windows
WINDOWS=("DATABASES" "CP" "WP" "DISPATCHER" "GOLDFISH" "AUTOFILL")
# Starting PATH for each WINDOW
class Timer extends React.Component {
constructor(props) {
super(props);
this.state = {
count: 0
};
}
componentDidMount() {
this.interval = setInterval(() => {
import React, { useState } from 'react';
function Counter() {
const [count, setCount] = useState(0);
return (
<div>
<p>{count}</p>
<button onClick={() => setCount(count + 1)}>
Click me!
</button>
function HookTimer() {
const [count, setCount] = useState(0);
useEffect(() => {
const interval = setInterval(() => setCount(count => count + 1), 1000);
return () => clearInterval(interval);
}, []);
return (
<div>
@import url("https://fonts.googleapis.com/css?family=Bitter|Bree+Serif");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Bitter", serif;
}
body {
background-color: #faa74a;
import numpy as np; np.random.seed(0)
import seaborn as sns; sns.set()
import pandas as pd
df = pd.read_csv("data.csv")
# print(df)
df = df.pivot_table(values='data', index=['name'],columns=['frame'])
# print(df)
df.columns.str.strip()
cmap = sns.color_palette("Reds")
uniform_data = np.random.rand(10, 12)