$strNewXml = "ÜBERSICHTSKARTE MIT HIGHLIGHTS";
To replace "Ü" use \xdc where "dc" is a Hex value of the "Ü" character from this table
http://www.pjb.com.au/comp/diacritics.html
$strNewXml =~ s/\xdcBERSICHTSKARTE MIT HIGHLIGHTS//g;
January 25, 2012
[SOLVED] Perl: How to replace umlauts with regex
You have a string with umauts you want to replace
January 15, 2012
[SOLVED] Ubuntu: Fixing messed up screen resolution
If you messed up with your display resolution try this:
Source: lists.ubuntu.com
To configure the monitor and display adapter, you need to re-configure
your Xorg server. To do that, first backup your xorg.conf file by
executing the following command:
# sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
then, stop X by executing the following command (this will put you to
text only mode):
# sudo /etc/init.d/gdm stop
You can do the whole X configuration process by executing:
# sudo dpkg-reconfigure xserver-xorg
Once you have re-configured Xorg, start GNOME again by executing this
command:
# sudo /etc/init.d/gdm start
Source: lists.ubuntu.com
November 25, 2011
[SOLVED]Target filesystem doesn't have /sbin/init
The second attempt was to run Ubuntu off of the CD (don't install it, just run the OS) and then go into the terminal window and run fsck. For those that aren't familiar with that command, here is a brief summary
$sudo fsck /dev/sda5
where /dev/sda5 is a drive you want to check
Source: adnanahmed.ca
November 15, 2011
[SOLVED] Converting a Subversion repository to Git (with history and users)
(7 steps to migrate a complete mirror of svn in git)
Source: http://www.albin.net/git/convert-subversion-to-git
Source: http://www.albin.net/git/convert-subversion-to-git
September 5, 2011
[SOLVED] Chrome: How to change the default language (UI) in chrome
Normally you should find this option in "Under the Hood" tab but if have no such option do type
in to address bar and choose your preferred UI language.
then you must restart your Google Chrome Browser
Tested with chrome v13.0.782.220 m and v15.0.871.1 canary
chrome://settings/languages
in to address bar and choose your preferred UI language.
then you must restart your Google Chrome Browser
Tested with chrome v13.0.782.220 m and v15.0.871.1 canary
August 2, 2011
[SOLVED] Chrome: How to switch the User agent of the browser?
you can pass the user agent string in the command line
for example, this is how to make chrome report itself as IE8.0 on my machine
C:\Users\XXXX\AppData\Local\Google\Chrome\Application\chrome.exe --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"
so basically just add --user-agent="what ever you want to impersonate to" to the target in the shortcut to chrome
and launch chrome using that shortcut!
Source: http://www.google.com/support/
June 13, 2011
[SOLVED] Ubuntu - VNC loads but does not refresh.
I am playing with UltraVNC from Windows 7 to Ubuntu. To resolve the problem with VNC refresh we should turn off all visual effects.
right click on the desktop, select "Change Desktop Background", click
"Visual Effects", click the "none" option
Source: ubuntuforums.org
May 29, 2011
[SOLVED] Mount the remote file system on your local machine with sshfs
You can mount the remote file system on your local machine with sshfs:
Then you can copy paste the file with nautilus/gnome/konqueror/dolphin/bash/whatever
Source: stackexchange.com
mkdir -p /mnt/sshfsroot@IS1300:~# sshfs 192.168.1.2:/ /mnt/sshfsroot@IS1300:~# umount /mnt/sshfs
Then you can copy paste the file with nautilus/gnome/konqueror/dolphin/bash/whatever
Source: stackexchange.com
May 23, 2011
[SOLVED] AI: Embed a linked file
How to embed linked file in Adobe Illustrator?
Source: help.adobe.com
- Select a file in the Links panel, and choose Embed Image from the panel menu.
- Select the linked artwork in the illustration window. In the Control panel, click the Embed button.
Source: help.adobe.com
April 27, 2011
[SOLVED] ReConnect Eclipse to Android emulator
Just run these command in your console
for emulator on my pc it was
Source: stackoverflow.com
adb kill-server
adb connect <%TARGET_PC_IP_OR_HOSTNAME%>:<%EMULATOR_PORT%>
for emulator on my pc it was
adb kill-server
adb connect localhost:5555
Source: stackoverflow.com
April 8, 2011
[SOLVED] Add Google IO 2011 HTML5 Banner to my Google Sites via Gadget
How to add Google IO 2011 HTML badge to your Google Sites?
Log in into your site click "Edit Page"
In Edit mode click "Insert" -> "More Gadgets..." -> "Add gadget by URL"
paste this url
and click "add"
Don't forget to Save your changes
Source: http://code.google.com/p/m-kupriyanov-gadgets/
Log in into your site click "Edit Page"
In Edit mode click "Insert" -> "More Gadgets..." -> "Add gadget by URL"
paste this url
http://hosting.gmodules.com/ig/gadgets/file/108306549906760602918/gadgetforgoogleio.xml
and click "add"
Don't forget to Save your changes
Source: http://code.google.com/p/m-kupriyanov-gadgets/
March 20, 2011
[SOLVED] Windows: This file does not have a program associated with it for performing this action
I messed up with my regestry under Windows 7 and now a getting an error while I am trying to launch explorer.exe.
or in german
Here is the solution:
Source: sevenforums.com
"This file does not have a program associated with it for performing this action"or in german
"Der Datei ist kein Programm zum Ausführen dieser Aktion zugeordnet. Installieren Sie ein entsprechendes Programm, oder erstellen Sie in der Systemsteuerung unter "Standardprogramme" eine Zuordnung, wenn bereits ein Programm installiert ist."Here is the solution:
copy this lines below into a txt file then rename it to *.reg and double click to add this information to your registry
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\opensearchfilefolderresult\shell\open\command]
@=""
"DelegateExecute"="{99969a8f-27e6-4adf-ab9f-b5b5e90d4733}"
[HKEY_CLASSES_ROOT\Folder\shell\explore\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
[HKEY_CLASSES_ROOT\WMP11.AssocFile.m3u\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"
Source: sevenforums.com
March 14, 2011
[SOLVED] Chrome: Export the List of used extensions
I just wrote the Extension "Share Extensions for Google Chrome™" for exporting Extensions list in various formats. You can export BBCODE, HTML, Wiki or Text lists. With or without descriptions. Here are my extensions:
Generated: Tue, 22 Mar 2011 10:07:03 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Extensions: 48
Disabled Extensions: 31
Apps: 10
Exported with Chrome Extensions Share
Generated: Tue, 22 Mar 2011 10:07:03 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16
Extensions: 48
- Clip It Good v0.1
Save webpage clippings and images to your Picasa Web Albums. - Awesome Screenshot: Capture & Annotate v2.4.9.1
Capture the whole page or any portion, annotate it with rectangles, circles, arrows, lines and text, blur sensitive info, one-click upload to share. Support PNG and shortcuts. - MeasureIt! v1.1.2
Draw out a ruler that will help you get the pixel width and height of any elements on a webpage. - Omni Launch v0.0.0.5
Launches apps, the quick way! - UserpicIt Extension v0.3
UserpicIt Extension enables you to send images from Chrome to userpic.it with one click. - Transliterator v1.3
Transliterator - Use F2 to switch to Cyrillic alphabet - translit.ru+. - Share Extensions v0.0.9
Export your favorite Google Chrome™ extensions as BBCode, HTML, Wiki or text list for your Blog. Share the extensions via Twitter, Google Buzz™, Google Mail™ or add them to Google Bookmarks™ lists. Also you can directly enable/disable your extensions. - JSONView for Chrome™ v0.0.21
JSONView for chrome is an extension that helps you to parse and view JSON documents - Add to Amazon Wish List v1.0.0.4
Add products from any website to your Amazon Wish List - Screen Capture (by Google) v4.0.0
Capture visible content of a tab, a region of a web page, or the whole page as a PNG image. Support horizontal and vertical scroll when capturing whole page, with an all new autosave capability. - Notifier for Stack Exchange websites v2.4.9
Get notified of changes in reputation, responses, revisions, badges & moderator messages, on any StackExchange site - Open Graph Inspector v1.1.1
Show open graph information. - Autocomplete = on v1.0
Changes 'autocomplete=off' to 'autocomplete=on' in web pages, so your passwords will be remembered. - Facebook Disconnect v1.0.2
Stop Facebook from tracking the webpages you go to. - Sight v1.6.7
The Syntax Highlighter for Chrome - Edit This Cookie v0.13.5
Edit This Cookie is a cookie manager. You can add, delete, edit, search, protect and block cookies! - XML Tree v1.9.1.2
Displays XML data in a user friendly way. - Pendule v0.0.10
Web developer tools for Chrome. - Pastebin.com v1.7
Store text for a certain period of time with Pastebin.com the #1 paste tool since 2002 - Social Media Monitoring v0.1.5
Displays Twitter activity (tweets per minute, current and long-term) for user-defined keywords and geolocation (at the moment, only Twitter is supported, more services are coming soon). - AT_HedgehogInTheFog_v2 v3
- Rapportive v1.2
Making email a better place - Chrome Sniffer v0.2.7
Detect web applications and javascript libraries run on browsing website. - Breadcrumb Navigator v1.1.0
This extension allows you to navigate any URL in a breadcrumb-like way. - goo.gl URL Shortener v0.5.7
Shorten url with goo.gl, the Google URL shortener - My Extensions v0.9.3.7
Are you an extensions developer? Keep track of your Chrome extensions. Be notified for new comments, ratings and more! - Twitter Notifier v1.1.3
Brings new tweet notifications to Chrome - You'll never need a desktop client again! - Yet Another Google Bookmarks Extension v1.9
YAGBE - Displays Google Bookmarks in a tree. Supports nested labels, searching, sorting, creating, and managing Google Bookmarks. - Control Freak v1.1
Greasemonkey-like mods, but quicker to tweak - Bubble Translate v1.5
Real-Time & inline text translator from any language to yours. - UserpicStealer v0.0.3
Find userpics on page and send it to userpicstealer.com. - Server Switcher for Chrome v0.1
Easily switches a website between development and production webservers - QR Code Generator for Android Market™ on Web v0.0.4
Generate QR Code for installing Android apps on your device while surfing web-based Android Market™ (no sign-in required) - HTML5 Powered v1.0
Shows the new HTML5 logo for pages that use the HTML5 doctype - Delicious Bookmarks Extension (Beta) v0.998
Delicious Bookmarks is the official Chrome extension for Delicious, the world's leading social bookmarking service. - Download Assistant (by Google) v4.0.0
Download links on a web page with popular downloaders such as FlashGet, FlashGet Mini, Thunder, Mini Thunder, QQ Whirlwind, eMule, Orbit, Internet Download Manager and Free Download Manager. - QuizCards: World Capitals v0.985
Use these interactive browser-based flash cards to easily learn the world capitals. - YSlow v3.0.0
Make your pages faster with Yahoo!'s page performance tool - Feed Notifier! v1.1.0
Get desktop notifications whenever you favorite feeds are updated. - Word This v2.5.3
Create a post on your Wordpress.com or Self Hosted Wordpress Blog about the current page you're viewing - RSS Subscription Extension (by Google) v2.1.3
Adds one-click subscription to your toolbar. - Docs PDF/PowerPoint Viewer (by Google) v3.2
Automatically previews pdfs, powerpoint presentations, and other documents in Google Docs Viewer. - csscan v2.0.1
Offers a quick overview of CSS properties to the element the mouse cursor is hovering. - Google Chrome to Phone Extension v2.1.3
Google Chrome to Phone Extension enables you to send links and other information from Chrome to your Android device. - Google Quick Scroll v1.7
Quick Scroll lets you jump directly to the relevant bits of a Google search result. - Cloud Save v1.2.2
Save to cloud. - Chrome Palette v1.0
Creates a color palette from any image. Just right-click on the image and select the 'Chrome Palette' option. - AdBlock v2.3.15
The most popular Chrome extension, with over 2 million users! Blocks ads all over the web.
Disabled Extensions: 31
- Google Translate v1.2.3.1
This extension translates entire webpages into a language of your choice with one click. By the Google Translate team. - Chrome for a Cause v1.5.3
Participate in charitable projects with the rest of the Chrome community - Validity v1.1.0
Click the icon in the address bar or press Ctrl+Alt+V to validate the current page. - QR-Code Tag Extension v0.7.8
Display a QR-Code tag for the current URL in the browser. The size of the generated QR-Code is adjustable. - Bookmark Sentry v1.6.5
A bookmark scanner that checks for duplicate and bad links. - Firebug Lite for Google Chrome v1.3.1.7759
Firebug Lite for Google Chrome, supported by the Firebug Working Group. - Pixlr Grabber - Screen capture/image grabbing v0.85
Edit, Save or Share screen grabs and images - Webpage Screenshot v4.6.2
Fast&Simple solution to Save & Share & Print & Edit screenshots of any webpage. Capture to PNG/JPG drawing tools, and sharing features. - ToCyrillic v1.2.1
On the fly conversion from latin to cyrillic for text widgets - Post to Google Buzz v1.0.0.6
- ScribeFire v1.4.3.0
A full-featured blog editor lets you easily post to all of your blogs. - Google Font Previewer for Chrome v1.5
Lets you choose a font from the Google Font directory with a few text styling options, and preview them on the current tab. - Picnik Extension for Chrome v1.0.7
Capture web pages and edit images right in your browser using Picnik - Display Shortcuts v1.1
Display the access keys hidden into a web page, to be used as shortcuts. - android2cloud v2.0.2
A way to push content from your Android phone to your Chrome web browser. - Web Clipboard (by Google) v2.0
Copy and Paste HTML and text using Google's Web Clipboard ! - Power Twitter for Chrome v1.60
Makes Twitter Better! - Chromitude v0.3.2
An unofficial Google Latitude Checkin App for Chrome. Runs in the background. - Instant Image Editor v1.1
Edit any image or background image instantly by alt + right-clicking it (ctrl on Linux)! - Window Resizer v1.6.0
Resize browser window to emulate various screen resolutions - jsshell v3.1
Interactive Javascript with jQuery and jLinq - Inline Code Finder v0.9.2
Finds HTML elements with inline JavaScripts events, inline styling and javascript: links - EXIF Viewer v1.2.4
Quick access to EXIF data of any image you view - Explain and Send Screenshots v3.8.3
Capture any part of a webpage, explain it with arrows, circles, text, just like Snagit and share or send it as a link or attachment - The Tweet Button v0.1.4
Share articles on websites on Twitter with The Tweet Button (created by @wrttn) - Chrome Editor Lite v0.9.5
Edit HTML easily, right inside your browser. - Auto-Translate v1.4.1
Automatically translate selection text by google translate - Auto-Reload v7.8
Time interval page auto-reloader - Speed Tracer (by Google) v0.20
Get insight into the performance of your web applications. - Chromkie v0.1.6
Cookies Manager of Chrome. - Unofficial Google Tasks v1.5.5
Access your Google Tasks easily with Chrome
Apps: 10
- Entanglement v2.1.1
Create the longest path possible and challenge your friends in the game of Entanglement. - GQueues v1.0.0
A full-featured task manager for your Google Account and Google Apps account. - Namco Mahjong Butterfly v1.104
Match tiles to transform caterpillars into butterflies! - Z-Type v1.0
Type To Shoot Game made with ImpactJS - Hipmunk v1.1
Find the flight you want in minutes using Hipmunk's agony-free flight search. - PHP Code Editor v0.9
PHP Code Editor is a web based interface to edit your code. - Plants vs Zombies v1.0.5
Think fast and plant faster to stem a zombie attack and save your home in this action-strategy PopCap game! - FREE TRIAL - GitHub Issues v1.6
Github Issues is a full featured desktop class front end to GitHub's issues tracker - Vyew v4.11.0
Beyond web conferencing -- Collaborate in a continuous meeting room, real-time or anytime: webcam, whiteboard, and doc review tools. - Appmator v0.0.0.2
Quickly get your app ready for the Chrome Web Store.
Exported with Chrome Extensions Share
March 1, 2011
[SOLVED] Problems with j.mp links
Having troubles with j.mp links?
...replacing j.mp with bit.ly does the trick.
...replacing j.mp with bit.ly does the trick.
February 20, 2011
[SOLVED] GoogleDocs: How to download the spreadsheet as xls
For example you found some nice Google Docs Sheet
and would like to save this document as Excel file. Just add at the end of the URL "&output=xls"
also you may like to switch into edit mode (if you have enought rights). Just replace "pub" with "ccc"
Source: googlesystem.blogspot.com
https://spreadsheets.google.com/pub?key=0ArURTcbhh9uWdGdTVEFFM3FadVlMUE91QVRMQ0VGaFEand would like to save this document as Excel file. Just add at the end of the URL "&output=xls"
https://spreadsheets.google.com/pub?key=0ArURTcbhh9uWdGdTVEFFM3FadVlMUE91QVRMQ0VGaFE&output=xlsalso you may like to switch into edit mode (if you have enought rights). Just replace "pub" with "ccc"
https://spreadsheets.google.com/ccc?key=0ArURTcbhh9uWdGdTVEFFM3FadVlMUE91QVRMQ0VGaFESource: googlesystem.blogspot.com
February 18, 2011
[SOLVED] SVN: Parse all changes by user in defined time period
Parse all changes by user in defined time period
Source: stackoverflow.com
svn log -v -r{"2011-01-01 00:00:00"}:{"2011-02-18 00:00:00"}| sed -n '/m.kupriyanov/,/-----$/ p'Source: stackoverflow.com
February 16, 2011
February 1, 2011
[SOLVED] SQLite Single quotes in the query expression
A string constant is formed by enclosing the string in single quotes ('). A single quote within the string can be encoded by putting two single quotes in a row - as in Pascal. C-style escapes using the backslash character are not supported because they are not standard SQL
Source: sqlite.org.
January 23, 2011
[SOLVED] Android: Set dynamically textview height
TextView tv = (TextView) findViewById(R.id.TextView01);
final int height_in_pixels = tv.getLineCount() * tv.getLineHeight()
* getResources().getDisplayMetrics().density; //approx height text
tv.setHeight(height_in_pixels);Solved: stackoverflow.com
[SOLVED] Android: Override back button
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
//do some stuff
return true;
}
return super.onKeyDown(keyCode, event);
}Source: stackoverflow.com.
Subscribe to:
Posts (Atom)