start new:
tmux
start new with session name:
tmux new -s myname
/* eslint-disable no-param-reassign */ | |
/** | |
* DESCRIPTION: | |
* This script reverts the imports from the centralized file created by https://github.com/kiliman/rmx-cli | |
*/ | |
import fs from 'fs'; | |
import path from 'path'; |
{ | |
"folders": [ | |
{ | |
"path": "./", | |
"name": "🦷 Root" | |
}, | |
{ | |
"path": "./homepage-consumersite", | |
"name": "🏠 HomePage" | |
}, |
import { useEffect, useMemo, useState, useCallback } from "react"; | |
import useQueryString from "./useQueryString"; | |
function useQueryStringWithIndexValue(key, initialIndex, values) { | |
const computedValues = useMemo(() => values.map(v => v.toLowerCase()), [ | |
values | |
]); | |
const [value, onSetValue] = useQueryString(key, values[initialIndex]); | |
const [index, setIndex] = useState(initialIndex); |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { Tabs, Tab } from "react-bootstrap"; | |
import useQueryString from "./useQueryString"; | |
import "./styles.css"; | |
function App() { | |
const [value, onSetValue] = useQueryString("water"); | |
return ( |
import { useState, useCallback } from "react"; | |
import { getQueryStringValue, setQueryStringValue } from "./queryString"; | |
function useQueryString(key, initialValue) { | |
const [value, setValue] = useState(getQueryStringValue(key) || initialValue); | |
const onSetValue = useCallback( | |
newValue => { | |
setValue(newValue); | |
setQueryStringValue(key, newValue); | |
}, |
FROM ubuntu:latest | |
LABEL description="politeia quick setup" | |
LABEL version="1.0" | |
LABEL maintainer "oxfernando@gmail.com" | |
RUN apt-get update | |
RUN apt-get install -y wget git gcc | |
# Install Go |
Here's a first pass.
Normal User
The politeiawww database is a key-value storage which is used for persisting user's data. The current implementation was designed having the LevelDB as the primary implemenation. Because of the need of scaling WWW, this issue was created and that has been worked on since then.
A feel things have been discussed and defined outside of this issue content: