I hereby claim:
- I am mavaddat on github.
- I am mavaddat (https://keybase.io/mavaddat) on keybase.
- I have a public key whose fingerprint is A0F1 C894 5FA0 3F0A 40AB B121 9667 69C3 1FD6 37A1
To claim this, I am signing this object:
#!/bin/bash | |
LOG="/path_to_save_logs" | |
echo "Start backup web `date`" >> $LOG | |
cd /folder_to_save | |
FECHAF=`date +%Y.%m.%d` | |
mkdir $FECHAF | |
cd $FECHAF | |
FECHA=`date +%-m-%-d-%Y` |
I hereby claim:
To claim this, I am signing this object:
$ebookLibraryPath = '.\OneDrive\Documents\Ebook Library\' | |
Function Get-Empties { | |
PARAM($targetPath) | |
Return Get-ChildItem -Path $targetPath -Recurse | Where { $_.PsIsContainer -eq $true } | Where { $_.GetDirectories().Count -eq 0 -and ($_.GetFiles().Count -eq 0) -or ($_.GetFiles().Count -eq 1 -and $_.GetFiles().Name -match "(?i)(.*?)\.opf$")} | |
} | |
$failed = @{} | |
$toEmpty = Get-Empties $ebookLibraryPath | |
Function Write-Log { | |
Param ( [parameter(Mandatory=$true, |
# Download latest dotnet/codeformatter release from github | |
$repo = "dotnet/codeformatter" | |
$file = "CodeFormatter.zip" | |
$releases = "https://api.github.com/repos/$repo/releases" | |
Write-Host Determining latest release | |
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name |
/senv.sublime-* | |
/WindowTabsSettings.txt |
function Java-CompileRun { | |
Param( | |
[Parameter(Mandatory=$true)] | |
[String] | |
$javaFile, | |
[Parameter(Mandatory=$false)] | |
[String] | |
$path=$PWD, | |
[Parameter(Mandatory=$false)] | |
[String] |
function Get-Dependencies { | |
[CmdletBinding()] | |
param ( | |
[Alias("CP", "ClassPath")] | |
[Parameter(Mandatory = $false)] | |
[string] ${Class-Path} = "F:\lwjgl-release-3.2.3-custom\", | |
[Alias("File", "JavaFile", "Target")] | |
[Parameter(Mandatory = $true)] | |
${Target-JavaFile} |
#!/bin/bash | |
readonly GITHUB_PATH=~/Documents/GitHub | |
function compileRun () { | |
r () { | |
if [ $1 -eq 0 ] | |
then #compiled successfully | |
java $2 | |
return 0 | |
else #compile failed |
1 | |
00:00:01,168 --> 00:00:02,702 | |
INSTALL A LOYALIST AS THE | |
2 | |
00:00:02,703 --> 00:00:03,703 | |
DIRECTOR OF NATIONAL | |
3 | |
00:00:03,704 --> 00:00:04,904 |
# Description: Ask a user to answer a question with either yes or no. | |
# Example use: | |
# If (Ask-YesOrNo) | |
# { | |
# # User has confirmed | |
# ... | |
# } | |
# Else | |
# { |