I hereby claim:
- I am spencerbeggs on github.
- I am spencerbeggs (https://keybase.io/spencerbeggs) on keybase.
- I have a public key ASCNQ3-ZdGIQfztx5tBQWGFM8jEBZWF2ujgww0Ybh11zYwo
To claim this, I am signing this object:
export const greeting = (name) => { | |
return `hello, ${name}!`; | |
} |
I hereby claim:
To claim this, I am signing this object:
<?xml version='1.0' encoding='UTF-8' ?> | |
<?charles serialisation-version='2.0' ?> | |
<charles-export> | |
<proxyConfiguration> | |
<enableSOCKSProxy>false</enableSOCKSProxy> | |
<dynamicHTTPPort>false</dynamicHTTPPort> | |
<dynamicSOCKSPort>false</dynamicSOCKSPort> | |
<enableSOCKSTransparentHTTPProxying>true</enableSOCKSTransparentHTTPProxying> | |
<port>7777</port> | |
<SOCKSPort>8889</SOCKSPort> |
Below is a walkthrough of that gets a developer working on a Mac a useable local environment.
If you are using a Mac, you should first install Xcode from the App Store. Once it is installed, open it, accept the EULA. Next you can install Xcode Commandline Developer Tools:
xcode-select --install
If you aren't on a Mac, just make sure you have a gcc compiler available on your system.
@font-face { | |
font-family: "I Made Up This Name"; | |
src: url(https://fonts.gstatic.com/s/librefranklin/v1/PFwjf3aDdAQPvNKUrT3U7zi6aZXXSmqDXSFqcYJu3PE.ttf) format("truetype"); | |
unicode-range: U+30-39; | |
} | |
body { | |
font-family: "I Made Up This Name", arial, san-serif; | |
} |
import { myObject } from "./module.js"; | |
// myObject is the SAME object you created on line 1 of module.js | |
// if you change the value of foo, it will change everywhere you imported it | |
export function bar() { | |
console.log("bar"); | |
} | |
export function bar2() { | |
console.log("bar2"); | |
} |
<figure class="op-tracker"> | |
<iframe hidden> | |
<script> | |
PARSELY = { | |
autotrack: false, | |
onload: function() { | |
PARSELY.beacon.trackPageView({ | |
urlref: 'http://facebook.com/instantarticles' | |
}); | |
return true; |
let files = fetch(urlToFolder).then(res => { | |
if (res.status === 200) { | |
return res.text(); | |
} | |
}).then(body => { | |
return urls = parseBody(body); | |
}).then(urls => { | |
return map.urls(url => fetch(url)); | |
}); |
var fs = require("fs"); | |
var path = require("path"); | |
function loadFile(filePath) { | |
return new Promise((resolve, reject) => { | |
console.log(filePath); | |
fs.readFile(filePath, { | |
encoding: "utf-8" | |
}, (err, data) => { | |
if (err) { |