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
@echo off | |
echo Defining oracle variables... | |
set "OCI_LOCATION=D:\Oracle\instantclient_12_1\x64" | |
set "OCI_LIB_DIR=%OCI_LOCATION%\sdk\lib\msvc" | |
set "OCI_INC_DIR=%OCI_LOCATION%\sdk\include" | |
set "NODE_ORACLEDB_USER=xxx" | |
set "NODE_ORACLEDB_PASSWORD=yyy" | |
set "NODE_ORACLEDB_CONNECTIONSTRING=zzz" | |
set "PATH=%OCI_LOCATION%;%PATH%" | |
if defined VS140COMNTOOLS goto vs2015 |
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
#!/bin/bash | |
# INSTALL ORACLE INSTANT CLIENT # | |
################################# | |
# NOTE: Oracle requires at least 1176 MB of swap (or something around there). | |
# If you are using CentOS in a VMWare VM, there's a good chance that you don't have enough by default. | |
# If this describes you and you need to add more swap, see the | |
# "Adding a Swap File to a CentOS System" section, here: | |
# http://www.techotopia.com/index.php/Adding_and_Managing_CentOS_Swap_Space |
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
<!DOCTYPE html> | |
<html ng-app="APP"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>angular-dragdrop example</title> | |
<style> | |
li:hover{background-color: #eee;} | |
</style> | |
</head> | |
<body ng-controller="ExampleController"> |
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
@echo off | |
node -e "require('fs').readFile('%~1',function(err, data){console.log(require('crypto').createHash('md5').update(data).digest('hex'))})" |
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
@echo off | |
node -e "require('fs').readFile('%~1',function(err, data){console.log(require('crypto').createHash('sha1').update(data).digest('hex'))})" |
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
@echo off | |
setlocal | |
set FOUNDFLAG=0 | |
:# Adiciona o diretório corrente no path para esta pesquisa apenas. | |
set PATH=%PATH%;. | |
if exist "%~$PATH:1" ( echo Encontrado em %~$PATH:1 && set FOUNDFLAG=1) |
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
@echo off | |
node --expose-gc --track_gc_object_stats %* |
NewerOlder