On Linux there is this feature where you can press the Alt key and drag a window from anywhere and move it. Is there a similar feature for Mac OS X?
Thanks in advance!
I have tried googling this and no one else seems to either have this problem, or find it to be a problem, but it is very annoying to me. Everytime I accidentally hit my ctrl key by itself on my keyboard (I am using windows 7) my volume automatically lowers to a very low volume and then I can't hear anything. It's very annoying whenever I am on a game and/or on skype and I accidentally hit ctrl and then I can't hear anything or anyone!! How can I turn this feature off?
I choose the public option for all my albums in Picasaweb, these mostly (90%) contain pictures of my children which I share with my family. Ever so often somebody I don't know adds me as a favorite, at current count I have 7 people in my fan list (non of whom I know) and only three of them have any public albums.
Is this creepy? I take care not to upload any pictures that may attract perverts
What would you recommend, private by default or continue with public?
All emails I send from my new server go to spam in Gmail (and sometimes yahoo).
I've never before sent out mass email or spam.
What I've already done:
Configured reverse DNS
Enabled DKIM
Verified my IP is not on spam lists
Verified I'm not an open relay
Here are the headers from the received message:
http://pastie.org/pastes/8450781/text?key=onxgrau1xinyqv7ridxrea
Really, can't seem to figure out why the mail just doesn't come through.
I'd really appreciate your help. Thank you!
Is there a way to configure varnish or any other caching reverse proxy, to serve pages from its cache when the back-end fails? At the moment, if the back-end goes down a 503 Service Unavailable error would be returned to the browser. I would prefer it if visitors got to see a cached version than an error page while the back-end is being fixed.
My setup:
[varnish (public ip)] <=== [router] <=== [web server (private ip)]
PS: I have only one back-end web server.
I'm stumbling on a problem that requires your advice.
Keywords : networking, route, openVPN
Problem : I have a local network with several physical servers and VMs. These machines have ip's in the range 10.10.x.x. I can access these machines from the Internet with the help of openVPN. These machines can :
access each other within the local 10.10.x.x subnet
access the Internet via the VPN
can themselves be accessed (via SSH) from the Internet via the VPN.
There is one machine however that behaves strangely and I don't know why. I can SSH into this machine from anywhere via SSH and I can also PING it from anywhere (including the Internet). However from this machine (i.e. when logged into it) I cannot access the Internet or ping machines outside the local network. In other words it will not go beyond the VPN. My question is why? Here are some technical details:
The machine's Network Config (running Debian 6.0.3):
allow-hotplug eth0
iface eth0 inet static
address 10.10.10.200
netmask 255.255.0.0
network 10.10.10.0
broadcast 10.10.10.255
gateway 10.10.10.200
The machine's Routing :
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
10.10.0.0 10.10.10.250 255.255.0.0 UG 0 0 0 eth0
10.10.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.10.10.250 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.10.10.200 0.0.0.0 UG 0 0 0 eth0
The VPN's Network Config (running Debian 6.0.3):
# This is the local network interface
auto eth1
allow-hotplug eth1
iface eth1 inet static
address 10.10.10.250
netmask 255.255.0.0
broadcast 10.10.10.255
gateway 10.10.10.250
The VPN's routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.10.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
private 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.10.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.10.10.250 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 private 0.0.0.0 UG 0 0 0 eth0
net.ipv4.ip_forward = 1 on both machines.
there are no iptables set anywhere.
Thanks in advance for any feedback.
On a Windows 7, the working set memory usage plus private memory does not add up to the total used memory in Task Manager and Windows 7 Resource Monitor.
How do you find out where the used memory is coming from?
The cached memory can't be part of it because sometimes the total cache is greater than the total in use. The commit memory plus the working set also doesn't add up to the total in use - but even that shouldn't be significant if it did, since commit is virtual.
We're experiencing a strange problem with our current Varnish configuration.
4x Web Servers (IIS 6.5 on Windows 2003 Server, each installed on a Intel(R) Xeon(R) CPU E5450 @ 3.00GHz Quad Core, 4GB RAM)
3x Varnish Servers (varnish-3.0.3 revision 9e6a70f on Ubuntu 12.04.2 LTS - 64 bit/precise, Kernel Linux 3.2.0-29-generic, each installed on a Intel(R) Xeon(R) CPU E5450 @ 3.00GHz Quad Core, 4GB RAM)
The Varnish Servers performance are awfully bad in general, to the point that if we shut down one of them the other two are unable to fullfill all the requests and start to skip beats resulting in pending requests, timeouts, 404, etc.
What can we do to improve our Varnish performance? Considering that we're getting less than 5k request per seconds during our max peak, we should be able to serve our pages even with a single one of them without any problem.
We use a standard, vanilla CFG, as shown by this varnishadm param.show output:
acceptor_sleep_decay 0.900000 []
acceptor_sleep_incr 0.001000 [s]
acceptor_sleep_max 0.050000 [s]
auto_restart on [bool]
ban_dups on [bool]
ban_lurker_sleep 0.010000 [s]
between_bytes_timeout 60.000000 [s]
cc_command "exec gcc -std=gnu99 -g -O2 -pthread -fpic -shared - Wl,-x -o %o %s"
cli_buffer 8192 [bytes]
cli_timeout 20 [seconds]
clock_skew 10 [s]
connect_timeout 0.700000 [s]
critbit_cooloff 180.000000 [s]
default_grace 10.000000 [seconds]
default_keep 0.000000 [seconds]
default_ttl 120.000000 [seconds]
diag_bitmap 0x0 [bitmap]
esi_syntax 0 [bitmap]
expiry_sleep 1.000000 [seconds]
fetch_chunksize 128 [kilobytes]
fetch_maxchunksize 262144 [kilobytes]
first_byte_timeout 60.000000 [s]
group varnish (113)
gzip_level 6 []
gzip_memlevel 8 []
gzip_stack_buffer 32768 [Bytes]
gzip_tmp_space 0 []
gzip_window 15 []
http_gzip_support off [bool]
http_max_hdr 64 [header lines]
http_range_support on [bool]
http_req_hdr_len 8192 [bytes]
http_req_size 32768 [bytes]
http_resp_hdr_len 8192 [bytes]
http_resp_size 32768 [bytes]
idle_send_timeout 60 [seconds]
listen_address :80
listen_depth 1024 [connections]
log_hashstring on [bool]
log_local_address off [bool]
lru_interval 2 [seconds]
max_esi_depth 5 [levels]
max_restarts 4 [restarts]
nuke_limit 50 [allocations]
pcre_match_limit 10000 []
pcre_match_limit_recursion 10000 []
ping_interval 3 [seconds]
pipe_timeout 60 [seconds]
prefer_ipv6 off [bool]
queue_max 100 [%]
rush_exponent 3 [requests per request]
saintmode_threshold 10 [objects]
send_timeout 600 [seconds]
sess_timeout 5 [seconds]
sess_workspace 16384 [bytes]
session_linger 50 [ms]
session_max 100000 [sessions]
shm_reclen 255 [bytes]
shm_workspace 8192 [bytes]
shortlived 10.000000 [s]
syslog_cli_traffic on [bool]
thread_pool_add_delay 2 [milliseconds]
thread_pool_add_threshold 2 [requests]
thread_pool_fail_delay 200 [milliseconds]
thread_pool_max 2000 [threads]
thread_pool_min 5 [threads]
thread_pool_purge_delay 1000 [milliseconds]
thread_pool_stack unlimited [bytes]
thread_pool_timeout 300 [seconds]
thread_pool_workspace 65536 [bytes]
thread_pools 2 [pools]
thread_stats_rate 10 [requests]
user varnish (106)
vcc_err_unref on [bool]
vcl_dir /etc/varnish
vcl_trace off [bool]
vmod_dir /usr/lib/varnish/vmods
waiter default (epoll, poll)
This is our default.vcl file: LINK
sub vcl_recv {
# BASIC recv COMMANDS:
#
# lookup -> search the item in the cache
# pass -> always serve a fresh item (no-caching)
# pipe -> like pass but ensures a direct-connection with the backend (no-cache AND no-proxy)
# Allow the backend to serve up stale content if it is responding slow.
# This defines when Varnish should use a stale object if it has one in the cache.
set req.grace = 30s;
if (client.ip == "127.0.0.1") {
# request from NGINX - do not alter X-Forwarded-For
set req.http.HTTPS = "on";
}
else {
# Add an X-Forwarded-For to keep track of original request
unset req.http.HTTPS;
unset req.http.X-Forwarded-For;
set req.http.X-Forwarded-For = client.ip;
}
set req.backend = www_director;
# Strip all cookies to force an anonymous request when the back-end servers are down.
if (!req.backend.healthy) {
unset req.http.Cookie;
}
## HHTP Accept-Encoding
if (req.http.Accept-Encoding) {
if (req.http.Accept-Encoding ~ "gzip") {
set req.http.Accept-Encoding = "gzip";
}
else if (req.http.Accept-Encoding ~ "deflate") {
set req.http.Accept-Encoding = "deflate";
}
else {
unset req.http.Accept-Encoding;
}
}
if (req.request != "GET" &&
req.request != "HEAD" &&
req.request != "PUT" &&
req.request != "POST" &&
req.request != "TRACE" &&
req.request != "OPTIONS" &&
req.request != "DELETE") {
/* non-RFC2616 or CONNECT */
return (pipe);
}
if (req.request != "GET" && req.request != "HEAD") {
/* only deal with GET and HEAD by default */
return (pass);
}
if (req.http.Authorization) {
return (pass);
}
if (req.http.HTTPS ~ "on") {
return (pass);
}
######################################################
# COOKIE HANDLING
######################################################
# METHOD 1: do not remove cookies, but pass the page if they contain TB_NC
if (!(req.url ~ "(?i)\.(png|gif|ipeg|jpg|ico|swf|css|js)(\?[a-z0-9]+)?$")) {
if (req.http.Cookie && req.http.Cookie ~ "TB_NC") {
return (pass);
}
}
return (lookup);
}
# Code determining what to do when serving items from the IIS Server
sub vcl_fetch {
unset beresp.http.Server;
set beresp.http.Server = "Server-1";
# Allow items to be stale if needed. This is the maximum time Varnish should keep an object.
set beresp.grace = 1h;
if (req.url ~ "(?i)\.(png|gif|ipeg|jpg|ico|swf|css|js)(\?[a-z0-9]+)?$") {
unset beresp.http.set-cookie;
}
# Default Varnish VCL logic
if (!beresp.cacheable ||
beresp.ttl <= 0s ||
beresp.http.Set-Cookie ||
beresp.http.Vary == "*") {
set beresp.ttl = 120 s;
return(hit_for_pass);
}
# Not Cacheable if it has specific TB_NC no-caching cookie
if (req.http.Cookie && req.http.Cookie ~ "TB_NC") {
set beresp.http.X-Cacheable = "NO:Got Cookie";
set beresp.ttl = 120 s;
return(hit_for_pass);
}
# Not Cacheable if it has Cache-Control private
else if (beresp.http.Cache-Control ~ "private") {
set beresp.http.X-Cacheable = "NO:Cache-Control=private";
set beresp.ttl = 120 s;
return(hit_for_pass);
}
# Not Cacheable if it has Cache-Control no-cache or Pragma no-cache
else if (beresp.http.Cache-Control ~ "no-cache" || beresp.http.Pragma ~ "no-cache") {
set beresp.http.X-Cacheable = "NO:Cache-Control=no-cache (or pragma no-cache)";
set beresp.ttl = 120 s;
return(hit_for_pass);
}
# If we reach to this point, the object is cacheable.
# Cacheable but with not enough ttl: we need to extend the lifetime of the object artificially
# NOTE: Varnish default TTL is set in /etc/sysconfig/varnish
# and can be checked using the following command:
# varnishadm param.show default_ttl
else if (beresp.ttl < 1s) {
set beresp.ttl = 5s;
set beresp.grace = 5s;
set beresp.http.X-Cacheable = "YES:FORCED";
}
# Cacheable and with valid TTL.
else {
set beresp.http.X-Cacheable = "YES";
}
# DEBUG INFO (Cookies)
# set beresp.http.X-Cookie-Debug = "Request cookie: " + req.http.Cookie;
return(deliver);
}
sub vcl_error {
set obj.http.Content-Type = "text/html; charset=utf-8";
if (obj.status == 404) {
synthetic {"
<!-- Markup for the 404 page goes here -->
"};
}
else if (obj.status == 500) {
synthetic {"
<!-- Markup for the 500 page goes here -->
"};
}
else if (obj.status == 503) {
if (req.restarts < 4) { return(restart); }
else {
synthetic {"
<!-- Markup for the 503 page goes here -->
"};
}
}
else {
synthetic {"
<!-- Markup for a generic error page goes here -->
"};
}
}
sub vcl_deliver {
if (obj.hits > 0) {
set resp.http.X-Cache = "HIT";
} else {
set resp.http.X-Cache = "MISS";
}
}
Thanks in advance,
I did some reorganisation of my mail in Lotus Notes 7 this mornign, and seem to have lost some in the process.
Not knowing Notes very well, I have two questions:
if I selected some mail in the Inbox using the check-column, and dragged that mail into a folder, then selected some more mail in the Inbox, and hit the Del key, will the group of emails that were dragged into the other folder be deleted too, because I didn't unselect them?
is there a way to search in all folders, rather than just the current folder?
OS X Spaces change when the mouse hovers near the edge of the screen. Does anyone know of an app or 'defaults' command to disable this?
Warp looks like it might help, but hasn't changed the behavior for me, even though I tried turning it off, or setting a modifier key.
If I mistype a URL, Chrome sometimes redirects me to a search. For instance, typing "example_url_i_sometimes_mistype.conm" into the location bar gets me:
Your search - example_url_i_sometimes_mistype.conm - did not match any
documents.
Not only is this annoying, but if the mistyped URL was one on private DNS, I've now just told Google that the domain exists. (A small concern, but bad in principle.)
Can I configure Chrome to just show an error and not blab to Google Search about it?
I have SSL-sertificate for www. mydomain.com
How is the right config for nginx to get desired:
SSL request without www (https://mydomain.com/somefile) will be redirected to https://www. mydomain.com/somefile
This doesn't work, broser shows SSL-warning (wrong domain) :(
server
{
listen 443 ssl;
server_name mydomain.com;
rewrite ^(.*) https://www.mydomain.com$1 permanent;
ssl_certificate intermediate.crt;
ssl_certificate_key www.mydomain.com.key;
}
I know how to create an AutoHotkey script to switch to (say) a Firefox window.
But suppose I have a number of Firefox windows open. I would like the key to switch to the next window each time it is pressed.
Hi All,
I have freshly installed ESXI 4. But when ever i reboot my server all the setting gets lost like IP setting move back to automatic instead of static, the license key gets lost.
Any ideas?
After reading this thread I might have sorted out why the CHKDSK-prompt starts.
But the biggest problem is that when it prompts me with Press any key with in 10..0 seconds,
nothing happens until the timer hits 6, then it starts the check even though I've pressed any button (and yet it's 4 seconds left).
This question states the problem as it appears at me, though the answer is wrong.
Why does the actual check start after 6 seconds, and is there any way to disable it from within Windows?
In Konsole (KDE on Debian), when I try control arrow key to move to next or previous word in a line, it prints 5d or 5c instead of moving forward/back one word. How do I activate these shortcuts?
Also, the shortcuts work fine in other applications.
I have this community that wants me to join in. They claim to be a very active referral service community.
I since referrals are private, I cannot gain access to the actual numbers.
I wanted to review their site usage to see really how active they are. Where do I check up on their visitor usage?
Will subversion accept usernames such as [email protected]?
We are using svn+ssh with public key authentication as per the official svn guide's ssh tips and tricks section.
Basically, we pass svnserve with the --tunnel-user={username} command, will subversion be OK with that username having @ and . in it?
Thanks.
I think the title says it all.
There is this question, but there wasn't much of a response and the main answer was about being scammed!
I am away from home and need to reinstall Windows 7 on my laptop. Can I get the ISO anywhere and just use the key on the bottom of my laptop?!
I have to transcribe some audio (not enough to download dedicated software but enough to put my hacker hat on) and flipping back and forth between vlc and my text editor every time I want to pause is really annoying.
Is there a way to always route a key-press (for example F10) to vlc regardless of what window has focus.
Bonus - I have a Makey Makey so if I can get this working I can create a pedal and it will be my first real use of it!
I have an extensive network of servers all currently hosted on AWS EC2.
For reasons of cost I plan to gradually migrate to dedicated servers where possible.
So: How can I best combine AWS and non-AWS servers in my network?
Ideally, I should be able to assign internal IP addresses to the external servers, include them in AWS security groups and ensure that all private traffic between my AWS servers and external servers is secure.
I am looking for a TCP proxy - a utility that will connect to a port, read a TCP stream, and write it to clients that connect to it.
The key point here is that there may be more than one client, and each client should receive a copy of the stream.
Preferably windows solution, but Linux can be useful as well.
The only devices on this particular LAN will all have public IP addresses. Also the public IP address will be configured directly on the machine,,, so we will not translate private/public IP addresses. If we use NAT,, we would have to translate the public IP on the WAN to the public IP on the LAN.
The only security feature I expect on the gateway is an access list.
I don't really know much about networking, so I am sorry if this question is generic.
I've seen several screencasts (recorded on Mac OS X) which show a nice little "toast" indicating which shortcut key is being pressed by the screencaster, typically in the middle of the screen. Is this a feature of the screencasting software? Is there an app that does this that stands alone?
I regularly do presentations for programming classes, and I want a way to show my audience what shortcuts I'm activating.
Hi,
Is there an app or utility in Windows that shows me the peak value of in-use memory (i.e., the total of the shareable and private memory of processes, drivers and the operating system) (not standby nor free)?
I've got lots of memory and I'm installing an in-memory file cache, called "eBoostr", and would like an idea how much memory to allocate for it and still avoid deteriorating page faults.
Essentially, I want the answer to the question, "How much of my RAM is actually being actively used?"
W