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 | |
echo Loading VC... | |
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64 | |
echo Loading bash, you may now use git and msbuild in the same console \o/. | |
"C:\Program Files\Git\usr\bin\bash.exe" --login -i |
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 | |
yum -y update | |
yum -y install httpd mod_ldap mod_authnz_external mod_ssl openssl | |
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux | |
setenforce 0 | |
systemctl stop firewalld | |
systemctl disable firewalld | |
chkconfig httpd on | |
systemctl start httpd | |
yum -y install subversion mod_dav_svn |
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
#region Global Colors | |
$e=[char]27 | |
$cReset="$e[0m" | |
# $e[(x)m -> 30-37,90-97 Terminal preset foreground colors; 38 Terminal custom foreground color; 40-47,100-107 Terminal preset background colors; 48 Terminal custom background color | |
# $e[38;2;(r);(g);(b)m -> RGB | |
# $e[38;5;(n)m -> 0-15 EGA colors; 16-231 6-bit table color; 232-255 Gray scale | |
# $cFgDarkBlack="$e[38;2;0;0;0m" | |
# $cFgDarkRed="$e[38;2;128;0;0m" |
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
// This file was initially generated by Windows Terminal 1.0.1811.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
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
Select-String .\file.m3u -Context 0,1 -Pattern "^(#EXTINF:.*\bHD$)|(#EXTM3U)|(#EXT-X-SESSION-DATA)" | | |
foreach { | |
$_.Line | |
if($_.Line -match "^#EXTINF:.*\bHD$") { $_.Context.PostContext[0] } | |
} > .\file_hd.m3u |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\Edit with Sublime] | |
"Icon"="C:\\\\Program Files\\\\Sublime Text\\\\sublime_text.exe" | |
[HKEY_CLASSES_ROOT\*\shell\Edit with Sublime\command] | |
@="C:\\Program Files\\Sublime Text\\sublime_text.exe \"%1\"" | |
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
function global:Measure-Time | |
{ | |
[CmdletBinding()] | |
param ([string] $Command, | |
[string] $Arguments = "", | |
[switch] $Silent = $false | |
) | |
$creation = 0 | |
$exit = 0 |
OlderNewer