Recently Updated Pages
Java 8 Create Parent Folder and Writing/Reading File
Java 8 Create Folder and Writing/Reading File public class CreateFolderAndWrite { public stati...
Download and add YUM Repo in one command
Download and add YUM Repo in one command wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.r...
Write more then one file at single command using cat
Write more then one file at single command using cat cat > .npmrc <<EOFproxy=http://10....
Python to Generate Random Strong Passwords
import os, random, stringrnd = random.SystemRandom()chars = string.ascii_letters + string.dig...
zAllStatus.sh
zAllStatus.sh #!/bin/shEscape="\033";Reset="${Escape}[0m";BlackF="${Escape}[30m"; RedF="${Escape...
https://web.whatsapp.com XPaths
https://web.whatsapp.com XPaths for parsing informations You can test it with:XPath Helperhttps:...
MongoDB Restore from Zip File
. zMongoRestore.sh CRM CRM.zip #!/bin/shEscape="\033";Reset="${Escape}[0m";BlackF="${Escape}...
MongoDB BackUp as Zip
Tested on 2.6.0 . zMongoBackUp.sh CRM #!/bin/shEscape="\033";Reset="${Escape}[0m";BlackF="${Esc...
~/.bash_profile
Example of my ~/.bash_profile file. PS1=Change Bash Prompt (PS1) color based on your environment...
Tomcat Unix init.d Script (start,stop,status,restart,kill...)
#!/bin/bash # description: $zTomcatName Start Stop Restart # processname: $zTomcatName ...
About Me/Hakkımda
Ahmet Faruk Bişkinler Bilgisayar Mühendisi Yeni öğrendiklerimi ve kendim için kullanışl?...
RegEx Find: day.month.year Replace: year_month_day
RegEx Find: day.month.year Replace: year_month_day Find: (\d{2}).(\d{2}).(\d{4}) Replace:$...
/bin/custom/zzGetStatus.sh - Get process running status
/bin/custom/zzGetStatus.sh #!/bin/sh#!/bin/bash# Daha fazla bilgi icin / For more information:# ...
/bin/custom/zzGetProperties.sh - Bash Read Properties File Key
/bin/custom/zzGetProperties.sh #!/bin/sh#!/bin/bash# Daha fazla bilgi icin / For more informat...
MC Shortcuts
MC = Midnight Commander # MCCtrl+s Search in listAlt+i Clone the panel to the ot...
NANO ShortCut
nano is a text editor for Unix-like computing systems or operating environments using a command...
CentOS SELinux Settings
Security-Enhanced Linux (SELinux) settings [[email protected] ~]# setsebool -P antivirus_can_sc...
sudoers
To add and edit sudoers run command visudovim /etc/sudoers root ALL=(ALL:ALL) ALL...
Get index of a list
Get list's index #index>>> S = [1,30,20,30,2]>>> for index, elem in enumerate(...
Write base64 encoded image Data from DB to local file
Write base64 encoded image Data from DB to local file fh = open("imageToSave.png", "wb")fh.write...