Posts

Showing posts with the label Geek Stuff

How to Empty Recycle Bin in Linux Mint

open a terminal window launch the following command sudo aptitude install trash-cli Linux will ask you for the superuser password Reply to the questions with “y” or “Y” The following NEW packages will be installed: python-pkg-resources{a} trash-cli The following packages will be REMOVED: libllvm11{u} libxcb-xtest0{u} linux-modules-extra-5.4.0-67-generic{u} linux-modules-extra-5.4.0-72-generic{u} 0 packages upgraded, 2 newly installed, 4 to remove and 77 not upgraded.Need to get 154 kB of archives. After unpacking 486 MB will be freed.Do you want to continue? [Y/n/?] yGet: 1 http://archive.ubuntu.com/ubuntu focal/universe amd64 python-pkg-resources all 44.0.0-2 [129 kB]Get: 2 http://archive.ubuntu.com/ubuntu focal/universe amd64 trash-cli all 0.17.1.14-2ubuntu1 [24,2 kB]Fetched 154 kB in 0s (615 kB/s) simply watch the script search for unnecessary files on your system: (Reading database ... 460254 files and directories currently installed.)Remo...

How To Check Wifi Monitor Mode in Linux

open a terminal window execute the following command: wassim@wassim-PC:~$ iw list You will get a list of supported capabilities: wassim@wassim-PC:~$ iw listWiphy phy0 max # scan SSIDs: 4 max scan IEs length: 2257 bytes max # sched scan SSIDs: 0 max # match sets: 0 max # scan plans: 1 max scan plan interval: -1 max scan plan iterations: 0 Retry short limit: 7 Retry long limit: 4 Coverage class: 0 (up to 0m) Device supports RSN-IBSS. Device supports AP-side u-APSD. Device supports T-DLS. Supported Ciphers: * WEP40 (00-0f-ac:1) * WEP104 (00-0f-ac:5) * TKIP (00-0f-ac:2) * CCMP-128 (00-0f-ac:4) * CCMP-256 (00-0f-ac:10) * GCMP-128 (00-0f-ac:8) * GCMP-256 (00-0f-ac:9) * CMAC (00-0f-ac:6) * CMAC-256 (00-0f-ac:13) * GMAC-128 (00-0f-ac:11) * GMAC-256 (00-0f-ac:12) Available Antennas: TX 0x1 RX 0x1 Configured Antennas: TX 0x1 RX 0x1 My wifi card is named phy0. Under the name of your wifi card look for the line “supported interfaces modes”: Supported interface modes: * IBSS...

How a Mere XML Sitemap Error Revealed A Shocking Fact

Image
Introduction An XML Sitemap is required to allow search engines to easily crawl and index your blog. As a full-time network engineer and hobby blogger, I had not much time to build my own sitemap. So, like all blog folks out there, I used plugins to generate it. This article shows you how a simple XML Sitemap error can hide more that you think. XML Sitemap error I got since more than 3 months a weird XML sitemap error message: XML declaration allowed only at the start of the document XML declaration allowed only at the start of the document I first thought it was due to the Yoast SEO plugin. Therefore I deactivated the Yoast-generated XML sitemap. deactivating yoast seo xml sitemap and installed another sitemap plugin which generated a correct (at least to my eyes) XML sitemap. However, Google search console still flags my blog as Soft 404. I spent whole weekends and vacation days trying to reverse engineer the reason behind this Google rejection. blog pages are excluded from google A...

Network Automation Concepts

NETCONF: NETwork-CONFiguration-based API uses XML can be coupled to YANG YANG: Yet Another Next Generation is a data model based on XML constructs named XPath is human readable, thus easier to interpret than XML. NETCONF with YANG is a popular combination among network engineers. However, NETCONF is network-centric while REST API is widely popular in the IT community. Github: a popular public repository of sample codes. There is a saying among network engineers that says “steal with pride. Don’t reinvent the wheel”. So leverage Github codes and customize them to your needs.

Postman In The World Of Decepticon

Image
In this quick tutorial we learn how to get Postman, how to install it and how to use it to connect to Cisco ACI . Getting it from Chrome Postman was popular with its extension for Google Chrome. So the first thing you probably did is navigating to Google Chrome Web Store and downloading the extension. Then to access the Postman extension, type on the following URL on Google Chrome: chrome://apps/ You should see an icon now: A window loads for seconds then displays the following message: This Chrome App is being deprecated. You can ignore the message and continue to the next menus. The Postman dashboard will load normally. But I recommend to use the native App instead because it will be the future of Postman development, which takes us to the next paragraph. If you installed both the Chrome extension and the native app, then they will both appear on your computer. Click on this icon: Native app Go to Postman webpage and download the version that fits your computer OS. Run the normal in...

How to Plan Shutdown of Windows 7

