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
>!u::Send {Text}ü ; RAlt+u => ü | |
>!+u::Send {Text}Ü ; RAlt+Shift+u => Ü | |
>!a::Send {Text}ä ; RAlt+a => ä | |
>!+a::Send {Text}Ä ; RAlt+Shift+a => Ä | |
>!o::Send {Text}ö ; RAlt+o => ö | |
>!+o::Send {Text}Ö ; RAlt+Shift+o => Ö | |
>!s::Send {Text}ß ; RAlt+s => ß |
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
if (!(Test-Path -Path "c" -PathType Container)) { | |
mkdir "c" | |
} | |
$files = Get-ChildItem ("*.mp4", "*.mov") | |
$index = 0 | |
$total = $files.Length | |
foreach ($file in $files) { | |
$index++ | |
Write-Host "***** ($index/$total) $($file.Name)" -ForegroundColor Magenta | |
ffmpeg -hide_banner -i $file -map_metadata 0 -movflags use_metadata_tags -c:v libx265 -preset slow -crf 26 -c:a aac -b:a 64k $("c\" + $file.BaseName + ".mp4") |
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
[CmdletBinding()] | |
param( | |
[Alias("i")]$inputFiles, | |
[Alias("op")]$outputPath | |
) | |
if ($null -eq $inputFiles) { | |
$inputFiles = ("*.mp4", "*.mov") | |
} | |
if ($null -eq $outputPath) { | |
Write-Host -ForegroundColor Cyan "Output path not provided. Defaults to '.\c'" |
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
var ActiveDirectory = require('activedirectory2'); | |
var config = { url: 'ldap://sgdc.SYSTEMGROUP.NET', | |
baseDN: 'dc=systemgroup,dc=net', | |
username: '[email protected]', | |
password: 'your_password' } | |
var ad = new ActiveDirectory(config); | |
var query = 'sAMAccountName=MohammadHD'; | |
ad.find(query, function(err, result) { |
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
var LdapAuth = require('ldapauth-fork'); | |
var ldap = new LdapAuth({ | |
url: 'ldap://sgdc.SYSTEMGROUP.NET', | |
bindDN: "[email protected]",//"CN=MohammadHasan Dehghan,OU=Users,OU=MIS,OU=VNK,OU=SG Main,DC=systemgroup,DC=net", | |
bindCredentials: 'your_password', // <-- supply a valid email and password | |
searchBase: 'DC=systemgroup,DC=net', | |
searchFilter: '(|(samaccountname={{username}})(mail={{username}}))', | |
reconnect: true | |
}); |