script to fix broken links in website
location: linuxquestions.com - date: May 18, 2006
hello! after converting thousands of pages from *.html to *.php, i have the leftover task of fixing 10,000's of broken links..ug.. there must be a better way.
i'm thinkin this could be done by something like this:
1) run a script that will recursively scan the new PHP files directory
2) check whether the current_file is *.php
3) if so, use sed with a regular expression like: href.*\.html to put the string in a variable, $url
5) determine whether the current_file is within the PHP directory somehow
6) determine if the link is pointing to a file in or out of the PHP files directory (because the files outside the PHP directory still all have their HTML extension, and external links should not be changed either)
6a) could check if the target_file exists, but that might be a bonus later
7) if necessary, then use sed to correct the new link within the current_file in $url
i just don't know how to insert conditional logic when using sed. i mean once sed finds what you tell it to
LXer: Will Android lose market share to other versions of mobile Linux?
location: linuxquestions.com - date: January 31, 2014
Published at LXer:
Today in Open Source: Other mobile versions of Linux may displace Android: Plus: A first look at LibreOffice 4.2, and a Java Trojan threatens Linux computers.
LXer: comScore Shocker: Android loses market share in latest report
location: linuxquestions.com - date: April 5, 2013
Published at LXer:
I can't remember the last time I picked up a comScore mobile market share report and came away surprised, but that's what happened today.
LXer: Android 75% market share in Q32012 : The future is open.
location: linuxquestions.com - date: November 5, 2012
Published at LXer:
With 75% market share (Android), the future is open for smartphones.Is it enough to have an open-source OS ecosystem but everything else ... not so open ?
LXer: Report: Android gaining market share
location: linuxquestions.com - date: April 7, 2010
Published at LXer:
Google's open source Android mobile operating system (OS) has continued to grow and gain US market share over other popular mobile operating systems in recent months. According to a February 2010 Mobile Subscriber Market Share report from US market research firm comScore, Google's smarpthone OS has grown more than 5 percentage points since November of 2009 alone – far more than any of its competitors. The positive trend means that Android now holds an overall US market share of 9%. The comScore report surveyed current mobile subscribers age 13 and older to find out what device manufacturer and platform they were using.
How to deploy PhoneGap App to Android TABLET Market?
location: linuxexchange.com - date: April 11, 2014
I built a phonegap app that is simply an launcher to a website. You download the app, click on it, and it will open up your web browser at a specific url.
People with android phones see this app in the Google Play market. People with Samsung Galaxy Tab do not see this app in the Google Play Market. How do I make this app accessible to people with Galaxy Tab?
How can I fix an ungodly amount of broken symbolic links?
location: linuxquestions.com - date: May 6, 2004
Hi, I attempted to install the 2.6 kernel on my machine I'm running slackware 9.1 with the 2.4.26 kernel installed prior to this (it's still there).
I (ha ha) thought things went smoothly, it turns out they did not. as i attempted to lsmod I received the following message:
Kernel requires old lsmod, but couldn't run lsmod.old: Too many levels of symbolic links
then the following as root to look for broken symbolic links:
( find / -type l | xargs file ) | grep 'broken symbolic link'
ooh.. I was slack-jawed at the results.. tons.
I've been poking around the web looking, reading and questioning for what i've done/not done to have made this happen, and how I can repair it. If someone could pass along some advice on this I would truly appreciate it.
Will "Ubuntu for Android" be available in the Android Market?
location: ubuntuforums.com - date: February 22, 2012
I'm very interested in Ubuntu for Android and can't wait to see it in action next week
But will Ubuntu also make it available to the general public for download or so that it can be installed via the Android Market?
I'm also hoping that it will provide a menu option when docked. I don't like the idea of it automatically switching to desktop mode.
Here's a video of Ubuntu for Android:
Other features I would like to see:
1. Multiple user profiles with password protection
2. Home directory encryption
3. Built-in Firewall
3. Menu option to switch between Ubuntu TV and desktop modes
Developing App For Android Market
location: ubuntuforums.com - date: July 18, 2011
I've been been some researching on developing an application for Android.
But I'm stuck on where and how to start, Does anyone know where i can start
using ubuntu 11.04.
I'm really looking to build a test to start with, for me to be able to see how it functions, progressing and polishing up on features, before making it live...and how would i make it live on the market.
All help would be highly appreciated.
How to install android market on androidsdk emulator ?
location: ubuntuforums.com - date: May 4, 2011
Well, I installed everything and am running android OS on Ubuntu (using androidphonedriver guide). The problem I'm having now is that I don't know how to install android market application to be able to install other apps like opera etc.).
Does anyone know how to do it ?
Page: 1 2 3 4 5 6 7 8 9 10