Skip to content

Instantly share code, notes, and snippets.

@vuldin
vuldin / default.prop
Last active December 22, 2015 18:29
Install latest dev build of FxOS on ZTE Open
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.usb.serialno=full_inari
persist.sys.usb.config=adb
@vuldin
vuldin / image-mgmt.md
Created June 20, 2017 18:03
Describe image management plans

Image management

Wordpress handles media in a very simple way. Users can upload media, and then the media can be inserted into posts. This doesn't allow for many tasks and capabilities:

  • lack of metadata management
  • choosing appropriate images when sharing associated post to social media
  • pulling featured images from CDN

components

  • CDN
@vuldin
vuldin / plans-for-launch.md
Created June 22, 2017 19:35
towards v1.0
  • have a design similar to https://aeon.co
  • list articles
  • feature an article on the front page at the top, according to wordpress' feature category (if multiple articles are in the featured category then we could randomly choose one, or always choose the most recent article)
  • have SEO enabled for all pages
  • links for social media sharing. When sharing to sites like reddit/twitter/facebook, the user can choose between images relevant to the article as well as our organization
  • responsive layout (works on phones, tablets, etc.)
  • clicking on an article excerpt from the main page will show the article, and the article will have a unique, permanent, human-readable link
  • new articles will be created from the wordpress admin site (for now... in a future version this can be done all from our site)
  • images will be stored in a CDN (in the future this can be used to make a media gallery for our site that will make it easy for authors to find relevant content for future articles)
@vuldin
vuldin / vscode-config.json
Created November 27, 2017 17:05
vscode config
{
"workbench.colorCustomizations": {
"statusBar.background": "#005f87",
"statusBar.noFolderBackground": "#005f87",
"statusBar.debuggingBackground": "#005f87"
},
"window.zoomLevel": 0,
"editor.fontSize": 14,
"editor.tabSize": 2,
"editor.lineNumbers": "relative",
@vuldin
vuldin / mermaid.md
Last active December 11, 2017 19:49
towards v2
sequenceDiagram
  cmsCtrl->>dbCtrl: requests latest db update
  dbCtrl-->>cmsCtrl: REST response
  loop
    cmsCtrl->>wordpress: request next latest update
    wordpress-->>cmsCtrl: REST response
    cmsCtrl->cmsCtrl: compares with latest update sent from dbCtrl
    cmsCtrl->>dbCtrl: sends wordpress update if more recent than latest db update
 dbCtrl->mongo: updates database (via nodejs driver)
@vuldin
vuldin / README.md
Created March 28, 2018 08:54
an add closure that takes any number of arguments and/or parameters

This module exports an add closure that takes any number of arguments and/or parameters

Examples:

add()
add(1)
add(1,2)
add(1)(2)
add(1,2)(3,4)
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreidvfvlmvavg7xp7zkjnlazg56zjk4ky2evlily7g6k4r2drzoo7uu ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@vuldin
vuldin / vuldin-logo.svg
Last active March 6, 2020 01:43
Simple logo in svg format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vuldin
vuldin / debugbear-test.js
Created March 24, 2020 15:15
Testing debugbear javscript API
const { DebugBear } = require("debugbear");
const envCi = require("env-ci");
// DEBUGBEAR_API_KEY=<key> $(npm bin)/debugbear --pageId=6383 --waitForResult --baseBranch=master --inferBuildInfo
// https://www.debugbear.com/viewResult/969114
(async function run() {
const { commit: commitHash } = envCi();
console.log(`commitHash: ${commitHash}`);
@vuldin
vuldin / debugbear-github-workflow.yml
Created March 24, 2020 20:55
integrates debugbear with github actions, using github repo secret
name: CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm i
- run: ./node_modules/.bin/debugbear --pageId=6383 --waitForResult --baseBranch=master --inferBuildInfo
env: