How to restore a Gnome 3 session? Which means: opening all the programs running last time when I log out in Gnome 3. If your purpose is to automatically start programs after logging in Gnome, another possible method is using the autostart script: https://www.systutorials.com/qa/119/how-to-write-a-autostart-script-for-gnome Run gnome-session-properties. In the “Options” tab, select “Automatically remember running applications
Read more
Tag: www
Add readline features in OCaml toplevel
Posted onIt is painful for a Linux user to use the OCaml toplevel without the readline features. Is there a method to enable/add these kinds of features in readline to the OCaml toplevel? I find 2 options that work very well for me: utop provides a beautiful interface and supports completion, colors, parenthesis matching, etc. It
Read more
How to turn my iPhone to a mouse?
Posted oniPhone has the touch screen. Is is possible to turn my iPhone to a wireless mouse on Linux? Use the WiFi Mouse app/server: http://wifimouse.necta.us/ First, install the WiFi Mouse app on you iPhone: https://itunes.apple.com/app/id591076411?mt=8 Second, install the WiFi Mouse server downloaded from http://wifimouse.necta.us/ If you are using Fedora Linux, you need to convert the .deb
Read more
SQL layers on NoSQL databases
Posted onWhat are the SQL layer solution over NoSQL databases such as key/value stores? Phoenix: A SQL layer on HBase: https://github.com/forcedotcom/phoenix They also show some performance results: https://github.com/forcedotcom/phoenix/wiki/Performance F1 – The Fault-Tolerant Distributed RDBMS Supporting Google’s Ad Business: http://research.google.com/pubs/pub38125.html With F1, we have built a novel hybrid system that combines the scalability, fault tolerance, transparent sharding,
Read more
Statically linking C and C++ programs
Posted onHow to statically compile C and C++ projects? The compiled executable should lead no dynamical library during execution. I use gcc/g++ to compile the projects. Check this post: Statically Linking C and C++ Programs on Linux with gcc.
How to change the audio track for .mkv files in mplayer?
Posted onHow to change the audio track for .mkv files in mplayer? Key shortcut: # (dvd, mpeg, matroska, avi and libavformat only) cycle through the available audio tracks. tab (mpeg-ts and libavformat only) More: https://www.systutorials.com/b/linux/663/mostly-used-mplayer-keyboard-control/
How to set up proxy over SSH on Windows?
Posted onThis tutorial teaches how to set up SSH proxy on Linux. How to set up one proxy over SSH on Windows? A tutorial of using SSH tunnel as the proxy on Windows is introduced here: https://www.systutorials.com/tutorial/4696/software/proxy-using-ssh-tunnel-on-windows/
How to make a swap partition
Posted onHow to make a swap partition on Linux? First, make a new partition (or reuse an existing one if you like). I suggest using cfdisk to create it: https://www.systutorials.com/docs/linux/man/8-cfdisk/ Then, turn the new partition (say, /dev/sdc1) to a swap # mkswap /dev/sdc1 Lastly, turn it on # swapon /dev/sdc1 You can check whether its status
Read more
Designing posters – SysTutorials QA
Posted onSome tutorials or materials for designing posters? Designing conference posters by Colin Purrington: http://colinpurrington.com/tips/academic/posterdesign Scribus – an open source desktop publishing tool: http://www.scribus.net/canvas/Scribus Inkscape is a good tool for editing vector figures. GIMP is a great tool for editing images.
Squeezing Space in LaTeX – SysTutorials QA
Posted onHow to squeeze space in Latex? A good tutorial about “squeezing space in LaTex” in here from the Cambridge University’s website: http://www.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html These settings work great for me: setlength{textfloatsep}{1pt} setlength{abovecaptionskip}{1pt} setlength{belowcaptionskip}{1pt} A more aggressive configuration to squeeze space in a LaTex doc: % save space usepackage{enumitem} setlist{nolistsep} % no space between refs usepackage{bibspacing} setlength{bibspacing}{baselineskip} usepackage[small,compact]{titlesec}
Read more
Free server images – SysTutorials QA
Posted onAny free server images? 24 Free Data Center Photos from fatcow.com 24 Free Data Center Photos: http://www.fatcow.com/data-center-photos From Wikimedia commons: Multiple servers: http://commons.wikimedia.org/wiki/File:Server-multiple.svg Server: http://commons.wikimedia.org/wiki/File:Server.svg Yellow server: http://commons.wikimedia.org/wiki/File:Server-yellow.svg Green server: http://commons.wikimedia.org/wiki/File:Server-green.svg More from clker.com: Web Virtualization Server clip art: http://www.clker.com/clipart-1826.html Small Case Web Mail Server clip art: http://www.clker.com/clipart-1902.html Inside our data centers from Google —
Read more
strcmp and strncmp implementation in glibc
Posted onWhat is the strcmp and strncmp implementation in glibc? strcmp implementation in glibc 2.16: string/strcmp.c /* Copyright (C) 1991, 1996, 1997, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU
Read more
ANSI C Grammar and ANSI C Grammar Specification in YACC
Posted onANSI C is a standardized version of the C programming language that was introduced in 1989 by the American National Standards Institute (ANSI). The ANSI C standard defines the syntax and semantics of the C language, including its grammar. In this post, we will explore the ANSI C grammar in more detail. The ANSI C
Read more
Are there good free CDNs on the Web
Posted onAre there some good free CDNs on the Web? There are some free CDNs in the Web. Cloudflare: https://www.cloudflare.com CloudFlare protects and accelerates any website online. Once your website is a part of the CloudFlare community, its web traffic is routed through our intelligent global network. We automatically optimize the delivery of your web pages
Read more
Download the video playing in Chrome.
Posted onHow to download the video playing in Chrome? Download the video playing in Chrome. Checkout the “FVD Video Downloader”: FVD Video Downloader If you are using Firefox, DownloadHelper ( http://www.downloadhelper.net/ ) can handle videos even youtube very well.
Any suggestion on the hosting service
Posted onAny suggestion on the hosting services? Seems Hostgator is great: http://www.warriorforum.com/internet-marketing-product-reviews-ratings/362470-hostgator-bluehost-dreamhost-pair-com.html I was considering moving to Hostgator from Dreamhost. Dreamhost has less limitations after comparing it with others (e.g. the 250k inodes number limitation). I will stick with it. Moreover, with CloudFlare enabled ( https://www.systutorials.com/b/web/3218/cloudflare-with-dreamhost/ ), it looks better.
How to add author information in Google search results
Posted onHow to enable the author information in Google search results as shown for many posts? As a post writer, we may want our authorship information to appear in search results. To do this, we need a Google+ Profile with a good, recognizable headshot as the profile photo. Then, verify authorship of our content by associating
Read more
Installing Latex and Compiling a Latex Docuent in Linux
Posted onLatex is a popular document preparation system that is widely used for creating scientific and technical documents. Compiling Latex documents on Linux is a straightforward process that requires only a few Latex packages and a set of commands. By following the steps outlined in this post, you can easily compile Latex documents on your Linux
Read more
How to install noip2 on Linux
Posted onHow to install noip2 on Linux to update my no-ip domain? Check the post at: https://www.systutorials.com/4677/how-to-install-noip2-on-linux/ To make noip2 service automatically update with your latest IP, add a crontab entry for root: 0 */5 * * * /sbin/service noip restart The noip2 service will be restarted every 5 minutes. When the service is restarted, it
Read more
Office 2007: Save as PDF or XPS
Posted onHow to export a work file to PDF in Office 2007? 2007 Microsoft Office Add-in: Microsoft Save as PDF or XPS:Â http://www.microsoft.com/en-us/download/details.aspx?id=7 This download allows you to export and save to the PDF and XPS formats in eight 2007 Microsoft Office programs. It also allows you to send as e-mail attachment in the PDF and XPS
Read more