- higuma/wav-audio-encoder-js [deprecated]
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
function logo | |
# Define Variables | |
set windowWidth (tput cols) | |
set windowHeight (tput lines) | |
set windowMinViewport (math min "$windowWidth, $windowHeight") | |
set showLogo test $windowWidth -gt 50 -a $windowHeight -gt 20 | |
if $showLogo | |
set logoWidth 34 | |
set logoHeight 18 |
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
[alias] | |
c = commit -m | |
ca = commit -am | |
cl = clone | |
cl1 = clone --depth=1 | |
cb = "!git fetch -p && for branch in $(git for-each-ref --format '%(refname) %(upstream:track)' refs/heads | awk '$2 == \"[gone]\" {sub(\"refs/heads/\", \"\", $1); print $1}'); do git branch -D $branch; done" # clean branch | |
pl = pull --prune --progress --autostash --rebase | |
p = push | |
pp = push --prune | |
pa = push --all |
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
export ZSH="/home/zamanian/.oh-my-zsh" | |
export LANG=en_US.UTF-8 | |
ZSH_THEME=refined | |
VSCODE=code-insider | |
plugins=( | |
aliases | |
archlinux |
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
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
exports.Convert2SimpleText = void 0; | |
exports.Convert2SimpleText = function (word) { | |
return (word | |
.replaceAll('\u0610', '') //ARABIC SIGN SALLALLAHOU ALAYHE WA SALLAM | |
.replaceAll('\u0611', '') //ARABIC SIGN ALAYHE ASSALLAM | |
.replaceAll('\u0612', '') //ARABIC SIGN RAHMATULLAH ALAYHE | |
.replaceAll('\u0613', '') //ARABIC SIGN RADI ALLAHOU ANHU | |
.replaceAll('\u0614', '') //ARABIC SIGN TAKHALLUS |
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
def main(): | |
print("Python Application Run") | |
## Write Python Application: | |
if __name__ == "__main__": | |
main() |
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
function star_center(n) | |
for i = 1:2:n | |
print(repeat(' ', Int(ceil((n - i) / 2)))) | |
print(repeat('*', i)) | |
println(repeat(' ', Int(ceil((n - i) / 2)))) | |
end | |
end | |
star_center(10) |