patch - C:\Windows\System32\drivers\etc\hosts
How can I redirect all websites to other website?
example for one:
62.85.117.104 delfi.lv
i need for all websites..
62.85.117.104 *
(not work)
In Ubuntu some applications can be set to minimize instead of exit on close. For example, Empathy minimizes to the system tray (mail icon) when the close button is pressed in the application window. How do I make Evolution do this as well?
Essentially I would like to have Evolution hidden in the system tray instead of having to re-launch it every ten minutes to check for new messages (or leave it open and clutter the taskbar).
I'm provisioning a Vagrant virtual machine with Chef and it's amazing, but I'm unsure where I should put code to configure software installed by 3rd-party chef recipes.
For example, I'm installing NGINX with this recipe but I need to configure the default virtual host to serve content from /vagrant/public instead of /var/www/nginx-default.
Should I change the template of the 3rd-party recipe, or create another recipe that reconfigures it?
Is there such a thing as a software internet radio where I can add the stations I want to listen to?
Open source would be great.
Thanks
EDIT: by "adding stations" I mean being able to listen to the CBC here in Canada, for example.
When serving files containing special characters such as "()?:" in the filename through Samba, the names get transformed into an unrecognizable format. For example, a file
my_file:_(important).txt
is displayed as
M43J1E~0.TXT
Is there a way to avoid this behavior (without renaming the files, obviously)? I'm assuming that character encoding is not to blame because several UTF-8 characters seem to work fine.
We are working on a project that would be a competitor to Yudu for online publishing and what we are debating is whether to use Flash for content security protection as Yudu does.
See for example "The Testicle Cookbok" for which a limited (3-frame) preview is available before a password is requested by the Flash application running in the browser.
Do you see any problems with this approach or could you recommend an alternative technology for password proected digital content?
how to limit internet traffic on a router based on a LAN IP.
so that for example on a 10mb/s internet connection I can have a IP Camera with a dedicated 1mb/s, 2 computers with 3mb/s, and 2 computers with 6mb/s.
as far as I know it's called something like traffic-shaping...
I'm really not sure how this all is called, so please show me or point me at some guide for dummies. :)
Hi,
Im relatively new to Ubuntu, Im wondering how easy it is to write what I think is called a shell script to make tasks a little easier.
For example I frequently connect to a server - ssh -p 123 [email protected]
Can and how could I shorten this to a shorter command like "mysite" or "connect mysite"
Thanks.
Suppose that a motherboard doesn't ship with a BIOS that supports your CPU. Can you still get into BIOS and flash it without the correct CPU? For example, does it automatically downgrade from 6-core to 4-core so you can at least get into BIOS and flash it?
Hi I have Macbook Pro running VMWare fusion, do I have to be concerned about viruses?
For example, if I have a trojan infected .exe key generator (legal for some reason), can I run it on the Mac without any problem?
Does anyone know how I can get YouTube to default to playing music videos in the highest possible quality setting?
If for example 480p is available I’d want that automatically selected before the music starts playing.
I changed the video playback option to ‘Always choose the best option for me, based on my player size.’ But the quality always defaults to 360p on page load.
How do i archive and remove excess files example.
cd ~/Desktop && tar -cvf sitepack.tar ./
this will give me
ls
Riva_Starr_Feat._Noze_I_Was_Drunk_Official_Video_HD_.mp3
Riva_Starr_feat._Sud_Sound_System_Orizzonti_Official_Vide.mp3
Riva_starr_I_was_drunk_Syskey_remix_.mp3
sitepack.tar
when what i am looking for is
ls
sitepack.tar
so it archive everything into the zip rather than leave them in place?
I'm using Evolution for reading my emails at my Ubuntu 9.10.
I would like to run a personalized command when it receives a mail, like checkgmail.
Example:
blink --scrolllockled --rate {number-of-new-mail}
Is it possible?
Im using Thuderbird IMAP accesing my Gmail account, what folder needs to subscribe and what safe to unsubscribe?
I ask this because I noticed that the messages inside say example: Important Folder, Starred Folder, etc, have the same contents meaning they are also have copies in either Sent Items and/or Inbox. How to resolve this? If I unsubscribe to all the folder but except Inbox and Sent Items only, will I be missing something on my messages?
Thanks you
Windows (all versions) folders have their standard names such as Users, Documents, Local Settings etc that are unfortunately translated in other language versions, and thus instead of the names that are in the path to the folder they appear in the file explorer under quite different names. For example, instead Pictures I get "Moje obrazy" (translation into Polish language), and yet in the path it is still "pictures".
This is very confusing and I would like to turn this automatic translation off, but can't find how.
For example this a css file
http://sstatic.net/su/all.css
I want to send this file from this link as a email attachment to an email address in each hour or any specified time interval.
and to download on local PC in a specified folder.
Does anyone know a quick and easy way to use Notepad++'s "find in files" (or other feature) to find files that do not contain a string?
For example:
List all files in c:\inetpub\mywebsite that do not contain "footer.asp"
Is it possible to export all the data inside openldap for example using ldapsearch or some other tool to a (ldif?) file and then import everything on another server and put this in a script that would be run every day. So that I could use the other one as a backup when the first/master server is not available?
I have full access to the first/master server, but I can't modify it's configuration so I think I can't set up replication.
Hi,
when i execute the following line, its prints the words in newline.
awk 'BEGIN { print "line one\nline two\nline three" }'
like
line one
line two
line three
How can i print the info in the same line with flush the existing line. For example, while executing the loop, it should print 'one' then wipe out the line and prints 'two' then wipe out the line and prints 'three' etc. can you please assist me?
I am trying to install nginx as a load balancer with apache backends, so that when I point my sites to the nginx server it serves up the content from the apache backend. I have the apache configuration set up correctly on both (i.e when I go to the site on the apache servers it works great) but when I use the nginx load balancer as the site I get 403 error. I have no idea why as it isn't even accessing any files on the server, thusly there aren't any files to be forbidden access to. My virtual host is enabled and looks like this:
upstream webs {
server 10.0.0.30 weight=1;
server 10.0.0.31 weight=1;
}
server {
listen 80;
server_name www.example.com example.com;
access_log /var/log/nginx/access.log;
location / {
proxy_pass http://webs;
include /etc/nginx/proxy.conf;
}
}
and my nginx.conf looks like this:
user www-data;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
# multi_accept on;
}
http {
include /etc/nginx/mime.types;
access_log /var/log/nginx/access.log;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 4k;
}
Can any geniuses out there tell me what I am doing wrong?
I have a value in Column A, which I want to compare with multiple values of corresponding cell in column B, and depending on that value, put the answer in column C.
For example, using the table below, it searching in column B for values which are less than or equal to 12 and put the answer in same order in column C.
Column A Column B Column C
12 0,12,13,14 Yes, Yes, No, No
101 101,102,103,104 Yes, No, No, No
How can I do this in Excel?
For example, when I do something like...
sudo apt-get install vim
It creates a vim folder in usr/share, even though I expect a .vim folder to be created in the home folder.
I have an Apache HTTP Server with SSL enabled and requesting a Client Certificate.
How do I set up Apache to only request the certificate when a user hits a certain part of the website?
Example:
/myapp/ should not request the cert
/myapp2/ should request the cert
Note: These applications are being served using the mod-jk
welcome,
I have problem with .bat script on windows.
I use wget to download html stats page, now i have to find (in html source) url like this
http://www.example.com/stats/367895.jpeg
The 367895 is a random generated number.
and download chart jpeg.
I think i can't do this in .bat, Do You know any external command line application what i could trigger from .bat and show in output finded url ?
Regards
In command line, we have, for example, TAB, which autocomplete the commands.
In the GUI, we need just to select a text for Ubuntu to copy it. And the mouse middle button can be used to paste.
Which other "untold" secrets Ubuntu hides?
obs. I don't know which of the items I told are for any Linux or Ubuntu specific.