Planning a shutdown of Windows You must have an administrator account. open a command line interface do “shutdown -s -t xxx” where xxx is the number of seconds after which the system will shutdown. Cancel a shutdown Again you need administrator privileges. To cancel a shutdown job, do a “shutdown /a”  

Cisco Digital Media Player Initial Configuration

Image
In this short article we learn how to configure one popular digital media player, the Cisco Edge 300. The Edge 300 does not come with an initial IP address. It needs to be set with a DHCP server. So you should connect a DHCP server to one of the four Ethernet ports the digital media player has. There is a freeware DHCP server called TFTPD64. It’s simple and easy to use. set the DHCP server with adequate parameters. The most basic ones are: the DHCP starting address of the pool the pool size the subnet mask the IP gateway Connect your computer directly to the Cisco Edge 300 with a straight-through Ethernet cable . there is little time after the device gets an IP address through DHCP. You must be quick to enter the web GUI and make the ip address allocation static: Open a web browser connect to the device URL with https://{ IP address }. You’ll land on the Welcome page. in the digital media player home page, go to Basic Scroll down to the IP Configuration section. Change the value...

How to create a Gmail filter

Image
Tired of manually placing incoming email into folders? Exhausted from deleting junk email and reporting it as spam? a Gmail filter is the answer you need. Gmail filters allow to apply a certain treatment to your flow of incoming mail. With a Gmail filter, you can label mails, add a star, move to a folder or even to spam. Here is how to do it: Go to your Gmail account in the search area, click on the down arrow Figure: the down arrow is at the right of the search box. type your search criteria. For example, I’m going to search for all emails coming from Neil Patel Figure: Typing “Neil Patel” in the “From” section of the search box. To create a filter, click on the bottom link Create filter with this search Figure: Click on the link to launch the Filter setup menu set the type of action you’d like to see. For example, I’m going to direct all incoming mails from Neil Patel to a new folder called Blogging. Note that, in Gmail, folders are associated with “label...

Master Your Bookmarks With Evernote

Image
I use Evernote on both my home computer and office computer to bookmark my favourite websites into an online store. After reading this Evernote tutorial you will be able to do the same too. What is Evernote and what does it do? The beauty of bookmarking sites is they are location-independent, which means you can reach your documents and bookmarks from anywhere in the world, with only a computer and ain internet connection. Evernote is a web clipping tool that helps you store your favourite web pages in a virtual notebook. It comes in two major forms: an online version: the most famous one. This allows you to access your files from any device connected to the internet, a desktop version: this is a software that you donwload and install on your computer. I only tried the Windows version. It can be set to synchronize with your web account and download the files that you clipped while surfing the web. Evernote can be used to store the following purposes: songs technical articles motivation...

How to Restore The Default Blank Page on Firefox

Image
Firefox is a popular browser used by more than 11% of the Internet users around the world according to Wikipedia . I still use it for regular Internet surfing. A nice Firefox feature I like is window tabbing. However, a while ago I noticed that, each time I press “CTRL-T” to open a new tab, I get “www.google.com” in it. And that’s annoying because I often times copy a URL and quickly want to paste it in the new tab URL field. Restoring the default blank page on Firefox I tried to change the settings in the Options menu –> Options. But it seemed like Firefox did not take it into account. The solution I found was to play with Firefox variables: In the Firefox URL field, type about:config A warning message displays. Hit “ I’ll be careful, I promise ” In the Search field, type “ browser.newtab.url ” and hit Enter. You’ll see that the value field displays “www.google.com” double-click on the entry. In the Enter String Value , type “ about:blank ” and hit Enter. Now the browser.newtabl.ur...

How To Display Picture Thumbnails in Windows 7

Image
You’ve taken beautiful photos in your vacation and you want to go straight to the photo where you have the Eiffel Tour behind you. But all your photos are named SAM_xxxx and you don’t know which one you must click on. What’s happening? It’s not a problem on your machine. It’s simply a Windows default behaviour. In fact, Windows 7, by default, does not display picture thumbnails. Instead, it displays icons. It’s not really a useful setting from Microsoft. But it can be corrected. Hopefully this little trick helps you display thumbnails of your photos and videos. Here’s how: Go to Start –> Control Panel, In Control Panel, go to System In System, go to Advanced System Settings Go to Performances and click on Parameters Under Visual Effects tab, search for Show thumbnails instead of icons and check the box Click on Apply Once you have done that, all your pictures will be visible in thumbnails.    

Using Msconfig To Speed Computer Startup

Image
Months or even years after you bought your last computer, it seems there are some programs that make your computer boot slower than before. A simple and free tool to use is Microsoft Windows Msconfig. This command allows you to control which programs and services run at computer startup. How to use Msconfig I am using a French keyboard by the way. Go to Start then type this command: msconfig A System configuration window opens. In the fourth tab, uncheck all the programs you don’t want to load at startup. For example, I have Winamp that starts with Windows. I simply uncheck it and click on Apply . Windows asks you to either restart your computer or close the window without restarting. I prefer the second option.