When I press TAB key in command window, the tab character (spacing) is inserted instead of iterating trough items in current directory. How can I make it work this other way (autocompletion)?
Having an issue where I have a folder on a QNAP NAS (TS-439P II+) with over 68,000 subfolders within it.
I can browse it quickly and almost instantaneously within Windows 7 via samba, however in OSX 10.6.8, it takes nearly 10+ minutes to display the subfolders, using both samba and AFP.
Hoping there is an easy solution - we can't break the folders into smaller subfolders due to a requirement of proprietary software that accesses the sub folders.
I've tried the fixes suggested here, which don't seem to help:
http://www.macwindows.com/snowleopard-filesharing.html#030311b
I have a CSV file where data are in the following format
|001|,|abc,def|,123456,789,|aaa|,|bbb|,444,555,666
I want to replace only those "," that appears between numbers with some other character like say SOH or $ or *
other "," appearing in the line should not get replaced i.e. to say I wish to have following output
|001|,|abc,def|,123456*789,|aaa|,|bbb|,444*555*666
Can someone please help me with sed command pattern to get the above desired output
I accidentally changed the ownership of the /bin, /boot, /etc and /dev recursively to nobody:nogroup using chown when I misplaced a forward slash!
How can I resort the original file ownerships?
I've managed to get them all to root:root but I'm not sure if all the files should be owned by root and if this will break something?
Is they are option to fix file permissions like there is in OS X?
Help!
Objective:
I'd like to have nginx hide calls to a third party api
Example Request:
http://example.com/myapi/60601
Nginx rewritten proxy_pass request calls:
http://api.remix.bestbuy.com/v1/stores(area(60601,10))?show=storeId,name&apiKey=redacted_24_character_string
Code i've tried:
This works but not for parameters
location ^~ /myapi/ {
rewrite ^/myapi/(.*) /api/check/$1/key/e95fad09aa5091b7734d1a268b53cef5 break;
proxy_pass http://api.server.com/;
}
I'm getting a bad gateway error all the sudden for a site. I didn't change the configuration for the site, I just added a new server config where I put them under /etc/nginx/servers and it stopped working. The new server works, and there is no conflict between the php-fpm listen addresses.
server {
listen 80;
server_name obfuscated.onion;
location = / {
root /var/www/sites/obfuse;
index index.php;
}
location / {
root /var/www/sites/obfuse;
index index.php;
if (!-f $request_filename) {
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
if (!-d $request_filename) {
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
}
error_page 404 /index.php;
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico)$ {
root /var/www/sites/obfuse;
access_log off;
expires 30d;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/sites/obfuse$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param PATH_INFO $fastcgi_script_name;
include fastcgi_params;
}
}
There is nothing unusual in php-fpm's log even when I raised the level to debug.
[24-Jun-2013 09:10:37.357943] DEBUG: pid 6756, fpm_scoreboard_init_main(), line 40: got clock tick '100'
[24-Jun-2013 09:10:37.358950] DEBUG: pid 6756, fpm_event_init_main(), line 333: event module is kqueue and 1 fds have been reserved
[24-Jun-2013 09:10:37.358978] NOTICE: pid 6756, fpm_init(), line 83: fpm is running, pid 6756
[24-Jun-2013 09:10:37.359009] DEBUG: pid 6756, main(), line 1832: Sending "1" (OK) to parent via fd=5
[24-Jun-2013 09:10:37.389215] DEBUG: pid 6756, fpm_children_make(), line 421: [pool cyruserv] child 22288 started
[24-Jun-2013 09:10:37.391343] DEBUG: pid 6756, fpm_children_make(), line 421: [pool cyruserv] child 21911 started
[24-Jun-2013 09:10:37.391914] DEBUG: pid 6756, fpm_event_loop(), line 362: 5776 bytes have been reserved in SHM
[24-Jun-2013 09:10:37.391941] NOTICE: pid 6756, fpm_event_loop(), line 363: ready to handle connections
[24-Jun-2013 09:10:38.393048] DEBUG: pid 6756, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool cyruserv] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[24-Jun-2013 09:10:39.403032] DEBUG: pid 6756, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool cyruserv] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
[24-Jun-2013 09:10:40.413070] DEBUG: pid 6756, fpm_pctl_perform_idle_server_maintenance(), line 379: [pool cyruserv] currently 0 active children, 2 spare children, 2 running children. Spawning rate 1
I don't know why this has started happening, but the logs are not telling me anything. Please ask for more information than this, you'll probably need it.
I have a webserver running a number of websites.
When I ssh in, it gives me a tab name of [email protected], which is counterintuitive, making it seem like those tabs are on my localhost.
I would like to change the hostname, but I want to be sure that it won't break anything else.
So for what purposes does that hostname string get used, and how can I be sure that it won't affect any functioning systems?
I wonder if we can force notepad++ to respect the previous whitespace character when it autoindents a new line:
list[CR][LF]
····item1[CR][LF]
····item2[CR][LF]
--->|
(notepadd++ screenshot recreation showing hidden characters, because I don't have enough reputation to post images, sorry xP)
If I am indenting with tabs I want a tab when notepad++ does an autoindent.
But if I am indenting with spaces, I do want spaces.
I'm using rails with nginx/passenger.
If I set up the expire http header of a css file to 1 year, if I modify that file, will it be ignored by the browser (ie, it will not request the new version)?
Given that Rails adds a different timestamps to each asset such as foo.css?1270165626 every time I restart the server?
That's the config I use right now (nginx/passenger):
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
expires max;
break;
}
I understand that LTE and WiMAX are IP-based technologies that do NOT have a voice component unlike the current 3G technologies. So is it like, voice calls in 4G would be completely driven on top of IP? Wouldn't this break backward compatibility with existing 3G technologies? Is this why 4G is taking it took long to take ubiquitous availability?
I am looking for an all-in-one solution which can do at least the first 2, preferably all 3 of the following steps from my current manual process:
Podcast download (currently using iTunes)
Search for and download matching Cue Sheet from web (currently using CueNation)
Use the CUE file to split the MP3 (currently using Medieval CUE Splitter)
Does such a thing exist?
Or do I have to break out my C# skills?
I have English Windows 7 Professional with Hungarian keyboard language installed.
The English keyboard layout works as expected, but for the Hungarian layout some kind of "accent combining" is activated.
The effect of this ^+o becomes ô, ^+a becomes â, etc.
This is not helpful at all, since the accented characters of Hungarian are already mapped to keys, but it's really annoying because I have to type a non-combining character to actually get ^.
Is there any way to turn this "feature" off?
I noticed that the username I used to install Ubuntu got added to a bunch of groups in the /etc/group file. I'm getting rid of unneeded accounts. Would anything break if I removed that first account?
I have a multipage TIFF file I need to use in Word 2007. Problem is I can only figure out how to insert the first page the multipage TIFF file. Does Word have the ability to let me select which page of the mulipage tiff I want to insert or do I have to break the TIFF file up (which would be a pain)?
I have a list (e.g., a bulleted list) in Microsoft Word. This list is inside a table cell.
When I press Tab to increase the indent, rather than increasing the indent, it moves the cursor to the next cell. When I try Ctrl+Tab, it just inserts a tab character without changing the indentation of the bullet (paragraph).
How can I turn this off, so it does not go to the next cell but rather just indents the list?
Is there a simple way in MS Word to get large quotation marks tightly round a paragraph of text, like you might see in print media to mark a quote?
If you simply increase the font size of the quote character, it moves too far away from the text it's accompanying. Worse, the first and last lines start to detach from the rest of the paragraph. Here's what I mean (this is Calibri I think):
But this is the desired effect (can't do this in Word, had to chop it about in a paint package):
Is there an option or tool that will allow me to change the default naming convention for files copied into the same directory in Windows (XP) and above.
e.g. from: Copy of {name}.{ext} to: {name}.{ext}.copy
Currently:
original_file.php
Copy of original_file.php
Desired:
original_file.php
original_file.php.copy
This would make finding/working with duplicated files much easier (they auto-sort together) and the filetype (by extension) changes thus it can't accidentally "break" something (e.g. if it were a *.java file, upon compiling I would get errors)
Hi Folks,
how can i set the Variable character_set_results from latin1 to uft8? I thought it would be enough if I would add the following variable in the my.cnf:
default-character-set=utf8
But it not seem so:
mysql SHOW VARIABLES LIKE 'character_set_%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
Some body have an idea how i can set character_set_results to utf8?
I need to configure a IMAP4 capable (console-based) email client to
- check and edit the name of an attachment ("contains umlauts?" - change character ä to ae)
- delete emails that don't fit certain requirements (not PDF, DOC,... not from domain xyz.com)
Whether the client can do everything by itself or can just trigger a script on incoming mail doesn't matter.
Anyone have an idea with mail client would be suitable for such a task?
We have a teacher that has a project for doing some basic film editing with windows movie maker. We loaded the avi file onto the computer and Windows is trying to install a codec but can't. I assume I need to install some type of codec pack. I'm looking for suggestions on a codec pack that I can easily deploy through a Win2003 server to WinXP clients.
Ideally, this codec pack shouldn't break anything else and be easily removed if need be.
I was almost set on getting a Samsung - SyncMaster 2343BW PIVOT, due to the high resolution, pivot and uber-cheapness.
But after reading the comment on this SU question, I was bummed to realize it's a TN screen, which apparently would be a pain for my inteded use ; i.e. portrait mode for reading/coding.
Do you know of a comparable model that is "IPS or PVA/MVA", but won't break the bank ?
cheers
I use Menu Meters to show me how much data is being sent and received by my Mac as a whole.
But (as far as I can tell), it doesn’t break it down by application. If there’s a lot of data being sent or received, it’d be nice to see which app is doing it.
When a given font does not provide a glyph for a unicode character, windows pulls glyphs from a font which does provide it (see screenshot showing charmap and text editor displaying glyphs missing from calluna; the missing glyphs are (not) shown in the pdf visible in the same document. Fontforge also reveals that the glyphs are indeed not in that font).
How can I work out from which font windows is pulling the substitute glyph? (I'm using windows 7)
I'd like to install windows 7 on it's own SSD drive (everything else would be on a standard hard disk) but I don't want to break the bank. I saw a 40GB one on newegg.com for $124.99 but i've heard that you get better performance with SSD drives if they have more free space on them.
Do you think a 40 GB would be large enough?