Posts

Tor hash-password for Windows 10

Image
Apparently this is a known bug that when your run tor.exe from the command line it is running but opens in a hidden window. To get around this, run the following:  tor --hash-password *your_password* | more . Hopefully this works. See more about the issue  here . And original poster  https://tor.stackexchange.com/a/9145. Credit goes to [ tomcraft ]

Open *.npy- Numpy file easy to read mode

Image
Sometimes its required to open Numpy file in easy to read mode but its challenging sometimes to find an editor or reader which can open. When you open the file and read the numpy array we see multiple error either display is not showing complete data, due to size. import numpy as np #from matplotlib import pyplot as plt #import matplotlib import glob #f= open("data.txt","w+") for filename in glob.glob( "*.*" ): if '.npy' in filename: load = np.load(filename) print (filename) print (load) Still the display on editor is : x_test.npy [[[0 0 0 ... 0 0 0]   [0 0 0 ... 0 0 0]   [0 0 0 ... 0 0 0]   ...   [0 0 0 ... 0 0 0]   [0 0 0 ... 0 0 0]   [0 0 0 ... 0 0 0]] Now I struggled to find the right way to open and see what's inside Numpy file. Then i found in blog, all windows based python installer comes with Spyder IDE. Open using Spyder with the following steps and load the Numpy file: ...

Install LAMP :Linux, Apache, MySQL(Mariadb), PHP 7.3 On CentOS 7

The Following tutorial is about installing LAMP on CENTOS 7 Do the update and upgrade to latest version: rprasad@localhost:~$ cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) rprasad@localhost:~$ sudo yum clean all [sudo] password for rprasad: Loaded plugins: fastestmirror Cleaning repos: base epel extras mongodb-org-4.0 remi-php73 remi-safe updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned d                                                                                                             ata from disabled or removed repos Cleaning up list of fastest mirrors rprasad@localhost:~$ sudo yum update Loaded plugins: fastestmi...

Installing, Configuring and Managing SVN Repository

1) Download  TortoiseSVN  and Install it on SVN client machine URL:  https://tortoisesvn.net/downloads.html 2)

Installing And Configuring SVN Repository on CentOS7.x

Image
1) Download and Install Subversion package: yum install mod_dav_svn subversion 2) Configure subversion : vi /etc/httpd/conf.modules.d/10-subversion.conf 3) Adding new user: htpasswd -cm /etc/svn-auth-users <username> 4)Create and Configure Subversion- Repositiory: 5)Additional step if SELinux is enabled : 6) Firewall Configuration for HTTP & HTTPs: 7) Enable and Start the HTTP: 8) Verify with your browser: NOTE: this is my local network IP. In your case it should be the IP address for your Linux machine in which you are installing. 9) Disable Anonymous:

Git -For beignner (Tutorial) -- Conclusion

Image
Git- Merge your PULL request 1) Click "Merge pull request" 2) Confirm Merge 3) Delete branch, as merge has incorporated the changes. 4) Verify there is no more branches

Git -For beignner (Tutorial) -- Part4

Image
Git- Pull Request 1) Click Pull Request, new page with PULL request 2) Select new branch created 3)Look for the changes done 4) Create new PULL request 5) Give pull request a title and write brief