Category: General

  • Dark Web Websites

    Dark Web Websites are sites that can only be accessed using tor. Tor websites using domains name with .onion extension (LTD). Tor uses multiple servers to anonymize traffic, so no one will be able to find a visitor’s IP address or where a website is hosted. Onion websites are referred to as hidden services as no one will be able to find who is hosting the site.

  • Redirect Subdomain to Subdirectory

    To redirect a subdomain to a subdirectory, use following .htaccess code.

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(.*)\.domain\.com
    RewriteRule ^(.*)$ subdomains/%1/$1 [L,NC,QSA]
    

    Redirect Subdirectory to Subdomain

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www\.)?example\.com$
    RewriteRule ^/?subdomain/(.*)$ https://subdomain.example.com/$1 [R=301]
    

    See htaccess

  • DaVinci Resolve

    DaVinci Resolve is a free video editor. Here are some useful shortcuts.

    Navigation Commands

    Up/Down Arrow = Move to next/previous clip.
    L = Play (forward)
    J = Play (reverse)
    K = Stop
    

    Cut Video

    Ctrl + Shift + [ = left ripple trim
    Ctrl + Shift + ] = right ripple trim
    Ctrl + b = split video (blade tool)
    

    Time line

    Alt + Mouse Scroll Wheel = zoom in/out the timeline.
    Shift + z = timeline fit in the screen
    

    To convert video into Davinci Resolve supported format using ffmpeg, run

    ffmpeg -i FILE.mp4 -vcodec mpeg4 -acodec libmp3lame -f mov FILE.mov
    

    Or

    ffmpeg -i FILE.mp4  -c:v libxvid -force_key_frames "expr:gte(t,n_forced*1)" -r ntsc-film -b:v 250000k -c:a pcm_s16le FILE.mov
    

    When I converted a 66 MB mp4 video using the above FFmpeg command, the resulting file size was 1.1 GB

    Convert audio

    ffmpeg -i FILE.ogg -c:a pcm_s16le FILE.wav
    
  • common ports used by services

    Here are common ports used by various software and services.

    21 FTP Server

    25 SMTP SERVER, EXIM, MAIL ENABLE, HMAILSERVER, etc

    53 DNS SERVER

    80 WEB SERVER (iis, apache)

    110 POP3

    135 Windows RPC, Remote Procedure Calls

    139 NetBIOS Session (TCP), Windows File and Printer Sharing

    143 IMAP

    445 Windows Server Message Block, NetBIOS, File Sharing

    1433 MS SQL

    3306 MYSQL

    3389 DRP, Windows Remote Desktop

    8081 Error loading stylesheet: Parsing an XSLT stylesheet failed. (on windows 2003 servers)

    8086 HELM Control Panel (windows)

    9418 git demon port

  • How to open support request with Microsoft 365

    Login to Microsoft 365 admin center, from the left side menu

    Microsoft 365 admin center menu

    Click on “New service request” link.

    A popup will show on the right side of the screen.

    On the search box, search for your problem, you will find helpful articles with solutions to your problem. If the help articles did not solve your problem, click on the “Contact support’ button at the bottom of the page.

    Contact Microsoft 365 support

    On the next page, you will see your Microsoft 365 reseller support details. At the bottom of the popup, you will see a button to contact Microsoft support.

    Once you submit a support ticket, Microsoft support will call you and work with you on screen share using the Quick Assist app on Windows.

  • How to remove the Google Chrome Reading List

    Reading List is a new experimental feature added to google chrome browser version 89. It allows you to quickly save web pages into a list for reading later. Many of us keep too many browser tabs open because we need to read them and don’t have time to read it now, in such cases, it is better just add the web pages to your reading list and close the tab.

    Google Chrome Reading list

    How to add a web page to Reading List

    To add a page to Google Chrome Reading list, you can right click on the browser tab title, then select “Add tab to reading list” option

    Add tab to reading list in google chrome browser

    Other way is to click on the star icon (Bookmark this tab) right side of the address bar. Previously clicking on this star bring the bookmark screen. Now it ask you to select if you need to bookmark the page or add to reading list.

    Chrome Bookmark reading list

    Once a page is added to Reading list, it can be easily accessed from the Reading List menu on right side of bookmark bar. Once you read a page, you can remove it from the reading list.

    Disable Reading List

    If you don’t you the reading list feature, you can easily remove it. For this, take a new browser tab, in the address bar, type

    chrome://flags/#read-later
    

    On this screen, you can set reading list feature to disabled from the dropdown menu. Once this is done, on bottom of the browser, you get option to “Relanuch” the browser. Once you restart the browser, Reading List feature will be disabled.

    Chrome Disable Reading List

    See Google Chrome

  • How to change Name Servers in Crazy Domains

    How to change Name Servers in Crazy Domains

    To change Name servers in CrazyDomains, Log in to your Crazy Domains account.

    Crazy Domains

    Click on the Visit My Account button.

    Click Domains on the menu bar at the top of the page.

    Select manage from the left menu and select the domain that you wish to update.

    In the selected domain page scroll down, in Name servers section click modify and change name server then click update.

    See Name Server

  • enom

    Some ccTLD domains get deleted X days before the expiry date. You can find the list at

    https://docs.google.com/spreadsheets/d/1oVNszsvqhxh3hlT1LYMfcwq3lw_e6J7DeBePvN4t2aw/edit#gid=1203932299

    Sort by column “Deleted x days before expiry”. Look like this is specific to enom as they list .in domain get deleted 30 days before expiry date. I never seen this with my .in domains.

  • Reset NextCloud user password from command line

    Reset NextCloud user password from command line

    You can use lost password link in login page to reset password. If you don’t have a valid email set or mail server not working, you can reset the password using SSH.

    NextCloud users are stored in table oc_users. If you don’t know the user name, you can use following SQL command to see all available users.

    select * from oc_users;
    

    To reset password for a user, login to SSH, go to DocumentRoot for the web site. This is the folder where you uploaded NextCloud files. Then run

    php occ user:resetpassword USERNAME_HERE
    

    On following screenshot, i reset password for user “admin”.

    nextcloud password reset command line

    It will ask you to enter password 2 times.

    See NextCloud

  • Maildev – Fake SMTP server for development

    Maildev – Fake SMTP server for development

    maildev is a fake SMTP server + interface to read the mail. It is useful for web developers during development stage where they don’t want email sents to read email address.

    maildev fake smtp server

    To run maildev using docker, run

    docker run -p 1080:80 -p 25:25 maildev/maildev
    

    Now you will be able to access web interface to read emails on port 1080

    http://your-server-ip:1080
    

    Fake SMTP server will be listening on Port 25. No authentication required. It work like an Open relay SMTP server with no autentication.

    If you keep it running, you will see some Spam mails in your inbox as spamers try to send email using your maildev fake SMTP server, that end up in your web interface instead of actual recipient they sending the mail to.

    To test, you can sent a mail using swaks or telnet

    swaks --to [email protected] --server  MAILDEV_SERVER_IP_HERE
    
  • Customer Relationship Management

    Customer Relationship Management (CRM) allow you to manage customers.

    HubSpot

    Fre plan allow unlimited users, unlimited contacts, shared inbox and ticket system. Look like a good system to use as shared inbox/helpdesk. They have google chrome extension, that integrate with gmail/google workspace so all emails get tracked in CRM with read notifications.

    https://hubspot.com/

    Agile CRM

    Free for upto 10 users. Helpdesk.

    https://www.agilecrm.com

    Bitrix24

    Bitrix24 is Open source CRM. Paid and Free Options available.

    https://www.bitrix24.com/uses/free-open-source-crm-software.php

    See ERP