JavaScript’s window.location Object
If you need current browser location information, the JavaScript's window.location object gives you all of that information about the window's current location.
<![CDATA[// <![CDATA[ // ]]]]><![CDATA[>]]>

pixel skylines
Today's Document
tumblr dot com
Misplaced Lens Cap
No title available
Noah Kahan
taylor price

tannertan36
untitled
let's talk about Bridgerton tea, my ask is open
I'd rather be in outer space 🛸
ojovivo

if i look back, i am lost
Cosmic Funnies

No title available
🩵 avery cochrane 🩵
Aqua Utopia|海の底で記憶を紡ぐ

Discoholic 🪩
The Stonewall Inn
Game of Thrones Daily
seen from Saudi Arabia
seen from Malaysia
seen from United States
seen from Saudi Arabia
seen from Switzerland
seen from Malaysia
seen from Philippines
seen from Singapore
seen from Italy
seen from United Kingdom

seen from Iraq
seen from Morocco

seen from Ireland
seen from Bulgaria

seen from Bangladesh
seen from Philippines
seen from Mexico

seen from United States
seen from United Kingdom
seen from Malaysia
@junkasajan-blog
JavaScript’s window.location Object
If you need current browser location information, the JavaScript's window.location object gives you all of that information about the window's current location.
<![CDATA[// <![CDATA[ // ]]]]><![CDATA[>]]>
HTML5 - WebSocket API Lifecycle
[JavaScript] Conjoin/ Join two arrays to create associative array
This joins two 1-D arrays to create associative array where each element is a key,value pair (one from each arrays)
For example,
arrayA = [1,2,3,4]
and
arrayB = ['aravind','prasath','aravind','prasath']
then,
on zipping you get,
resultArray = [1=>'aravind',2=>'prasath',3=>'aravind',4=>'prasath'];
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
HTML5 Adoption via Emulation
The biggest issue right now with web related specifications is browser adoption. The specs clearly state that at least two mainstream browsers must implement the standard to be considered complete. In most cases that tends to be Firefox, Opera, Safari, and Internet Explorer. The first of these three has always been adapt to adopting standards. The latter is only just beginning to catch up. This results in most of the web authors in the community from not utilizing new features as it results in having to maintain different sites for different browser capabilities. So, how do we change this?
First, as web authors, we need to start showing the promise of future specs like HTML5 in order for browser vendors to realize the promise and create a higher urgency to update their applications. But how can we implement new HTML 5 features without browser support? The answer to that is through emulation. If you look at many of the libraries already on the web, much of this is already in the works, even if not explicitly stated. For example, Google Gears allows authors to utilize the new HTML5 storage support. Javascript libraries such as jQuery support future CSS 3 selectors. The dojo javascript library provides many of the networking stacks and future AJAX support. The piece that is missing is a full emulation layer the builds on those already available but allow a document to be built on HTML5 and rendering the result on the client side.
Imagine the advancement for authors if an emulation layer existed. For example, rather than having to use the APIs within existing libraries to create a calendar control, you could simply drop a date input onto the page via HTML5’s <input type=”date” />. The emulator would pick up that tag and properly utilize the libraries to build the control. This simplifies author development, starts to show the promise of HTML 5, and helps the end user by providing the new features of HTML5. Similar to how browsers adapt pieces of the spec at a time, this emulation layer could provide the same result. However, rather than having to rely on browser developers to find time to build the feature, the emulation layer can use the open source community and the already existent libraries to more quickly adapt features. The features would be smart in that they would fall back to the native browser support, if provided. It would only emulate when non-compliant browsers are used. The end result of all of this is that we build HTML5 pages today and can easily drop the emulation libraries once full support is provided.
I plan to eventually create an open source project and host it to the open source community in order to drive this into existence. Over the next month I will be analyzing the HTML 5 spec and the already existent libraries to determine some various paths to proceed under. If anyone is interested in joining, shoot me an email or a comment. You can follow all of my progress on this blog.
Switch to Ubuntu
Fileconveyor for Drupal 7 on Ubuntu 11.10 - An example config.xml
<![CDATA[// <![CDATA[ // ]]]]><![CDATA[>]]>
Detailed presentation for setting up FileConveyor coming soon.
[Linux/Ubuntu] Number of files and folders in a directory
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
[PHP] Display the files and sub-folders of particular folder of your server into a tree using PHP
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
Sharing Wim Leers' Bachelor Thesis
How to upgrade drupal core from 7.x to another 7.x version
[Linux/Ubuntu] Get a file's size (in bytes)
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
It is generally a good idea to include the full path to the file, rather than just the filename.
[Linux/Ubuntu] Remove trailing text from filenames
<![CDATA[// <![CDATA[ // <![CDATA[ // <![CDATA[ // ]]]]]]]]><![CDATA[><![CDATA[><![CDATA[> // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
You can change the range between {} if you have files with extension longer than four chars.
Removes _1231 from great_1231.
No recursive option for rename. You need a bash script to go further.
It's a pity that on some system, like slackware, there's the "wrong" version.
[Linux/Ubuntu] Find the number of files in a directory
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
[Linux/Ubuntu] Find number of processors in your machine
<![CDATA[// <![CDATA[ // <![CDATA[ // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
[Linux/Ubuntu] List the open files
An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file (Internet socket, NFS file or UNIX domain socket.) A specific file or all the files in a file system may be selected by path.
<![CDATA[// <![CDATA[ // <![CDATA[ // <![CDATA[ // ]]]]]]]]><![CDATA[><![CDATA[><![CDATA[> // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
Report the process status.
<![CDATA[// <![CDATA[ // <![CDATA[ // <![CDATA[ // ]]]]]]]]><![CDATA[><![CDATA[><![CDATA[> // ]]]]]]><![CDATA[><![CDATA[> // ]]]]><![CDATA[>]]>
A : List information for all processes.
f : Generate a full listing.
Used for reporting the status of processes running.