Main menu:


Site search

My Wife’s Website

Recent Posts

Categories

Archives

July 2016
S M T W T F S
« Feb    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Links:

Meta

Searching a Facebook Group

I am surprised how difficult it has been in the past to search on Facebook.  I understand it is a difficult problem due to the amount of data in Facebook and how the social graph affects what to search.

This came up on our Facebook private group recently.  It is fairly easy to search from a desktop browser (there is a little search field on the menu just below the header page).

fb_desktop_search

The search feature is a little more difficult to find in a mobile app!  I will describe how to use it (well, as of February 2016–this could easily change anytime).

iPhone

  1. Tap on the hamburger button (labeled More) in the menu bar at the bottom.
  2. Tap on the groups item in the list.
  3. Tap on the group from the screen of all the groups you are in.
  4. Tap in the search field at the top of the group.
  5. Just under the search box, there is bar with “Everywhere” or “In This Group” selectors. Tap on the “In This Group” selector.
  6. Type your search term.
  7. Tap on “Search” button in keyboard or tap on entry in the list that best matches what you want to search.
  8. Scroll through the matches.  The search term will be highlighted.

Android (Tablet*)

  1. Tap on the hamburger button in the menu bar at the top.
  2. Scroll down to the groups section (a few are shown).
    • If you see the group, then tap on the group.
    • If you don’t see the group, then tap on “See All”.  Tap on the group from the screen of all the group you are in.
  3. Tap in the search field at the top of the screen.  It is “on top” of the picture for the group and may be difficult to see.
  4. Just under the search box, there is bar with “All Facebook” or “In Group” selectors. Tap on the “In Group” selector.
  5. Tap on the search field.
  6. Type your search term.
  7. Tap on search button (magnifying glass icon) in the keyboard or tap on entry in the list that best matches what you want to search.
  8. Scroll through the matches.  The search term will be highlighted.

*I don’t have an Android Phone to try this out.  I hope it is the same there as well.

Installing Ubuntu Utopic in VirtualBox

When I was installing Ubuntu Utopic 64-bit (14.10) inside VirtualBox, I was getting a messed up screen when booting from the ISO.

Error-300x123

At first, I thought I would have to update VirtualBox to get support for the new version of Ubuntu and I wasn’t ready to do that upgrade yet.  After I finally got time to upgrade VirtualBox to 4.3.20, I was still getting this.  After some Googling, I found this article which stated that you just need to switch back and forth from a virtual console (CTRL+ALT+F1) and back to the console where the X Server is running (CTRL+ALT+F7).  When I do this, my host (Ubuntu Trusty) switches virtual consoles.

I found out that you can use the VirtualBox Host key (defaults to Right Ctrl) + F1/F7 to do this in the virtual machine.  After switching back and forth, now I can install Utopic 64-bit (this didn’t happen for me on 32-bit).

Add .gitignore or LICENSE to non-empty Repo in Github

If you have some existing files on your local machine that you want to add to a new repository on Github, I find it easier to do the follow:

  1. Create an empty repository on Github.
  2. Follow the instructions (displayed in the browser after creating the repository) to add local files.

When creating a new repository on Github, there are options for:

  • Initialize this repository with a README
  • Add .gitignore with a dropdown of templates
  • Add LICENSE with a dropdown of templates

Even after creating the empty repository, there are still links to creating these files.  If you follow the instructions for adding the local files, you lose those links.  The valuable parts are the dropdowns of templates for .gitignore and LICENSE!  Here is how you get access to these dropdowns!

  1. Click on the + link for creating a new file (or browse to https://github.com/<username>/<repository>/new/<branch>)
  2. Enter the name .gitignore or LICENSE and the dropdown will appear at the far right in-line with the UI for the file name

Just what I wanted, but not very easy to discover.

Debian Package Versions

I have been using Synaptic to see the versions of packages at different repositories.  I really want to do it from the command-line.  I finally googled for it and found the following article:

How to tell from what Ubuntu or Debian repository a package comes?

Here is an example:

$ apt-cache policy mono-sil
mono-sil:
  Installed: 2.10.9-6+precise1
  Candidate: 2.10.9-6+precise1
  Version table:
 *** 2.10.9-6+precise1 0
        500 http://packages.sil.org/ubuntu/ precise-experimental/main amd64 Packages
        100 /var/lib/dpkg/status
     2.10.9-4+precise1 0
        500 http://packages.sil.org/ubuntu/ precise/main amd64 Packages

$ apt-cache madison mono-sil
  mono-sil | 2.10.9-6+precise1 | http://packages.sil.org/ubuntu/ precise-experimental/main amd64 Packages
  mono-sil | 2.10.9-4+precise1 | http://packages.sil.org/ubuntu/ precise/main amd64 Packages
  mono-sil |   2.10.9-4 | http://packages.sil.org/ubuntu/ precise/main Sources
  mono-sil |   2.10.9-4 | http://packages.sil.org/ubuntu/ precise-experimental/main Sources

External Tools in GEdit

I didn’t realize that GEdit in Linux could have external tools.  Here is an article about formatting XML and JSON in GEdit.

http://www.connorgarvey.com/blog/?p=264