Skip to content

Instantly share code, notes, and snippets.

View bentodaniel's full-sized avatar

Daniel Bento bentodaniel

  • FCUL
  • Lisbon, Portugal
View GitHub Profile
@bentodaniel
bentodaniel / bookmark_setup.bat
Created June 7, 2021 15:04
Script to quickly set up or get all bookmarks from google chrome
:: This script gets or sets the bookmarks from browser
@echo off
cls
set $bookmark_location="%LOCALAPPDATA%\Google\Chrome\User Data\Default\Bookmarks"
set mypath=%cd%
:choice
set /P c=Get/Set browser bookmarks [Y/N]?
if /I "%c%" EQU "Y" goto :browser_info
@bentodaniel
bentodaniel / setup_win.bat
Last active October 5, 2023 20:34
Batch scripts using Chocolatey to quickly install windows packages
:: This script installs Chocolatey and some programs
@echo off
cls
set $choco_install=Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
set $program_install=choco install
set $upgrade_install=choco upgrade all
set $programs=googlechrome git vscode sublimetext3 discord k-litecodecpackfull