I hereby claim:
- I am khrome on github.
- I am khrome (https://keybase.io/khrome) on keybase.
- I have a public key ASCh1KTgYzPNQMawEMQVWCBPQemHcfLe0choEKK50WwUCgo
To claim this, I am signing this object:
(function(){ //make __dirname, __filename work in the browser | |
if(window && !window['__dirname']){ | |
var stackTrace = function () { | |
var lines = (new Error()).stack.split("\n"); | |
// 0 = message, 1 = stackTrace | |
lines.shift(); lines.shift(); | |
var result = lines.map(function(line){ | |
if(line.indexOf('(native)') != -1){ | |
return { |
myen0=`ifconfig en0 | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}'` | |
if [ "$myen0" != "" ] | |
then | |
echo "LAN : $myen0" | |
else | |
echo "LAN : INACTIVE" | |
fi | |
myen1=`ifconfig en1 | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}'` | |
if [ "$myen1" != "" ] | |
then |
I hereby claim:
To claim this, I am signing this object:
<html lang="en"> | |
<head> | |
<title>Demo</title> | |
<link rel="stylesheet" href="https://early.webawesome.com/[email protected]/dist/styles/themes/default.css" > | |
<script type="module"> | |
import {discover, setBasePath} from 'https://early.webawesome.com/[email protected]/dist/webawesome.loader.js'; | |
setBasePath('https://early.webawesome.com/[email protected]/dist/'); | |
const discoverDeep = (scope = document) => { | |
discover(scope); | |
const roots = Array.from(scope.querySelectorAll('*')).map(el => el.shadowRoot).filter(Boolean); |