This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Author: Maxwel Leite | |
:: Website: http://needforbits.wordpress.com/ | |
:: Description: Batch script to download latest Win10-Initial-Setup-Script* | |
:: and execute using your own local profile Win10-Initial-Setup-Script-Execute.preset (change before execute). | |
:: * PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019 | |
:: (https://github.com/Win10debloater/Win10-Initial-Setup-Script) | |
:: | |
if not "%1"=="am_admin" call powershell -h | %WINDIR%\System32\find.exe /i "powershell" > nul && if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin > nul & exit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Author: Maxwel Leite | |
:: Website: http://needforbits.wordpress.com/ | |
:: Description: Batch script to download latest Windows10Debloater* script | |
:: and execute for remove all bloatware from Windows 10 (only Debloat). | |
:: * Script to remove Windows 10 bloatware (https://github.com/Sycnex/Windows10Debloater) | |
:: | |
if not "%1"=="am_admin" call powershell -h | %WINDIR%\System32\find.exe /i "powershell" > nul && if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin > nul & exit) | |
setlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# file-name: mkv-substrip.sh | |
# Website: http://needforbits.tumblr.com/ | |
# https://gist.github.com/maxwelleite | |
# https://github.com/maxwelleite | |
# Author: Maxwel Leite | |
# License: GPLv3 | |
# Description: Remove all subtitle tracks (strip) from all MKV files in a specified folder or file, | |
# then put the new mkv file(s) in a previously-created sub-folder named "output". | |
# Param: "folder" (with a least one mkv file) or "file.mkv" (*relative paths also works*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
available () { | |
command -v $1 >/dev/null 2>&1 | |
} | |
# Make sure we have wget or curl | |
if available wget; then | |
SILENT_DL="wget -qO-" | |
LOUD_DL="wget" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Zorin OS Start Page Field Focus | |
// @description Simple Greasemonkey/Violentmonkey/TamperMonkey script to autofocus the field on "Zorin OS Start Page / Search Google" | |
// @namespace http://www.openjs.com/ | |
// @include https://zorinos.com/start/ | |
// @author Maxwel Leite | |
// @namespace https://gist.github.com/maxwelleite | |
// @encoding utf-8 | |
// @version 1.0 | |
// @updateURL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Filename: update-hosts.sh | |
# | |
# Author: George Lesica <[email protected]> | |
# Enhanced by Eliastik ( eliastiksofts.com/contact ) | |
# | |
# Description: Replaces the HOSTS file with hosts lists from Internet, | |
# creating a backup of the old file. Can be used as an update script. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Maxwel Leite | |
# Website: http://needforbits.wordpress.com/ | |
# Initial Author: Abdullah Diab (http://mpcabd.xyz/adding-a-timestamp-to-command-output-in-linux/) | |
# Description: Simple bash script to add a timestamp to command output in Linux | |
# This is just a quick solution to put a timestamp with each line of the output of some command in Linux. | |
while read x; do | |
# RFC-3339 format - for more accuracy and works with syslog | |
echo -n `date --rfc-3339=ns | sed 's/ /T/; s/\(\....\).*-/\1-/g'`; | |
echo -n " "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash Script to Install FFMPEG in Ubuntu 14.04 | |
# Ref: http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu | |
# Opsional: install exiftool: apt-get install libimage-exiftool-perl | |
# | |
# Author: Edi Septriyanto http://masedi.net <[email protected]> | |
######################################################################## | |
CURDIR=$(pwd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Maxwel Leite | |
# Website: http://needforbits.wordpress.com/ | |
# Description: Script to install the latest Wine Tahoma Regular and Wine Tahoma Bold fonts on Ubuntu distros from the Wine Project. | |
# The Wine project includes the free and open-source fonts Wine Tahoma Regular and Wine Tahoma Bold released under LGPL | |
# designed to have identical metrics to the Microsoft Tahoma font. This was done because Tahoma is available by default | |
# on Windows, and many applications expect the font to be available. | |
# Dependencies: wget | |
# Tested: Ubuntu Saucy/Trusty/Xenial/Bionic | |
# Latest Update: 20/11/2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Maxwel Leite | |
# Website: http://needforbits.wordpress.com/ | |
# Description: Script to install the original Microsoft Tahoma Regular and MS Tahoma Bold (both version 2.60) on Ubuntu distros. | |
# Dependencies: wget and cabextract | |
# Tested: Ubuntu Saucy/Trusty/Xenial/Bionic | |
output_dir="/usr/share/fonts/truetype/msttcorefonts/" | |
tmp_dir="/tmp/ttf-ms-tahoma-installer" |
NewerOlder