This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION "public"."format_phone_number"(text) | |
RETURNS "pg_catalog"."text" AS $BODY$ | |
BEGIN | |
RETURN | |
regexp_replace( | |
regexp_replace( | |
regexp_replace( | |
regexp_replace( | |
regexp_replace( | |
regexp_replace( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get remove ffmpeg x264 libav-tools libvpx-dev libx264-dev yasm | |
sudo apt-get update | |
sudo apt-get -y install autoconf automake build-essential checkinstall git libass-dev \ | |
libgpac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libspeex-dev \ | |
libtheora-dev libtool libvorbis-dev pkg-config texi2html zlib1g-dev | |
cd | |
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
tar xzvf yasm-1.2.0.tar.gz | |
cd yasm-1.2.0 | |
./configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DataSheet.js | |
render() { | |
const { sheetRenderer: SheetRenderer, rowRenderer: RowRenderer, cellRenderer, | |
dataRenderer, valueRenderer, dataEditor, valueViewer, attributesRenderer, | |
className, overflow, data, keyFn } = this.props | |
const { forceEdit } = this.state | |
return ( | |
<span ref={ r => { this.dgDom = r } } tabIndex='0' className='data-grid-container' onKeyDown={ this.handleKey }> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.getCollection('list').aggregate([ | |
{ | |
$facet: { | |
"events":[{ | |
$match: { | |
'type': 'Event' | |
} | |
}], | |
"tasks": [{ | |
$match: { |