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
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 |
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
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'; |
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
const setup = () => { | |
console.log('from setup'); | |
}; | |
const teardown = () => { | |
console.log('from teardown'); | |
}; | |
const action = () => { | |
const synth = window.speechSynthesis; |
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
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) { |
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
# %% [markdown] | |
# # Real Time Medical Mask Detection | |
# %% [markdown] | |
# Import Statements | |
import os | |
import cv2 | |
import matplotlib.pyplot as plt | |
import xmltodict |
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
/* | |
* 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, |
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
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); |
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> | |
<head> | |
<title>THEME</title> | |
<style> | |
header{ | |
background: rgb(158, 135, 135); | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; |
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> | |
<head> | |
<title>THEME</title> | |
<style> | |
header{ | |
background: rgb(158, 135, 135); | |
display: flex; | |
flex-direction: row; | |
justify-content: space-between; |
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 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) |
NewerOlder