LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

inserting unicode characters

Posted 11-01-2011 at 05:17 AM by neonsignal

The method for inserting unicode characters depends on the application.

For GTK based applications, a unicode character can be inserted by holding down ctrl-shift, typing 'u' followed by the hex code, and then releasing the ctrl-shift.

In vi, in insert mode, ctrl-v can be used, followed by 'u' and the hex code.

I do not know of a method for Qt based applications.

Of course, for entering significant amounts of non-ascii text, it can be useful...
Senior Member
Posted in Uncategorized
Views 220 Comments 0 neonsignal is offline
Old

Limiting and blocking connections dynamically.

Posted 10-31-2011 at 03:46 PM by sag47
Updated 01-29-2014 at 11:14 AM by sag47

Today I feel like talking about limiting connections which get made to a server. There are a few ways to do it; some cooler than others. I'd like to feature some open source software while I'm at it.

Today I happened upon this thread which hilariously got closed for good reason. Once you wade through all the crap you'll see some pretty cool posts which explain how to limit incoming connections within a certain time period and other suggestions. I'll point out the most useful related...
Senior Member
Posted in Uncategorized
Views 924 Comments 0 sag47 is offline
Old

booting from the grub command line

Posted 10-30-2011 at 06:50 AM by neonsignal

There are grub2 boot failures (such as when disk UUIDs don't match) where it can be useful to do a minimal boot from the grub command line.

For typical systems (such as booting from the first partition of the first hard drive), this can be done with the following grub commands:
Code:
linux (hd0,1)/vmlinuz root=/dev/sda1
initrd (hd0,1)/initrd.img
boot
Senior Member
Posted in Uncategorized
Views 374 Comments 0 neonsignal is offline
Old

changing the default system editor

Posted 10-30-2011 at 06:42 AM by neonsignal

The default system editor in Debian is typically nano. If you prefer a different editor such as vi, it can be changed by setting the link from /etc/alternatives/editor:
Code:
ln -sf /usr/bin/vi /etc/alternatives/editor
Senior Member
Posted in Uncategorized
Views 226 Comments 0 neonsignal is offline
Old

Securely backup your $HOME to a remote machine

Posted 10-29-2011 at 07:19 PM by rouvas

SYNOPSIS

A simple and effective script to perform a secure backup of your home directory to a remote machine, with the help of sshfs and rsync. With trivial modifications it can be used to backup any directory.


FOR THE IMPATIENT

Drop this script into your path:

Code:
#!/bin/bash

#
# Specify the name of the user on the remote machine, defaults to the current user
#
REMOTE_USER=${REMOTE_USER:=$USER}
...
Member
Posted in Uncategorized
Views 995 Comments 0 rouvas is offline

  



All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration