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
import execute from '../execute'; | |
import type { AcquiredCreation, AcquiredCreationInput } from '../types'; | |
export default async ( | |
acquiredCreationInputs: Array<AcquiredCreationInput>, | |
): Promise<Array<AcquiredCreation>> => { | |
const queryParameters = acquiredCreationInputs | |
.map((_, index) => `$creationId${index}: ID!, $type${index}: String!`).join(', '); | |
const parameters = acquiredCreationInputs.reduce( |
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
const mapOrder = (array, order, key) => array | |
.sort((a, b) => order.indexOf(a[key]) > order.indexOf(b[key]) ? 1 : -1); | |
/** | |
* Example: | |
*/ | |
const item_array = [ | |
{ id: 2, label: 'Two' }, | |
{ id: 3, label: 'Three' }, |
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
if test -f /etc/profile.d/git-sdk.sh | |
then | |
TITLEPREFIX=SDK-${MSYSTEM#MINGW} | |
else | |
TITLEPREFIX=$MSYSTEM | |
fi | |
if test -f ~/.config/git/git-prompt.sh | |
then | |
. ~/.config/git/git-prompt.sh |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
if test -f /etc/profile.d/git-sdk.sh | |
then | |
TITLEPREFIX=SDK-${MSYSTEM#MINGW} | |
else | |
TITLEPREFIX=$MSYSTEM | |
fi | |
if test -f ~/.config/git/git-prompt.sh | |
then | |
. ~/.config/git/git-prompt.sh |
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
{ | |
"auto-rename-tag.activationOnLanguage": [ | |
"html", | |
"xml", | |
"php", | |
"javascript", | |
"javascriptreact" | |
], | |
/** BEAUTIFY **/ |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2018-06-23 05:35:48" build="161206"> | |
<value name="ColorTable00" type="dword" data="00191919"/> | |
<value name="ColorTable01" type="dword" data="00ee0000"/> | |
<value name="ColorTable02" type="dword" data="0000cd00"/> | |
<value name="ColorTable03" type="dword" data="00cdcd00"/> | |
<value name="ColorTable04" type="dword" data="000000cd"/> | |
<value name="ColorTable05" type="dword" data="00cd00cd"/> |
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
{ | |
"auto-rename-tag.activationOnLanguage": [ | |
"html", | |
"xml", | |
"php", | |
"javascript", | |
"javascriptreact" | |
], | |
/** BEAUTIFY **/ | |
"beautify.language": { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>One Dark+</string> | |
<key>author</key> | |
<string>Josh Peng</string> | |
<key>settings</key> | |
<array> |