Blog of random things

Wednesday, March 12, 2025

Python reading file in reverse - efficient way

›
Efficiently Reading a File in Reverse in Python Efficiently Reading a File in Reverse in Python def read_file_reverse_efficient...

Medium / Hard - Python file based questions - 1

›
Python Coding Questions Python Coding Questions Medium Question: Write a Python function to check if a given port is open on ...
Tuesday, March 11, 2025

Easy python question - file based - 1

›
Python File Operations Python File Operations Check if a File Exists import os def check_file_exists(filepath): if os.pa...
Saturday, August 26, 2023

Shell script to find Public IP address in GCP

›
 Lets say you have a public ip that you bought and assigned to one of the instance in GCP project, you can use the below shell script to fin...
Thursday, June 15, 2023

Sarjapur Road Apartment Price list 2023 - Bengaluru India

›
₹ ₹ Per SQFT Apartment SQFT 2.10 Cr 11345 Meridian Park Phase I at The Prestige City 1851 1.35 Cr 12582 Mana Capitol 1073 ...

Jenkins Active Choice Parameter - PT_SINGLE_SELECT

›
 In Jenkins Active Choice Parameter, PT_SINGLE_SELECT is the simplest form where it returns the values in list. In UI it appears as a dropdo...
Thursday, July 12, 2018

Sync sync sync to clear cache RAM in Linux

›
If you want to clear the RAM in cache, which you can see in free command use the following. sync; echo 1 > /proc/sys/vm/drop_caches A...
›
Home
View web version
Powered by Blogger.