Skip to content

Instantly share code, notes, and snippets.

View bozheville's full-sized avatar

Denys Grybov bozheville

View GitHub Profile
@ikibalnyi
ikibalnyi / prepopulate.js
Last active August 28, 2019 14:05
React HoC for populating component props
import React, { useCallback, useEffect, useState } from 'react';
/**
* HoC for prefetching component data from remote server.
*
* @param fetchData(props) - async function generator for fetching data
* @param getInitialState(props)? - function to get initialState
* @param depsFn(props)? - function to set deps for useEffect
*/
function prepopulate(fetchData, getInitialState, depsFn) {
@emmajane
emmajane / gist:59321345a81a4f5837c0
Last active February 28, 2024 16:35
JQL Syntax for the Impatient

JQL Syntax for the Impatient

There are a few JQL syntax bits to get you started:

  • AND --- allows you to add qualifiers to a list
  • != Thing --- target one thing
  • is in (List, Of, Things) --- target a bunch of things (Done, Closed, Resolved) typically
  • not in (List, of, Things) --- do not include a bunch of things
  • -1w --- relative time. You can also use -1d for day
  • "2015/3/15" --- specific dates
@KonradIT
KonradIT / readme.md
Last active July 11, 2024 20:46
GoPro Studio for Linux