notes

Share WiFi via Ethernet on Gnome 3.20

07 Aug 2016 - 1 minute read
categories: foss notes tags: fedora gnome linux

There is a hidden method to share your WiFi over Ethernet in the latest Gnome. I stumbled upon this while trying to connect my RaspberryPi 3B with my University’s Internet. Type nm-connection-editor in your terminal. Add a shared network connection by pressing the Add button. Choose Ethernet from the list and press Create. Click IPv4 Settings in the left. Choose Shared to other computers by clicking the Method drop-down menu.

Serverside and Clientside Redirection

23 Apr 2011 - 3 minute read
categories: notes tags: php js

Redirection can be achieved Server-Side or Client-Side. Redirection on client side involves the following steps: User requests a Page using an URI. Server sends a page based on that. That page will have JavaScript that will redirect user to another page. So, again server will get the request for the new page and then server will give response based on new request. That implies: Client-side -> Server-side -> Client-side -> Server-side -> Client-side.

Some Useful Javascripts

28 Sep 2010 - 2 minute read
categories: notes tags: js

I have collected some nice java-scripts that are really useful, Just copy and paste them in your browser’s address bar:- This code lets you edit any page/website in real-time. With Firefox, you can even edit and save the modified pages to your computer. This is a really cool script, very useful! javascript:document.body.contentEditable='true'; document.designMode='on'; void 0 There are times when you are not sure that the website that you are visiting is authentic.