For some reason JScript is not able to handle with the code converted from WinWord VBA.
Sub Macro1()
'
' Macro1 Macro
'
'
With ActiveDocument
.XMLSaveDataOnly = False
For some reason JScript is not able to handle with the code converted from WinWord VBA.
Sub Macro1()
'
' Macro1 Macro
'
'
With ActiveDocument
.XMLSaveDataOnly = False
# http://superuser.com/a/519534/564864 | |
## | |
# Just found the amazing builtin 'mapfile', perfect | |
# for substitution variable inside a file by its values. | |
## | |
mateus@mateus:/tmp$ cat input.txt | |
a = $a | |
b = $b |
#!/bin/bash | |
# | |
# Run a program, converting UNIX and Windows format path arguments. | |
# | |
# Install in Cygwin's `bin` dir or elsewhere in your path. | |
# Create a symlink for convenience: `ln -s cygrun.sh cygrun`. | |
# | |
# Use `cygrun -w windows-program unix-path ...` to run Windows programs (e.g. from UNIX software). | |
# E.g., in my .gitconfig core.editor is set to `cygrun -w 'C:/Program Files/Notepad2/Notepad2.exe'`. | |
# |
#!/bin/sh | |
# Called by "git push" after it has checked the remote status, | |
# but before anything has been pushed. | |
# | |
# If this script exits with a non-zero status nothing will be pushed. | |
# | |
# Steps to install, from the root directory of your repo... | |
# 1. Copy the file into your repo at `.git/hooks/pre-push` | |
# 2. Set executable permissions, run `chmod +x .git/hooks/pre-push` |
@ECHO OFF | |
REM -- Automates cygwin installation | |
SETLOCAL | |
REM -- Change to the directory of the executing batch file | |
CD %~dp0 | |
REM -- Configure our paths | |
SET SITE=http://mirrors.kernel.org/sourceware/cygwin/ |
/* this code is public domain */ | |
function require(path) | |
{ | |
var fso = WScript.CreateObject("Scripting.FileSystemObject"); | |
var file_path = path + ".js"; | |
var input_stream = fso.OpenTextFile(file_path, 1, false); | |
var module_code = input_stream.ReadAll(); | |
input_stream.Close(); | |
var eval_code = "(function(){" + |
0</*! :: | |
@echo off | |
echo:Hello, batch! | |
cscript //nologo //e:jscript "%~f0" %* | |
echo:Hello, batch again! | |
goto :EOF |
cue_file = 'file.cue' | |
d = open(cue_file).read().splitlines() | |
general = {} | |
tracks = [] | |
current_file = None |