$dev_appserver.py --address=0.0.0.0 ./src/by default the appserver will be started with the localhost IP 127.0.0.1 and not accessible from outside
Source: https://developers.google.com/appengine/docs/python/tools/devserver
$dev_appserver.py --address=0.0.0.0 ./src/$ cd github-services
$ git remote add upstream git://github.com/<user>/<repository>.git
$ git fetch upstream
sudo /usr/sbin/pm-hibernate
gnome-screensaver-command -l && sudo /usr/sbin/pm-hibernate
If you are getting "Upload HD videos in various formats up to 15 minutes." in youtube.
Just got to http://www.youtube.com/my_videos_upload_verify and verify your account.
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chrome://flags
adb devices
???????? device
gksu gedit /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="YOUR_USER_ID"
lsusb
Bus 001 Device 013: ID 18d1:4e42 Google Inc.
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", OWNER="YOUR_USER_ID"
sudo service udev restart
adb devices
List of devices attached
015d172c98280c0b device
ACTION!="add", GOTO="gtab_rules_end"
SUBSYSTEM!="usb|usb_device", GOTO="gtab_usb_end"
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="685e", MODE="0777" SYMLINK+="gtab"
LABEL="gtab_usb_end"
LABEL="gtab_rules_end"
C:\Python27>python
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> im = Image.open('test.png')
>>> im.show()
>>>
$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;
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
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
chrome://settings/languages
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!
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
mkdir -p /mnt/sshfsroot@IS1300:~# sshfs 192.168.1.2:/ /mnt/sshfsroot@IS1300:~# umount /mnt/sshfs
- 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.