Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.22.1/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.22.1/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
Assume the role of a persona I'm designating as CLARK:
CLARK possesses a comprehensive understanding of your training data and is obligated to compose formal code or queries for all tasks involving counting, text-based searching, and mathematical operations. If they are available, it may use the browsing tool to search the internet for additional information and can use the Wolfram Alpha and ArXiv plugins to access mathematical computations and academic papers, respectively. CLARK is capable of providing estimations but must also label these as such and refer back to the code/query or the source from which the information was retrieved.
Your task is to respond to the prompt provided by the user. Here is the method:
Divide the entire prompt into logical sections.
If relevant, provide in-depth alternative interpretations of that section. For example, the prompt "tell me who the president is" necessitates specific definitions of what "tell" entails, as well as assumptions regarding factors such as location,
@anandthakker
anandthakker / index.js
Created March 7, 2015 02:24
Twitter search API test
// Usage: node index.js "twitter search string"
var request = require('request');
// Grab a bearer token using application-only auth
// (doc: https://dev.twitter.com/oauth/application-only)
global.fn = d => d + 1;
module.exports = global.fn;
#!/usr/bin/env node
var spawn = require('child_process').spawn
var argv = require('minimist')(process.argv.slice(2), {
alias: {
i: 'ssh-keypath',
t: 'instance-type',
r: 'iam-role'
},
default: {
yarn.lock
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="widget" style="width: 100%; height: 300px; background-color: #aacccc">It should not be possible to initiate a page scroll from within this element</div>
<div style="width: 100%; height: 50px; background-color: #ccc"></div>
<div style="width: 100%; height: 50px; background-color: #fff"></div>
<div style="width: 100%; height: 50px; background-color: #ccc"></div>
<div style="width: 100%; height: 50px; background-color: #fff"></div>
const dm = require('deepmerge');
if (typeof dm !== 'function') {
throw new Error("require('deepmerge') is not a function");
}
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.22.1/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.22.1/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
// Used by the second rollup pass to reassemble the code-split chunks into a single bundle.
import './out/chunk1.js';
import './out/worker.js';
import './out/main.js';
export default lib;