From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
-
Switch to the main branch, usually 'develop':
git checkout develop
-
Get a list of fully merged branches:
import { useMemo } from 'react' | |
import { ApolloClient, InMemoryCache, from } from '@apollo/client' | |
import merge from 'deepmerge' | |
import isEqual from 'lodash/isEqual' | |
import { | |
httpLink, | |
onErrorLink, | |
wooSessionMiddleware, | |
wooSessionAfterware, | |
} from 'lib/apollo/middleware' |
// @ts-check | |
"use strict" | |
/** | |
* Set up datadog tracing. This should be called first, so Datadog can hook | |
* all the other dependencies like `http`. | |
*/ | |
function setUpDatadogTracing() { | |
const { tracer: Tracer } = require('dd-trace') | |
const tracer = Tracer.init({ |
import { ConfigInterface, useSWRInfinite } from 'swr' | |
import { useMemo, useCallback, useRef } from 'react' | |
import last from 'lodash.last' | |
import get from 'lodash.get' | |
type PageKeyMaker<Page, Key extends any[]> = ( | |
index: number, | |
previousPageData?: Page | |
/** | |
* Mutable ref object. Set this to `true` before the request and `false` afterwards if the request is fetching more. |
import { | |
ApolloClient, | |
InMemoryCache, | |
HttpLink, | |
ApolloLink, | |
from, | |
} from "@apollo/client"; | |
import fetch from "cross-fetch"; | |
import { setContext } from "@apollo/client/link/context"; |
// roughish AMP attribute types for JSX/TypeScript | |
// Source: https://playground.amp.dev/amphtml-hint.json | |
// https://github.com/Microsoft/TypeScript/issues/15449 | |
// https://stackoverflow.com/questions/50585952/typescript-and-google-amp-property-amp-img-does-not-exist-on-type-jsx-intrin | |
import * as React from 'react'; | |
// why null ? | |
type _ANY = any; | |
type _ANYS = any; | |
declare module 'react' { | |
interface HTMLAttributes<T> { |
// import ..... | |
const inputUploadFile: CSSProperties = { | |
display: 'none', | |
}; | |
const buttonUploadFile: CSSProperties = { | |
margin: 8, | |
}; |
From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
Switch to the main branch, usually 'develop':
git checkout develop
Get a list of fully merged branches:
Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.
<?php | |
/* | |
Plugin Name: Rich Text editors for Gravity Forms | |
Description: Converts the textarea fields in Gravity Forms to WordPress rich text editors | |
Author: Nathaniel Taintor | |
Author URI: http://goldenapplesdesign.com | |
Version: 1.0 | |
License: GPLv2 | |
*/ |