Skip to content

Instantly share code, notes, and snippets.

View ddieppa's full-sized avatar
🏠
Working from home

Daniel Dieppa ddieppa

🏠
Working from home
View GitHub Profile
@ddieppa
ddieppa / HelpfulWindowsScripts.md
Last active March 21, 2016 18:20
Put all single files in to folders with the same name
@ddieppa
ddieppa / How to zip dotnet projects.md
Last active November 22, 2022 21:57
How to zip dotnet projects

How to zip dotnet projects

Visual Studio project folders contains a lot of files that it generates each time you compile your project, so you don't need them when zipping the folder, what about if we could use .gitignore?

There are ways to do this :) lets check them down

Using 7Zip

Here is the link to 7zip if not installed

@ddieppa
ddieppa / BoxStarter.md
Last active March 21, 2016 15:44
Playing around with BoxStarter

Playing around a lil bit with BoxStarter

These are my first BoxStarter scripts, awesome way to have your pc up and running really fast.

@ddieppa
ddieppa / DownloadFromListUsingYoutubeDl.md
Last active February 24, 2022 18:49
Command to download videos from a list containing the urls to the videos using youtube-dl. Have to have installed youtube-dl, you can use chocolatey for that.

tu### Download from a list of files url usin Youtube-dl

choco install -y youtube-dl
choco install -y aria2
choco install -y ffmpeg

youtube-dl -v -i -c --add-metadata --write-info-json --write-all-thumbnails --embed-thumbnail -o "%(title)s.%(ext)s" --external-downloader aria2c --external-downloader-args "-x 16 -s 16" --download-archive _downloaded.txt -a {\\path\to\list.txt} --config-location PATH
@ddieppa
ddieppa / SQLQueries.md
Last active March 21, 2016 18:03
Useful SQL queries

SQL queries

Some of the sql queries I used at some point :)

Files in this gist

@ddieppa
ddieppa / AtomPackages.md
Last active March 21, 2016 18:09
Atom Package List
@ddieppa
ddieppa / ExportChangesetChangesToFile.md
Created November 17, 2016 20:04
Get what changed in a Visual Studio TFS changeset, and export it into a file

tf changeset changesetNumber /noprompt > "path\to\file.txt"

@ddieppa
ddieppa / InstallChocolateyPackages.ps1
Last active April 22, 2024 03:18
My "must" chocolatey packages
function main {
Update-Windows-Configuration
Install-Utils
Install-Browsers
Install-Fonts
@ddieppa
ddieppa / get-vscode-extensions-script.sh
Last active January 14, 2019 20:47
script in bash to output the installed extensions in vscode
code --list-extensions | xargs -L 1 echo code --install-extension > vscode-extensions.txt
@ddieppa
ddieppa / npx command to run angular cli
Last active November 1, 2023 13:44
This is the npx command to run angular cli new project without install it globally
npx -p @angular/cli ng new hello-world-project
then locally can run
npx ng g c hello-world-component