Skip to content

Instantly share code, notes, and snippets.

Verifying that "patscott.id" is my Blockstack ID. https://onename.com/patscott
@patrickleet
patrickleet / gist:23ca8f72d425eb084baa7b9973ce3872
Last active February 16, 2024 16:24 — forked from jenkek/gist:8858278
meta tags for seo
<meta charset="UTF-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Большинство поисковых серверов отображают содержимое поля description при выводе результатов поиска. Если этого тега нет на странице, то поисковый движок просто перечислит первые встречающиеся слова на странице, которые, как правило, оказываются не очень-то и в тему." />
<meta name="Keywords" content="HTML, META, метатег, тег, поисковая система" />
<meta name="author" content="Pat Scott">
{
"env": {
"node": true,
"es6": true
},
"extends": "standard",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
{
"presets": [
["env", {
"targets": {
"node": "current"
}
}]
],
"plugins": [
["module-resolver", {
@patrickleet
patrickleet / elasticsearch_cluster.yml
Created December 14, 2017 15:56
docker stack for elasticsearch cluster
version: "3"
networks:
default:
proxy:
external: true
volumes:
~ $ docker service logs svtifpxlbxye
[email protected] | debug: [EG:gateway] Initiating Event Bus
[email protected] | info: [EG:config] Registered schema for users model.
[email protected] | debug: [EG:config] REDIS_HOST replaced in configuration file
[email protected] | debug: [EG:config] REDIS_PORT replaced in configuration file
[email protected] | info: [EG:config] Registered schema for credentials model.
[email protected] | info: [EG:config] Registered schema for applications model.
[email protected] | debug: [EG:config] ConfigPath: /usr/src/service/config/system.config.yml
[email protected] | debug: [EG:config]
047361e93acf107deafdb46d087b8dd47112ecb638b165e38a7ea310f71664ec274c82f691bf88f2e62a5337c882dc2fefb43dd93bb048d38dced12a783189b8bf
@patrickleet
patrickleet / index.mjs
Last active August 14, 2018 17:51
"differential bundling"
import log from 'llog'
import path from 'path'
import fastifyStatic from 'fastify-static'
import fastifyCompress from 'fastify-compress'
import { service } from './service'
import sdkData from './sdkData'
import UA from 'browserslist-useragent'
const { src, legacySrc } = sdkData
➜ ~ k get cm config -o yaml
apiVersion: v1
data:
config.yaml: |
branch-protection:
orgs:
jenkins-x:
repos:
dummy:
required_status_checks:
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#2d89ef">
<meta name="theme-color" content="#ffffff">