I hereby claim:
- I am zouhir on github.
- I am zouhir (https://keybase.io/zouhir) on keybase.
- I have a public key ASC9aPI__VVNU3JthEMSSotud-MfLKVyo6ewYfFZmwYZAQo
To claim this, I am signing this object:
FROM node:6.9.2 | |
# File Author / Maintainer | |
LABEL authors="Zouhir Chahoud <[email protected]>" | |
# Install app dependencies | |
COPY package.json /www/package.json | |
RUN cd /www; npm install | |
# Copy app source |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
#!/usr/bin/env bash | |
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Make sure we’re using the latest Homebrew. | |
brew update | |
# Upgrade any already-installed formulae. | |
brew upgrade |
```bash | |
npm install --save preact-habitat | |
``` | |
```js | |
import { render } from 'preact-habitat'; | |
import WidgetAwesome from './components/WidgetAwesome' | |
render(WidgetAwesome); | |
``` |
I hereby claim:
To claim this, I am signing this object:
<!-- your widget -->
<div id="external-widget-place">
<script async src="/your/widget.bundle.js"></script>
</div>
<!--// tada.. -->
<!-- another clone here please -->
<div class="clone-that-widget-here-1">
<div id="external-widget-place">
<script async src="/your/widget.bundle.js"></script>
</div>
rm -rf ~/.atom | |
rm /usr/local/bin/atom | |
rm /usr/local/bin/apm | |
rm ~/Library/Preferences/com.github.atom.plist | |
rm ~/Library/Application Support/com.github.atom.ShipIt | |
rm -rf ~/Library/Application Support/Atom/ |
// ensure no console errors or issues in older browsers | |
// check for service worker first | |
if(navigator.serviceWorker) { | |
navigator.serviceWorker.register('/sw.js' /* , options */) | |
.then(function(regsitered) { | |
console.log('yay! registered') | |
}).catch(function() { | |
console.log('oh no! somethings wrong') | |
}) |