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
" ~/.idea-lazy.vim | |
" LazyVim mappings for Jetbrains IDEs | |
" Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle | |
" IDEAVim | |
" Which-Key | |
" IdeaVim-Sneak | |
" To install, add this to the top of your ~/.ideavimrc: |
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
// import json array file to elasticsearch | |
const fs = require('fs') | |
const shelljs = require('shelljs') | |
let endpoint = process.argv[2] | |
let jsonFile = process.argv[3] | |
if (!endpoint || !jsonFile || endpoint.search('_bulk') === -1) { | |
console.log('sample: node jsonArrayToES.js localhost:9200/bank/customer/_bulk customer.json') | |
process.exit() | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2015-05-13 15:37:53" build="150409"> | |
<value name="TabMargins" type="hex" data="00,00,00,00,17,00,00,00,00,00,00,00,00,00,00,00"/> | |
<value name="ColorTable00" type="dword" data="00d5e8ee"/> | |
<value name="ColorTable01" type="dword" data="00e3f6fd"/> | |
<value name="ColorTable02" type="dword" data="00756e58"/> | |
<value name="ColorTable03" type="dword" data="00837b65"/> | |
<value name="ColorTable04" type="dword" data="00164bcb"/> |
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
" Settings | |
"dont autofocus on any field | |
set noautofocus | |
let blacklists = ["https://mail.google.com/*","https://groups.google.com/*","https://photos.google.com/*"] | |
let completionengines = ["google", "amazon", "wikipedia"] | |
"let mapleader = <space> |
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
# Boxstarter script for blog post http://blog.zerosharp.com/provisioning-a-new-development-machine-with-boxstarter | |
# Allow reboots | |
$Boxstarter.RebootOk=$true | |
$Boxstarter.NoPassword=$false | |
$Boxstarter.AutoLogin=$true | |
# Basic setup | |
Update-ExecutionPolicy Unrestricted | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
# Enable-RemoteDesktop |