Recently Created Pages

Python to Generate Random Strong Passwords

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

Created 1 month ago by Ahmet Faruk Bişkinler
Last updated 1 month 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 4 months ago by Ahmet Faruk Bişkinler
Last updated 4 months 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 4 months ago by Ahmet Faruk Bişkinler
Last updated 4 months 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 5 months ago by Ahmet Faruk Bişkinler
Last updated 5 months 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 5 months ago by Ahmet Faruk Bişkinler
Last updated 5 months ago by Ahmet Faruk Bişkinler
Linux
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 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year 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 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year 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 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year 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 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year ago by Ahmet Faruk Bişkinler
Java
Page is not in a chapter

Get index of a list

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

Created 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year 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 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year ago by Ahmet Faruk Bişkinler
Python
Page is not in a chapter

UUID

  >>> import uuid>>> uuid.uuid4()UUID('5361a11b-615c-42bf-9bdb-e2c3790ada14')

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

Python rename all files in a folder from a reference file.

Python to rename file in a folder occurding to a tab seperated settings file. rename_files.py #...

Created 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year ago by Ahmet Faruk Bişkinler

ArrayList sorting/sıralama

// Arraylist sorting/sıralama List<Fruit>  fruits = new ArrayList<Fruit>();Fruit f...

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

File info

 // File typefileType = Files.probeContentType( new File("/path/to/file/ahmet.txt").toPath() );/...

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

sudoers

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

Created 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year ago by Ahmet Faruk Bişkinler

CentOS SELinux Settings

Security-Enhanced Linux (SELinux) settings [root@biskinler.com ~]# setsebool -P antivirus_can_sc...

Created 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year ago by Ahmet Faruk Bişkinler

~/.bash_profile

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

Created 1 year ago by Ahmet Faruk Bişkinler
Last updated 5 months ago by Ahmet Faruk Bişkinler

NANO ShortCut

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

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

MC Shortcuts

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

Created 1 year ago by Ahmet Faruk Bişkinler
Last updated 1 year ago by Ahmet Faruk Bişkinler
Linux
Page is not in a chapter
Back to top