Tag Info

Hot answers tagged

33

Pipe Viewer has this feature. cat /dev/urandom | pv -L 3k | foo


11

It's an IPv6 address. The fe80:: block is reserved for link-local addresses. Link local addresses are used for packets sent only to directly connected devices (not routed). The network discovery protocol (NDP) is the biggest user of link-local addresses (NDP sorta replaces ARP and DHCP in IPv6). Each of your interfaces will have a different link-local ...


11

Here's a couple: fold echo "Hello there" | fold -w 1 H e l l o t h e r e Perl echo "Hello there" | perl -pe 's/(.)/$1\n/g;' H e l l o t h e r e


10

I'd say that Juliano has got the right answer if you have that tool, but I'd also suggest that this is a neat little K&R style exercise: just write a specialized version of cat that reads one character at a time from stdin, outputs each to stdout and then usleeps before moving on. Be sure to unbuffer the standard output, or this will run rather jerkily. ...


10

awk is probably the canonical tool for this kind of problem. $ cat data foo 200 bar foo 200 baz bar 4 baz $ cat data | awk '$2 != 200 { print $0 }' bar 4 baz


5

It's not the most intuitive of things, but you can do it using NoScript's Application Boundaries Enforcer. I explained how to block just Google Search's Javascript (to kill Google Instant without logging in while still allowing easy login and use on other Google sub-sites) at How to make Google Search scriptless with NoScript/AdBlock? You can also use it ...


5

You can use sed to do this. It's a little more lightweight than perl but still allows you to use regular expressions to express your heart's desires. $ echo "Hello world" | sed -r 's/./&\n/g' H e l l o w o r l d


4

This also works: echo "Hello there" | grep -o . . matches a single character. -o only prints the match (rather than the whole line).


4

There is nothing you can do to push the buttons into the background. Format the cells to be top-aligned, or add a few spaces before the text in each cell. Top aligned looks like this: Spaces added in front of the text look like this:


4

[in][watermark] overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2 [out], scale=480:-1" ..has [out] in the wrong place, which renders the filtergraph meaningless. It should be: [in][watermark] overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2, scale=480:-1[out]" Personally I dislike the movie filter, for purely aesthetic reasons (I think it makes the ...


4

The best solution I can see is adding a proxy server behind your local network with user authentication. On this proxy you can configure policy and filter every single web access of each proxy connected user to internet.


4

You won't be able to add information that's not there. You are approximately doubling the dimensions of each frame so you will need to add pixels in between each of the existing ones. The best you can hope for is to interpolate the colour - this will give you a smooth image, but it will be more blurred than the original.


4

Try using double tildes: =VLOOKUP(SUBSTITUTE(C1,"~","~~"),A:B,2,false) It seems to turn the second tilde to a literal tilde to lookup, but besides that, I don't know why it works. The data I used it on is: A B C D ~Hello 1 ~Hello =VLOOKUP(SUBSTITUTE(C1,"~","~~"),A:B,2,false) Hello 2 Cell D1 is returning me ...


4

The feature to filter for color (font or background) is already implemented since Excel 2007. Read more about it on: http://msdn.microsoft.com/en-us/library/cc952296.aspx. Here is a Youtube video for the case you overlooked the filter option. You tagged your question with Excel 2010, so I assume you have 2010 installed. Only 2003 won't have this ...


4

Try searching for ~* in the directory that you want to search. The Tilde (~) lets you use the old DOS search syntax. The asterisk (*) means "return everything". You could also use type:NOT"file folder" which would exclude the listing of all the folders but show all files. Some sources for advanced query syntax: ...


4

Not quite not what you want, but Tweetdeck does have some limited filtering


4

Since you're already pooched, you need to carve off the crap from last year. If it's consistent enough to always be in the stock format, here you go: #!/usr/bin/python import sys for line in sys.stdin: if line.startswith('gpg-pubkey-'): continue # We don't care about imported keys. G'bye! try: woarch = line.rsplit('.', 1)[0] # Bye, arch! ...


4

This is far from perfect, but it's worth a try. $ rpm -qa --qf "%{NAME}\n" > currentlist $ join -t . -v 1 oldlist currentlist # show packages in oldlist not in currentlist $ join -t . -v 2 oldlist currentlist # show packages in currentlist not in oldlist This sed command works on all the ones except for the group you labeled "diverse": sed ...


4

You can Save for Web and devices... and then select PNG-8 format, turn dither to 0% and reduce the number of colours down to just a few. I got reasonable results with your sample image by reducing the number of colours to 6.


4

No, this doesn't seem to be possible. Such processing is probably easiest to do on the mail server, with stuff like procmail, Courier maildrop, amavisd-new, etc. Amavisd-new is specifically designed to pass mail to external processing programs before delivery, usually anti-virus and anti-spam daemons. If you cannot do it on the server side, you would need ...


4

First of all, you should find out what originally launched bsecured. Open up Activity Monitor and find bsecured in the list. Click 'inspect' and look at the parent process. If it's launchd(1), it was launched on boot. If it's launchd(coupleOfHundred), it was launched when you logged in. To stop it coming back download Lingon and look through the different ...


4

Your best bet would be to set your band pass filters very tight, probably from 1 kHz to 4 kHz and gradually add content back on either side to until you find the the speech is intelligible but wind noise is minimized. Unfortunately I don't think you'll be able to remove it all. Obviously it would have been best to use a windscreen on a microphone, this is ...


3

The filters only run automatically for any new incoming mail. For those that are already sitting in your inbox, you'll have to manually select the folder and run the filters for them. Try setting up some kind of hotkey for the action, or test out the Run Filters on Folder add-on. The "Age in Days" filter isn't used for existing sitting mail, but for when ...


3

Linksys WRT54G(L) with DD_WRT will take 128 addresses.


3

Highlight an existing e-mail you want the rule to be based on (one with the subject you want the rule about), then click "Rules" on the "Home" tab. Click Create rule>Advanced, and you should see the option to check subject with your existing subject already added (the second one down in the screenshot). P.S. You can also edit the text by checking the ...


3

To get the names into a range, you could make your data a table and then create a pivot table with Nationality as the report filter and Persons as the row label. Then choose English from the nationality list. See screen shot below (ignore column D as it was not used);


3

Enter this in G3 and drag down. It's an array formula, so must be entered using Ctrl Shft Enter =IFERROR(INDEX($B$3:$B$8,LARGE(($C$3:$C$8=$E$3)*(ROW($B$3:$B$8)-2),COUNTIF($C$3:$C$8,$E$3)-(ROWS($3:3)-1))),"") Note, IfError is only available in XL 2007/10, otherwise, you'll need to use: ...


3

I don't know if you can do it with NoScript, but you might be able to do it with GreaseMonkey by replacing the function or clearing the onLoad.


3

Excellent answer above from eater. Ipv6 link-local addresses, as said above, of the form fe80:* in fact fe80::/10 meaning the top ten bits only are matched against fe8*:* so the range is fe80::0 .. febf:*. Check my arithmetic. These addresses are the equivalent of 169.254.*.* addresses in ipv4, although the ipv4 counterparts are much much less well used. ...


3

Enter this into the Filter: field: !(ip.src >= 192.168.0.0 and ip.src <=192.168.255.255) and click on Apply. If you want to hide activity going to those addresses as well, change ip.src to ip.addr.



Only top voted, non community-wiki answers of a minimum length are eligible