Routing sound in Windows 7 to separate devices
Routing Applications sound to different sound device? (Windows)
We have 10 PC with some version of Ubuntu and only remote access. While doing some upgrades to custom software I did not notice that the line endings in some scripts were Windows version (CR+LF) and not the Unix version (LF). So now when I want to launch the script it gives an error:   bash: /usr/local/bin/portsee: /usr/bin/python^M: bad interpreter: No such file or directory   Is there a way to change all line endings in a script from terminal. The thing is that I can not install any new software to this group of PC-s. how to show only changed rows if want querying the following table :  EventDateTime (DateTime), Host (guid), Flag ( bit) 2013-04-01 05:00, {id-x}, 0 2013-04-01 05:01, {id-x}, 0 2013-04-01 05:02, {id-x}, 0 2013-04-01 05:03, {id-x}, 0 2013-04-01 05:04, {id-x}, 1 2013-04-01 05:05, {id-x}, 1 2013-04-01 05:06, {id-x}, 1 2013-04-01 05:07, {id-x}, 0 2013-04-01 05:08, {id-x}, 0 2013-04-01 05:09, {id-x}, 0 2013-04-01 05:10, {id-x}, 0 2013-04-01 05:11, {id-x}, 1 2013-04-01 05:12, {id-x}, 1 2013-04-01 05:13, {id-x}, 1 2013-04-01 05:14, {id-x}, 1 2013-04-01 05:15, {id-x}, 0   and the result should be:  2013-04-01 05:04, {id-x}, 1 2013-04-01 05:07, {id-x}, 0 2013-04-01 05:11, {id-x}, 1 2013-04-01 05:15, {id-x}, 0   i have try it with LAG,LEAD and OVER Clause. but no luck :( I have a very large codebase (read: thousands of modules) that has code shared across numerous projects that all run on different operating systems with different C++ compilers. Needless to say, maintaining the build process can be quite a chore.   There are several places in the codebase where it would clean up the code substantially if only there were a way to make the pre-processor ignore certain #includes if the file didn't exist in the current folder. Does anyone know a way to achieve that?  Presently, we use an #ifdef around the #include in the shared file, with a second project-specific file that #defines whether or not the #include exists in the project. This works, but it's ugly. People often forget to properly update the definitions when they add or remove files from the project. I've contemplated writing a pre-build tool to keep this file up to date, but if there's a platform-independent way to do this with the preprocessor I'd much rather do it that way instead. Any ideas? Edits that shadow a suggested edit inconsistently reject but include the suggestion I have the edit privilege. If I edit a post which has a pending suggested edit, then:  My edit starts from the version resulting from the suggested edit. I'm not notified of that, or even of the existence of the suggested edit. (There's actually a clue, but it's easy to overlook — the edit summary field is pre-filled with the summary from the suggested edit.) The suggested edit is marked as rejected by Community with the message “This edit conflicted with a subsequent edit.” The suggester is not credited in the edit history, my revision combines the suggested edit with my modifications.  This can happen if an edit is suggested while I have the page open: I click on “edit”, and think I'm editing the version that I was just reading, but in fact I'm editing somebody's suggested edits. It also happens if I deliberately visit /posts/12345/edit, which . Examples: a  that I approved and then wanted to ; a  where I . There are two bugs here, but I'm making a single report because they're very closely linked.  I'm not told about the suggestion, so my edit includes content that I'm not aware of, yet is attributed to me. The suggestion is marked as rejected and the suggester is not credited in the edit history, yet the suggested changes are made. Transparent textured planes produce black artifacts Cannot find hard drives after installing Ubuntu 13.10 I have the following code in my theme's archive.php:  &lt;?php the_archive_title( '&lt;h1 class="page-title"&gt;', '&lt;/h1&gt;' ); ?&gt;   This gives me titles like "Category: Russia", "Tag: America", "Author: John".  I would like to remove the "Category:", "Tag:" and "Author:" part and just display the category, tag and author names.  Does anyone know how to accomplish this?  Thank you. Why isn't the gamma function defined so that $\Gamma(n) = n! $? Add year to question and answer dates Is there a difference between them? If so, how and when are they used?  For example:     I fixed a little/small typo. For example block cipher AES-128, Key size is 128bit and it is used to make a 10 round key which is total 320bit.  Question 1. If i use another Key schedule algorithm in AES, then security decreased or remain same? In other words, if the key schedule algorithm of AES has some relationship with AES encryption itself, then it will be decreased, or it will be same if the new key schedule algorithm is safe enough.  Question 2. Why we expand key? brute force will take O(2^128) time regardless of the key schedule is strong or not. what is the advantage of making key expend? I was curious about this when I was learned about 3DES. Which developed because the former DES has weak key length 56bit so vulnerable to brute force attack, i was wondering why doesn't they just remove key schedule process and use the whole round key as a key. Is it possible to use the animals that are summoned using Conjure Animals as mounts?  As an example: Summoning Giant Eagles to carry a group up the mountain or over a wall. How can I join these two meshes in a proper way? I know I can Ctrl J to join them, but how can I do so without having overlapping faces? Getting a credit card exclusively for the sign-up bonus There are quite a few credit cards with exceptional sign-up bonuses (and then fairly average terms). If I signed up for one, fulfilled the spending conditions for the signup bonus, used that bonus, paid off the card and then cancelled it immediately after, would there be a significant impact on my credit history?  I suppose it would divert spending away from my primary credit card (the one I never close), which would reduce slightly the spending history I have on that card. Essentially, the record of my spending on these auxiliary cards would be erased when those cards were canceled. But is there a penalty to my credit score for closing a card beyond the loss of history that was on the closed card? How to schedule a cron job to run a video fill every 5 minute? How do I craft command blocks? I went to my friends house, and he was playing Minecraft on the PC. He showed me a command block, but when I went home and opened Minecraft pocket edition, I went to the crafting table but I could not find any command blocks to craft.  What are command blocks and how do I craft them? Why does the mirror modifier sometimes give me an overlapping mesh? When I add a mirror modifier it sometimes doesn't mirror correctly, giving me an overlapping mesh. How can I fix this? I would like to create a virtual device in Android Studio but I can't because hardware acceleration is disabled.  I went to the BIOS and there are two option :  AMD-SVM AMD-IOMMU   Both are enabled.  I also downloaded the HAXM installer from the SDK manager and tried to run it from the   C:\Users\%user%\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager  with intelhaxm-android file.  I got an error telling me :   This computer does not support Intel Virtualization technology VT X or it is exclusively used by Hyper V. HAXM cannot be installed. Please ensure that hyper V is disabled in windows feature   It makes sense that I can't activate Intel Virtualization technology because I have AMD Ryzen 7 2700U.  With my previous computer it worked just fine but I had an Intel processor.  Some tutorials online suggested to enable windows Hyper-V feature but it's only available for windows 10 pro.  Does anyone know a way to activate hardware acceleration with AMD processor and without Hyper-V feature? Why can't the end code of an environment contain an argument? After the DEM creation, I wanted to create slope layer.   However, the result has not satisfied me. I don't think the slope map is correct. Have you ever encountered false calculated terrain map?  This is the DEM:    And this is the slope layer.