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...

Created 5 years ago by Ahmet Faruk Bişkinler
Last updated 5 years ago by Ahmet Faruk Bişkinler
Java
Page is not in a chapter

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...

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter

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....

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter

Python to Generate Random Strong Passwords

  import os, random, stringrnd = random.SystemRandom()chars = string.ascii_letters + string.dig...

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler
Python
Page is not in a chapter

zAllStatus.sh

zAllStatus.sh #!/bin/shEscape="\033";Reset="${Escape}[0m";BlackF="${Escape}[30m"; RedF="${Escape...

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter

https://web.whatsapp.com XPaths

https://web.whatsapp.com XPaths for parsing informations You can test it with:XPath Helperhttps:...

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler
HTML
Page is not in a chapter

MongoDB Restore from Zip File

  . zMongoRestore.sh CRM CRM.zip #!/bin/shEscape="\033";Reset="${Escape}[0m";BlackF="${Escape}...

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler

MongoDB BackUp as Zip

Tested on 2.6.0 . zMongoBackUp.sh CRM #!/bin/shEscape="\033";Reset="${Escape}[0m";BlackF="${Esc...

Created 6 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter

~/.bash_profile

Example of my ~/.bash_profile file. PS1=Change Bash Prompt (PS1) color based on your environment...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 6 years ago by Ahmet Faruk Bişkinler

Tomcat Unix init.d Script (start,stop,status,restart,kill...)

  #!/bin/bash # description: $zTomcatName Start Stop Restart # processname: $zTomcatName ...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler
Java
Page is not in a chapter

About Me/Hakkımda

Ahmet Faruk Bişkinler Bilgisayar Mühendisi Yeni öğrendiklerimi ve kendim için kullanışl?...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler
Other
Page is not in a chapter

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:$...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler

/bin/custom/zzGetStatus.sh - Get process running status

/bin/custom/zzGetStatus.sh #!/bin/sh#!/bin/bash# Daha fazla bilgi icin / For more information:# ...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler

/bin/custom/zzGetProperties.sh - Bash Read Properties File Key

 /bin/custom/zzGetProperties.sh #!/bin/sh#!/bin/bash# Daha fazla bilgi icin / For more informat...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler

MC Shortcuts

MC = Midnight Commander   # MCCtrl+s    Search in listAlt+i    Clone the panel to the ot...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter

NANO ShortCut

nano is a text editor for Unix-like computing systems or operating environments using a command...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter

CentOS SELinux Settings

Security-Enhanced Linux (SELinux) settings [[email protected] ~]# setsebool -P antivirus_can_sc...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler

sudoers

To add and edit sudoers run command visudovim /etc/sudoers root        ALL=(ALL:ALL) ALL...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler

Get index of a list

Get list's index #index>>> S = [1,30,20,30,2]>>> for index, elem in enumerate(...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler
Python
Page is not in a chapter

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...

Created 7 years ago by Ahmet Faruk Bişkinler
Last updated 7 years ago by Ahmet Faruk Bişkinler
Python
Page is not in a chapter
Back to top