This file contains hidden or 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
| " Custom settings FOR WINDOWS VIM | |
| source $VIMRUNTIME/vimrc_example.vim | |
| "execute pathogen#infect() | |
| syntax enable | |
| if has("gui_running") | |
| set guifont=Source_Code_Pro:h13:cANSI | |
| colorscheme solarized | |
| set background=dark | |
| set lines=120 columns=84 |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <packages> | |
| <package id ="conemu" /> | |
| <package id ="vim" /> | |
| <package id="wincommandpaste-compiled" /> | |
| <package id ="git" params="'/GitAndUnixToolsOnPath'"/> | |
| <package id ="msysgit" /> | |
| <package id="hg" /> | |
| <package id="python" /> | |
| <package id="pip" /> |
This file contains hidden or 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
| $HOMEDRIVE = "C:\"; | |
| $HOMEPATH = "Users\\" + "rhernandez3\\Documents"; # $env:username; | |
| # Set and force overwrite of the $HOME variable | |
| Set-Variable HOME "$HOMEDRIVE$HOMEPATH" -Force; | |
| # Set the "~" shortcut value for the FileSystem provider | |
| (get-psprovider 'FileSystem').Home = $HOMEDRIVE + $HOMEPATH; | |
| #change to new $Home |
This file contains hidden or 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
| Option Explicit | |
| Dim WshShell | |
| set WshShell = WScript.CreateObject("WScript.Shell") | |
| WshShell.Run "%windir%\notepad.exe" | |
| WshShell.AppActivate "Notepad" | |
| Wscript.Sleep 1000 | |
| WshShell.SendKeys "%{F4}" | |
| WScript.Quit |
This file contains hidden or 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
| Option Explicit | |
| Dim WshShell | |
| Set WshShell = WScript.CreateObject("WScript.Shell") | |
| WshShell.Run "taskkill /f /im Cscript.exe", , True | |
| WshShell.Run "taskkill /f /im wscript.exe", , True | |
| WScript.Quit |
This file contains hidden or 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
| ' Warning!! This script with run infinetly unless cancelled by either an | |
| ' outside script or by killing the process in task manager | |
| ' copy the following into a SEPARATE .vbs script to kill all vbs scripts | |
| ' that are currently running on your machine | |
| ' Option Explicit | |
| ' Dim WshShell | |
| ' Set WshShell = WScript.CreateObject("WScript.Shell") | |
| ' WshShell.Run "taskkill /f /im Cscript.exe", , True | |
| ' WshShell.Run "taskkill /f /im wscript.exe", , True | |
| ' WScript.Quit |
This file contains hidden or 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
| Option Explicit | |
| Dim objshell,path,DigitalID, Result | |
| Set objshell = CreateObject("WScript.Shell") | |
| 'Set registry key path | |
| Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" | |
| 'Registry key value | |
| DigitalID = objshell.RegRead(Path & "DigitalProductId") | |
| Dim ProductName,ProductID,ProductKey,ProductData | |
| 'Get ProductName, ProductID, ProductKey |
This file contains hidden or 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
| # Directory navigation aliases | |
| alias ..='cd ..' | |
| alias ...='cd ../..' | |
| alias ....='cd ../../..' | |
| alias .....='cd ../../../..' | |
| alias back='cd $OLDPWD' | |
| #misc aliases | |
| alias open='gnome-open' | |
| alias grep='grep -n' |
This file contains hidden or 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 | |
| # | |
| # All in one script to setup vim extensions and setup bash(kinda) | |
| # | |
| # By Robert David Hernandez | |
| # http://www.github.com/rhernandez513 | |
| # | |
| apt install exuberant-ctags |
This file contains hidden or 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 | |
| # update_repos - A simple script to update git repos within a directory | |
| # Location where this script is stored in the filesystem | |
| # STARTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| # Location of the working directory of the calling shell | |
| PARENTDIR=$PWD |
OlderNewer