Skip to content

Instantly share code, notes, and snippets.

@gpuido
gpuido / Arte+7_Video_Downloader_-_GreaseMonkey.js
Created June 19, 2019 17:42 — forked from mehdichaouch/Arte+7_Video_Downloader_-_GreaseMonkey.js
Script GreaseMonkey qui aide à trouver les urls (RTMP) des vidéos des replays sur ARTE+7 afin de les downloader avec rtmpdump o/
// ==UserScript==
// @name ARTE+7 Video Downloader vAlpha
// @namespace http://userscripts.org/users/80029 ; http://code.google.com/p/arte-tv-greasemonkey/
// @description ARTE+7 Video Downloader : Currently this UserScript is able to find the RTMP video links of Arte+7 to be downloaded with
// @include http*://videos.arte.tv/*
// @include http*://videos.arte.tv/de/videos/*
// @include http*://videos.arte.tv/en/videos/*
// @include http*://videos.arte.tv/fr/videos/*
// ==/UserScript==

YouTube video downloader

Script Node.JS for downloading videos from YouTube. You can use some options to choose the features of the video, like format, size, etc. This script only produce a file video.sh_, with all commands to download a video from YouTube.

Requirements

  • NodeJS 8.4.0 or higher.
@gpuido
gpuido / win10-cleaner.ps
Created April 30, 2019 13:03 — forked from tkuennen/win10-cleaner.ps
Cleans Up Windows 10
Windows 10 Decrapifier 1803/1809
#By CSAND
#Feb 1 2019
#
#
#PURPOSE: Eliminate much of the bloat that comes with Windows 10. Change many privacy settings to be off by default. Remove built-in advertising, Cortana, OneDrive, Cortana stuff (all optional). Disable some data collection.
# Clean up the start menu for new user accounts. Remove a bunch of pre-installed apps, or all of them (including the store). Create a more professional looking W10 experience. Changes some settings no longer
# available via GPO for Professional edition.
#
#DISCLAIMER: Most of the changes are easily undone, but some like removing the store are difficult to undo. I encourage you to research these changes beforehand, and read through the script.
@gpuido
gpuido / package-full.ps1
Created April 29, 2019 12:45 — forked from KZeronimo/package-full.ps1
Boxstarter Script - Full - Windows 10
# Set TLS support
[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
# Import Choco Install-*
Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force
# Set up choco cache location to work around Boxstarter Issue 241
$chocoCache = (Join-Path ([Environment]::GetEnvironmentVariable("LocalAppData")) "Temp\ChocoCache")
New-Item -Path $chocoCache -ItemType directory -Force
@gpuido
gpuido / LayoutModification.xml
Created March 29, 2019 21:50 — forked from michyprima/LayoutModification.xml
Make Windows 10 non-LTSB bareable (dism stuff is for 1709)
<LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
<LayoutOptions StartTileGroupCellWidth="6" />
<DefaultLayoutOverride>
<StartLayoutCollection>
<defaultlayout:StartLayout GroupCellWidth="6">
</defaultlayout:StartLayout>
</StartLayoutCollection>
</DefaultLayoutOverride>
</LayoutModificationTemplate>
@gpuido
gpuido / Install.ps1
Created March 29, 2019 21:19 — forked from michael-golfi/Install.ps1
Windows Install Script
$User = Read-Host -Prompt "Input your username"
# Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).Downloa
dString('https://chocolatey.org/install.ps1'))
#
# Install Programs
#
choco install jre8 -y
@gpuido
gpuido / hyperv-r2-configonly-import.ps1
Created March 27, 2019 21:30 — forked from mrdaemon/hyperv-r2-configonly-import.ps1
Work in progress. cmdlet to import a config-only VM export on Hyper-V 2008 R2.
<#
.SYNOPSIS
Safely Imports Hyper-V Virtual Machines that were exported
as configuration only, without State Data (snapshots, VHDs, etc).
.DESCRIPTION
Hyper-V 2008 R2 removed the option to export a Virtual Machine without
its State Data (Snapshots, Virtual Disk Images (VHDs), Suspend State),
as configuration only through the GUI.
@gpuido
gpuido / Convert-WindowsImage.ps1
Created December 7, 2017 15:56 — forked from john-clark/Convert-WindowsImage.ps1
deplyment powershell scripts found on the internets
Function
Convert-WindowsImage
{
<#
.NOTES
Copyright (c) Microsoft Corporation. All rights reserved.
Use of this sample source code is subject to the terms of the Microsoft
license agreement under which you licensed this sample source code. If
# ____
# / __ \________ ________ ____ ______
# / /_/ / ___/ _ \/ ___/ _ \/ __ `/ ___/
# / ____/ / / __/ / / __/ /_/ (__ )
#/_/ /_/ \___/_/ \___/\__, /____/
# /_/
# this script will automatically pull font awesome files from github via .net framework "WebClient"
# install fantastically handy ImageMagick tool from => http://www.imagemagick.org/script/binary-releases.php
# and add it to your path
if (-not [bool](Get-Command "magick.exe" -ErrorAction SilentlyContinue)) { throw "Magick.exe not in path" }
@gpuido
gpuido / SteamShortcutCreator.ps1
Created September 11, 2017 14:35 — forked from claudenobs/SteamShortcutCreator.ps1
Creates shortcuts to all your steam games. Icons are taken either from steam installation downloaded or game executable.
# 0. Requires steamcmd. Download from https://developer.valvesoftware.com/wiki/SteamCMD. Put it in your steam directory (the one with steam.exe)
# 1. Save this script by right-click on Raw button and choose "Save link as..."
# 2. Start powershell : right click "Start" then choose "Run..." & type : powershell
# 3. Run script type : Start-Process powershell -Verb RunAs -ArgumentList "-ExecutionPolicy Unrestricted -NoExit -file `"$Home\Downloads\SteamShortcutCreator.ps1`""; exit
# 4. Give permission in pop-up
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$steamDir = if (Test-Path "C:\Program Files (x86)\Steam\steam.exe") { "C:\Program Files (x86)\Steam" }
elseif ($args[0] -and (Test-Path "$($args[0])\steam.exe")) { $args[0] }
elseif (Test-Path "$PSScriptRoot\steam.exe") { $PSScriptRoot }
elseif (Test-Path ".\steam.exe") { "." }