Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View anirudhjain75's full-sized avatar
🏠
Working from home

Anirudh Jain anirudhjain75

🏠
Working from home
  • New Delhi
View GitHub Profile
GIT_VERSION=v0.4.0-beta.4
GIT_COMMITSHA=872558385ac096da417be24afaff029a5b0c9b34
cd cmd; go clean; pwd && rm meshery; go mod tidy; go build -tags draft -a -o meshery; \
SAAS_BASE_URL=https://meshery.layer5.io \
PORT=9081 \
DEBUG=true \
ADAPTER_URLS="mesherylocal.layer5.io:10000 mesherylocal.layer5.io:10001 mesherylocal.layer5.io:10002 mesherylocal.layer5.io:10003 mesherylocal.layer5.io:10004 mesherylocal.layer5.io:10008" \
./meshery; \
cd ..
/Users/cyna/Projects/meshery/cmd
import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import { Home } from './Home';
import { About } from './About';
import { Contact } from './Contact';
import { NoMatch } from './NoMatch';
import { Layout } from './components/Layout';
import { NavigationBar } from './components/NavigationBar';
import { Jumbotron } from './components/Jumbotron';
import hansfreeForWebsite from 'handsfree-for-website';
@anirudhjain75
anirudhjain75 / context.js
Created July 16, 2020 18:11
Handsfree for website module
const setup = () => {
console.log('from setup');
};
const teardown = () => {
console.log('from teardown');
};
const action = () => {
const synth = window.speechSynthesis;
public class Solution {
public static int[][] mainMap;
public static int yTarget;
public static int xTarget;
public static int minDist;
// Depth First Search : Traverse through the matrix
public static void traverse(boolean[][] visited, int y, int x, int numberOfJumps, boolean broken) {
# %% [markdown]
# # Real Time Medical Mask Detection
# %% [markdown]
# Import Statements
import os
import cv2
import matplotlib.pyplot as plt
import xmltodict
/*
* Copyright (C) 2016 Ben Ockmore
* 2016 Sean Burke
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
async function deleteRelationships(orm, transacting, mainEntity) {
const mainBBID = mainEntity.bbid;
const {relationshipSet} = mainEntity;
const otherBBID = [];
const otherEntities = [];
if (relationshipSet) {
relationshipSet.relationships.map((relationship) => {
if (relationship.sourceBbid === mainBBID) {
otherBBID.push(relationship.targetBbid);
<!DOCTYPE html>
<html>
<head>
<title>THEME</title>
<style>
header{
background: rgb(158, 135, 135);
display: flex;
flex-direction: row;
justify-content: space-between;
<!DOCTYPE html>
<html>
<head>
<title>THEME</title>
<style>
header{
background: rgb(158, 135, 135);
display: flex;
flex-direction: row;
justify-content: space-between;
package main
import (
"fmt"
)
func main() {
fmt.Println("Rotate Leetcode 58")
a := [][]int{{5,1,9,11},{2,4,8,10},{13,3,6,7},{15,14,12,16}}
rotate(a)