Install analytics
and @analytics/mixpanel
with
npm install analytics @analytics/mixpanel
-- License MIT | |
-- Place in your schema & update your table name | |
-- First, make sure the pgcrypto & unaccent extension is available | |
CREATE EXTENSION IF NOT EXISTS unaccent with schema extensions; | |
CREATE EXTENSION IF NOT EXISTS pgcrypto with schema extensions; | |
CREATE OR REPLACE FUNCTION public.slugify("value" TEXT) | |
RETURNS TEXT AS $$ | |
-- removes accents (diacritic signs) from a given string -- |
Create a Google spreadsheet app script to enable Google search inside the table. I think that's not available in the app script store. If you like you can add it.
Column A contains the seachterm and column B will show the Google search result title, link & snippet.
Result will look like:
Search term | Result |
---|
Code snippets for answer to SO question
""" | |
Config Example | |
============== | |
This file contains a simple example of how the use the Kivy settings classes in | |
a real app. It allows the user to change the caption, font_size of the label and | |
application background and stores these changes. | |
When the user next runs the programs, their changes are restored. |
To run this code follow https://kivy.org/doc/stable/gettingstarted/installation.html to have a project with Kivy installed.
Next, run pip install kivymd
inside of your virtaul env.
Copy paste the code above into your project. KV files into subfolder kv
and main.py
into the root of your project.
Finally, run python main.py
const snowpack = require("snowpack") | |
const {startServer} = snowpack; | |
let server; | |
/* | |
package.json snippet for starting "snowpack dev" | |
"scripts": { | |
"start": "cross-env NODE_ENV=development snowpack build --watch", |
SNOWPACK_PUBLIC_SOME_OTHER_ENV=just a test |
const fs = require('fs'); | |
const path = require('path'); | |
module.exports = function plugin(_, {path:envPath}) { | |
const NODE_ENV = process.env.NODE_ENV; | |
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use | |
const dotenvFiles = [ | |
NODE_ENV && `.env.${NODE_ENV}.local`, | |
// Don't include `.env.local` for `test` environment |
// location: src/content-scripts/content-script-2.ts | |
// just to have an import | |
export function hello() { | |
return "Hello World"; | |
} |