This file contains hidden or 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
#!/usr/bin/env bash | |
# Adapted from https://dev.to/franckpachot/moving-data-from-cockroachdb-to-postgresql-or-yugabytedb-462h | |
input_sql=$1 | |
gawk ' | |
# Create extensions that are default in CR | |
NR==1 { | |
print "create extension if not exists pgcrypto;" > ("tab-" FILENAME) |
This file contains hidden or 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
transform[stdout]: babelConfig { sourceType: 'unambiguous', | |
transform[stdout]: plugins: [ [Function: ReactFreshBabelPlugin] ], | |
transform[stdout]: extends: | |
transform[stdout]: '/Users/tug/Work/gutenberg-mobile-master/gutenberg/packages/react-native-editor/babel.config.js', | |
transform[stdout]: babelrc: true, | |
transform[stdout]: code: true, | |
transform[stdout]: filename: '../rich-text/src/component/index.native.js', | |
transform[stdout]: highlightCode: true, | |
transform[stdout]: caller: { name: 'metro', platform: 'android' }, | |
transform[stdout]: ast: true } |
This file contains hidden or 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
diff --git a/react-native-gutenberg-bridge/logger.js b/react-native-gutenberg-bridge/logger.js | |
index 8b09dda3..577e191b 100644 | |
--- a/react-native-gutenberg-bridge/logger.js | |
+++ b/react-native-gutenberg-bridge/logger.js | |
@@ -5,27 +5,27 @@ import { NativeModules } from 'react-native'; | |
const { RNReactNativeGutenbergBridge } = NativeModules; | |
-const logger = { | |
- debug: ( message ) => { |
This file contains hidden or 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
diff --git a/packages/rich-text/src/apply-format.native.js b/packages/rich-text/src/apply-format.native.js | |
index 9c5a4749a..2d2fa9829 100644 | |
--- a/packages/rich-text/src/apply-format.native.js | |
+++ b/packages/rich-text/src/apply-format.native.js | |
@@ -35,7 +35,7 @@ export function applyFormat( | |
// The selection is collpased, insert a placeholder with the format so new input appears | |
// with the format applied. | |
if ( startIndex === endIndex ) { | |
- const previousFormats = currentFormats[ startIndex - 1 ] || []; | |
+ const previousFormats = currentFormats[ startIndex > 0 ? startIndex - 1 : 0 ] || []; |
This file contains hidden or 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
diff --git a/android/build.gradle b/android/build.gradle | |
index 228e5f3..6924ae9 100644 | |
--- a/android/build.gradle | |
+++ b/android/build.gradle | |
@@ -1,7 +1,8 @@ | |
buildscript { | |
ext { | |
- gradlePluginVersion = '3.1.0' | |
- kotlinVersion = '1.2.31' | |
+ gradlePluginVersion = '3.1.3' |
This file contains hidden or 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
diff --git a/android/build.gradle b/android/build.gradle | |
index fc7f557..922f885 100644 | |
--- a/android/build.gradle | |
+++ b/android/build.gradle | |
@@ -1,7 +1,8 @@ | |
buildscript { | |
ext { | |
- gradlePluginVersion = '3.1.0' | |
- kotlinVersion = '1.2.31' | |
+ gradlePluginVersion = '3.1.3' |
This file contains hidden or 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
⋊> ~ mongo --port 37019 --verbose 00:50:57 | |
MongoDB shell version: 3.2.9 | |
connecting to: 127.0.0.1:37019/test | |
2016-12-30T00:51:00.735+0900 D NETWORK [thread1] creating new connection to:127.0.0.1:37019 | |
2016-12-30T00:51:00.735+0900 D COMMAND [ConnectBG] BackgroundJob starting: ConnectBG | |
2016-12-30T00:51:00.736+0900 D NETWORK [thread1] connected to server 127.0.0.1:37019 (127.0.0.1) | |
2016-12-30T00:53:08.736+0900 D NETWORK [thread1] connected connection! | |
Server has startup warnings: | |
2016-12-20T00:39:10.418+0100 I CONTROL [initandlisten] | |
2016-12-20T00:39:10.418+0100 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. |
This file contains hidden or 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
alias svn-stash='svn diff | pb >> ~/.svn_stack && svn revert -R .' | |
alias svn-stash-list='cat ~/.svn_stack' | |
function stash_pop() { | |
line=$(grep -n "$1" ~/.svn_stack | cut -d : -f 1) | |
if [ -z "$line" ]; then | |
line=$(wc -l < ~/.svn_stack) | |
fi | |
pastebin_url=$(sed "${line}q;d" ~/.svn_stack) | |
if [ -n "$pastebin_url" ]; then | |
pb "${pastebin_url}" | patch -p0 |
This file contains hidden or 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
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.io=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | |
module.exports = _dereq_('./lib/'); | |
},{"./lib/":2}],2:[function(_dereq_,module,exports){ | |
/** | |
* Module dependencies. | |
*/ |
This file contains hidden or 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
.nirror-box { | |
position: fixed; | |
text-align: left; | |
bottom: 0; | |
width: 300px; | |
padding: 0; | |
background-color: #ffffff; | |
box-shadow: rgba(0,0,0,0.5) 0 2px 6px; | |
z-index: 10000; | |
font-family: arial, sans-serif !important; |
NewerOlder