Skip to content

Instantly share code, notes, and snippets.

View alexandrejulien's full-sized avatar

Alexandre JULIEN alexandrejulien

View GitHub Profile
@alexandrejulien
alexandrejulien / vsupdate.ps1
Last active June 26, 2022 16:01
A small command line script for updating in background Visual Studio or Programmed Task.
Write-Host "Update Visual Studio" -ForegroundColor Cyan
$startInfo = New-Object System.Diagnostics.ProcessStartInfo
$startInfo.FileName = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe"
$startInfo.Arguments = "update --quiet --nocache --installPath ""C:\Program Files\Microsoft Visual Studio\2022\Enterprise"""
$process = New-Object System.Diagnostics.Process
$process.StartInfo = $startInfo
$process.Start()
$process.WaitForExit()
@alexandrejulien
alexandrejulien / tutorial-websql.js
Created November 12, 2012 21:46
Exemple d'utilisation de WebSQL
/**
* =================================================
* Tutorial WebSQL - Alexandre JULIEN
* http://www.alexandre-julien.com/html5/websql/
* =================================================
* Exemple d'utilisation de WebSql en HTML5 en création une petite base de données de blog.
*/
/*
* Instanciation d'une base de données de 2 Mo qui se nomme BlogDB.