Skip to content

Instantly share code, notes, and snippets.

# OpenClaw Implementation Prompts
Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter.
---
## 1) Personal CRM Intelligence
```
Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach.
@hashg
hashg / webdev_online_resources.md
Created July 9, 2021 19:06 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@hashg
hashg / .eslintrc.js
Created May 12, 2020 02:31 — forked from tracker1/.eslintrc.js
eslint-prettier
module.exports = {
parser: 'babel-eslint',
extends: ['plugin:prettier/recommended', 'prettier/react'],
plugins: ['prettier', 'jest'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
ecmaFeatures: {
jsx: true,
},
@hashg
hashg / dummy-web-server.py
Created May 4, 2020 22:43 — forked from bmcculley/dummy-web-server.py
a minimal http server in python (2/3). Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
"""
Very simple HTTP server in python.
Usage::
./dummy-web-server.py [<port>]
Send a GET request::
curl http://localhost
@hashg
hashg / README.md
Created May 4, 2020 22:41 — forked from nitaku/README.md
Minimal JSON HTTP server in python

A minimal HTTP server in python. It sends a JSON Hello World for GET requests, and echoes back JSON for POST requests.

python server.py 8009
Starting httpd on port 8009...
curl http://localhost:8009
{"received": "ok", "hello": "world"}
@hashg
hashg / Readme.md
Last active November 20, 2019 22:38 — forked from shiningnicholson95/SetupGuide.md
Smarthub setup

Initial Setup Guides

SmartHub

Installing Node.js

  1. Node.js is essential for the project. Download it here: https://nodejs.org/en/. Download the LTS version.
  2. Install n. It maintains the version of node.js from time to time.
  3. In your terminal install nodemon. Nodemon is an npm package.
  4. Run the command: npm install nodemon –g

Above command installs the nodemon globally.

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
firstName: 'Alex',
lastName: 'Matchneer',
fullName: auto(get =>
@hashg
hashg / index.html
Created February 9, 2017 06:07 — forked from nolanlawson/index.html
pouchdb-load example
<html>
<body>
<pre id="display"></pre>
<script src="pouchdb.js"></script>
<script src="pouchdb.load.js"></script>
<script>
var db = new PouchDB('turtles');
db.get('_local/preloaded').catch(function (err) {
if (err.status !== 404) {
throw err;
@hashg
hashg / components.chat-box.js
Created January 26, 2017 08:14 — forked from samselikoff/components.chat-box.js
Sticky Chatbox - Ember In Viewport
import Ember from 'ember';
export default Ember.Component.extend({
classNames: 'chat-box',
didRender() {
if (this.get('isScrolledToBottom')) {
this.$('ul')[0].scrollTop = this.$('ul')[0].scrollHeight;
}
@hashg
hashg / gist:c9a5fcc9a85795b969c6
Last active August 29, 2015 14:06 — forked from marbemac/gist:06c5040e4d71694f07b3
Ember Data serializer example
// API return format is as so:
// {
// data: [
// {
// name: 'foo'
// },
// {
// name: 'bar'
// }
// ]