Disabling the *.vshost.exe and miscellaneous files from being created on build

Switch to the Release configuration. Then Project + Properties, Debug tab, untick the “Enable the Visual Studio hosting process” option. Build + Clean, you can delete anything that’s left and it won’t come back. That this option is turned on by default for the Release build is, arguably, a bit of a flaw but defensible. … Read more

Dropping all user tables/sequences in Oracle

If you’re not intending on keeping the stored procedure, I’d use an anonymous PLSQL block: BEGIN –Bye Sequences! FOR i IN (SELECT us.sequence_name FROM USER_SEQUENCES us) LOOP EXECUTE IMMEDIATE ‘drop sequence ‘|| i.sequence_name ||”; END LOOP; –Bye Tables! FOR i IN (SELECT ut.table_name FROM USER_TABLES ut) LOOP EXECUTE IMMEDIATE ‘drop table ‘|| i.table_name ||’ CASCADE … Read more

Creating an installer for Linux application [closed]

The standard all mighty universally available installer on *nix systems (and not only) is Autotools. # the user will install like so: ./configure –with-stuff make # if package is from source make install You can also provide distribution specific installers like a RPM on RedHat or CentOS or deb for Debian, Ubuntu, although once you … Read more

Does a gulp task have to return anything?

If you do not return a stream, then the asynchronous result of each task will not be awaited by its caller, nor any dependent tasks. For example, when not returning streams: $ gulp scripts [21:25:05] Using gulpfile ~/my-project/gulpfile.js [21:25:05] Starting ‘tsc’… [21:25:05] Finished ‘tsc’ after 13 ms [21:25:05] Starting ‘scripts’… [21:25:05] Finished ‘scripts’ after 10 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)