SuperChai

I’ve got the following error with Verbatim environment.

! FancyVerb Error:Extraneous input `^^I\end{}’ between \end{Verbatim} and line end.\FV@Error …ncyVerb Error:^^J\space \space #1^^J} \end{Verbatim}^^I

For example,

\documentclass{article}\usepackage{fancyvrb}\begin{document}\begin{Verbatim}int sum=0;
for(int i=0;i<size;i++){
sum += i;
}
\end{Verbatim} \end{document}

I could not find any syntax error in the above code.

It turns out that the error is caused by an extra whitespace after \end{Verbatim} command. I mean literally a single whitespace after the “}” bracket of \end{Verbatim} command. Who in the heaven is going to notice that?

After I remove the whitespace and recompile the latex document, the error disappears.

--

--

Scenario:

  • An sql script, create-tables.sql, for creating tables is stored in a folder on Google Drive.
  • A personal computer, Macbook Pro, is connected to Google Drive through Google Drive FileStream.
  • A database schema is on Oracle Always Free Cloud with ATP workload type.

Procedure:

  • Make a connection to a database schema on Oracle Free Cloud from a local SQL developer.
  • On the worksheet of SQL Developer, type:
@path_to_your_script_file/your_script_filename.sql
  • An example of the command is:
@"/Users/YourUsername/Google Drive/My Drive/OracleApex/sql-script/create-tables.sql"
  • Notes: Double quotes are required when a path contains one or more whitespaces.
  • Click “Run script” icon

--

--

We can set a simple automatic shutdown for a Windows PC by creating the following two plain-text files.

  • PC_scheduled_shutdown.bat
@echo off
title Shutdown Input
set /p mins=Enter number of minutes to wait until shutdown:
set /a mins=%mins%*60
shutdown.exe -s -t %mins%
  • PC_abort_shutdown.bat
shutdown.exe -a

Put the above two files on your Desktop folder.

Then, when we want to shutdown PC in the next t minutes such as 30 minutes:

  • Double-click “PC_scheduled_shutdown.bat
  • Enter 30 in the pop-up command prompt window. That’s all.

If we want to cancel our scheduled shutdown before the time is up, double-click another file, “PC_abort_shutdown.bat”.

--

--

--

--