I've created an Active Directory Domain Controller on a Windows Server 2012 hosted on AWS and gave it a domain name dev.insidetest.com  Now I am trying to undestand how to join my local computer to this domain.   I'm pretty new to Active Directory and just trying to set up a test environment, and trying to understand how to expose my AWS AD to the world (I understand all of the risks of completely exposing something to the world, this is just testing, no production).  I did open all of the TCP ports on my AWS instance, but can't figure out what are other steps involved and even if this is actually possible.   I've had some experience with setting up something similar, but all of the machines were on my local network, so it was a bit of a different story.  Any suggestions/help is greatly appriciated.   Update:   I did see  but I don't think it's a duplicate, I undestand all the security risks but I am just creating a test environment to play around with LDAP. All I need to know is how to actually do it.   I'd expect that I need to specify the ip of where my AD is hosted as well as open specific TCP posts required for this type of connection.
I have a client whose workforce is comprised entirely of remote employees using a mix of Apple and Windows 7 PCs/laptops.   The users don't authenticate against a domain at the moment, but the organization would like to move in that direction for several reasons. These are company-owned machines, and the firm seeks to have some control over account deactivation, group policy and some light data-loss prevention (disable remote media, USB, etc.) They are concerned that requiring VPN authentication in order to access AD would be cumbersome, especially at the intersection of a terminated employee and cached credentials on a remote machine.  Most services in the organization are Google-based (mail, file, chat, etc.) so the only domain services are DNS and the auth for their Cisco ASA VPN.  The customer would like to understand why it is not acceptable to expose their domain controllers to the public. In addition, what is a more acceptable domain structure for a distributed remote workforce?  Edit:   is in use for a handful of Mac clients.
Rename All Files with a Certain Name I'm trying to find certain files with the name "stringx" and replace the name (but not the extension) with "stringy". So basically for stringx.txt and stingx.cs, I'd want stringy.txt and stringy.cs. I've attempted to test my rename command regex using following, but it returns no results:  rename -n 'stringx./s/\*$stringy./\/' stringx.*   I'm running csh under Centos. I can see that my regex is probably not correct, but I can't see any results to verify this. I can see that there are files that are named stringx. with the following:  find ./ -name 'stringx.*' Clicking on the rep league lines that read like &quot;top 2% this quarter&quot; returns a 404 page. Example in point:  This report is split off as per request of Adam Lear from Should I mention about my governmental-funded PhD scholarship which I don't want to use SFDX Pull error: Entity of type 'ListView' named XXX cannot be found While trying to pull changes from a scratch org (sfdx force:source:pull, tried with and without -f), I'm getting this error:     Entity of type 'ListView' named 'Note_Relation__c.My_Notes' cannot be found.   I do have a custom object Note_Relation__c, and it exists both locally and in the scratch org.  However, it's not an object that is normally accessed directly.  It has no tab, and should have no list views.  Nonetheless, I've checked the object's list view (via prefix, e.g., /a0D in both Classic and LEX view), and I can find no list views at all.  I've also tried adding an entry to .forceignore:  force-app/main/default/objects/Note_Relation__c/listViews/My_Notes.listView   This has no effect either.  At this point, I'm stuck with a bunch of config changes in a scratch org that I cannot pull.  I can find no references to this error message with scratch orgs.  Has anyone seen this issue?  Edit to clarify: I tried the .forceignore line based on what I think the file name should be; I have no force-app/main/default/objects/Note_Relation__c/listViews directory locally.  Edit 2: Workaround:  I found a workaround that doesn't make sense to me, but it works.  I'm not adding it as an answer yet because I'm not sure what's happening.  The workaround is to add the following line to .forceignore  Note_Relation__c.My_Notes   Even though this isn't a DX filepath, it's the name from the error message, and it seems to work. Computing determinant without expansion $$\begin{align}\mathrm D &amp;= \left|\begin{matrix} (b+c)^2 &amp; a^2 &amp; a^2 \\ b^2 &amp; (a+c)^2 &amp; b^2 \\ c^2 &amp; c^2 &amp; (a+b)^2 \end{matrix}\right|\\ &amp;= (a+b+c)\left|\begin{matrix} b+c - a &amp; a^2 &amp; a^2 \\ b - a -c &amp; (a+c)^2 &amp; b^2 \\ 0 &amp; c^2 &amp; (a+b)^2 \end{matrix}\right| \\ &amp;= (a+b+c)^2\left|\begin{matrix} b+c - a &amp; 0 &amp; a^2 \\ b - a -c &amp; a+c - b &amp; b^2 \\ 0 &amp; c - a-b &amp; (a+b)^2 \end{matrix}\right|\\ &amp;= (a+b+c)^2\left|\begin{matrix} b+c - a &amp; 0 &amp; a^2 \\ 0 &amp; a+c - b &amp; b^2 \\ c - a-b &amp; c - a-b &amp; (a+b)^2 \end{matrix}\right|\end{align}$$  Can $\rm D$ be further simplified without expanding ?  I feel it should be because this was competition question. Langage to declare a circuit board How to change Function (Fn) Key behavior on wireless Logitech keyboard I do have a wireless Logitech K750 keyboard (silver Mac version) connected to a Lenovo ThinkPad (via the unifying USB receiver, together with a wireless Logitech mouse M705) and currently running Ubuntu 12.04.  By default the F-keys are mapped as multimedia/function keys, e.g. Play  /Pause. As I don't use them very often, I want the F-keys to behave like the "real" F-keys (F1-F12). How can I do that?  I know there is an option in the BIOS settings, but this only toggles the built-in keyboard of the notebook, not on my wireless keyboard.  I know there is a way to change this for the Apple wireless keyboard (), but there is no "parameters" directory in /sys/module/hid_logitech_dj/.  Any ideas? Or is there maybe a way to do this in a later Ubuntu version (13.04)?  UPDATE:  lsusb -d 046d: shows Bus 002 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver  UPDATE 2: Thanks a lot for your help Lekensteyn. Finally  works just fine. In the "Known Issues" of Solaar it says that it does not work with the Nano Receiver. But I have one and it works just fine. Just don't forget to read the installation instructions and run the rules.d/install.sh script. It also recognized my M705 Mouse. Can an html element have multiple ids? I don't know what I've done, but all of a sudden I am unable to compile any document which uses the geometry package. Minimal (non)-working example:     \documentclass[11pt]{article}      \usepackage{geometry}  \begin{document} test \end{document}   doesn't produce any output, and this is what I see in my error summary screen in TeXnicCenter:    The red arrow points to what seems to be the problem: something about the bundle "oberdiek" and its package "ifvtex" is causing pdflatex.exe (which, while I don't really know what it does, sounds pretty important) to "not be initialized". I , and it's relevance here is a mystery to me.  I've confirmed that all of my files without the geometry package compile just fine; however, that doesn't mean that the problem is with the geometry package - what seems more likely is that there is some hidden cause of the error, and geometry happens to be one way to induce that. By the way, I've tried compiling a document which includes the ifpdf and ifvtex packages separately, and they do just fine; it's only when I include the geometry package (which for some reason requires these ifpdf and ifvtex packages) that the error occurs.  I've tried the only things I can think of:   going into MiKTeX Package Manager (by the way I am using 2.8), and removing + reinstalling both geometry and oberdiek refreshing the file name database ("FNDB") deleting all automatically generated files, as well as simply starting over in a new document   So I'm stuck now. I've considered attempting to just get rid of all traces of MiKTeX and TeXnicCenter from my computer and starting over, but that seems a bit excessive - after all, the geometry package was working for me . I honestly am not sure what I did to cause this; I've spent today trying to make a better template file for myself, and so I've been trying out new packages, but if I'm not loading these new packages there shouldn't be any conflicts, right?   Actually, I've just now thought of something that I think I did between the last time it worked and now, so is a possible candidate for the cause: I had to install some package manually, as it wasn't available on MiKTeX, and so I created a folder and pointed MiKTeX to it (i.e. the second option ). The package didn't do what I wanted, so I deleted the folder and removed it from the list of folders I told MiKTeX to check. Perhaps it's still trying to reach it for some reason? .cache/upstart/Unity7.log growing to consume the entire free disk space. Python cypto suspected What should happen to questions asked by non-existent users with answers that score higher than the accepted answer? Here's the scenario:  Bob asks a question on Stack Overflow. Bob gets a few answers and selects the one that helps him the most. Bob's account gets deleted. Another (considerably better) answer is posted to Bob's question. The new answer soon scores higher than the accepted answer.  There is no way for Bob (or anyone) to change the accepted answer on the question. However, it's still the first thing everybody sees when they visit the question (despite the fact that there is a better answer further down). Now I can almost hear somebody asking the question, &quot;but how often does this really happen?&quot; I'm glad you asked. I just spent the last hour or so constructing a Data.SE query to answer exactly that:    The results? 3,177 rows. Naturally, I am wondering if there is anything that can be done about this. The following options immediately come to my mind:  Change the accepted answer. This option is here for completeness. I doubt anyone here (including me) actually would consider it. The accepted answer was selected by the user and changing it does not make sense.  Change the sorting order. This makes much more sense. Note that I am not advocating that we always change the sorting order whenever an answer outscores the accepted answer. I am only advocating that this happen when the OP's account has been deleted.  Remove the checkmark from the accepted answer. This option was suggested by Robert Harvey and I actually think it's a viable option as well. After all, the OP is no longer around, so I don't see much value in indicating which answer helped him the most.   Any thoughts? (Also, I'm not an SQL expert, so if you have suggestions for improving the query, feel free to point them out.) How do I simplify and evaluate the limit of $(\sqrt x - 1)/(\sqrt[3] x - 1)$ as $x\to 1$? Consider this limit:  $$ \lim_{x \to 1} \frac{\sqrt x -  1}{ \sqrt[3] x -  1}  $$  The answer is given to be 2 in the textbook.  Our math professor skipped this question telling us it is not in our syllabus, but how can it be solved? How do I unit test (using xUnit) a class that has internal private methods, fields or nested classes? Or a function that is made private by having  (static in C/C++) or is in a private () namespace?  It seems bad to change the access modifier for a method or function just to be able to run a test. I applied for a B1 visa to attend a conference in the USA in 2013. I had another nationality (Non- VWP) at the time and my B1 application rejected under section 306 of border security. I now can apply for ESTA under my new nationality. Can my ESTA application get approved? If not and I need to apply for visa is it every time I need to travel to stated or is it just the first time? Is there a way to view Google Chrome browsing history past three months ago? I'm trying to find a page I looked at months ago but it looks like it's disappeared off the face of the planet. I thought I would have better luck looking through my Google Chrome browsing history, but I can't see history past September. Can I force Google Chrome to display history further into the past? Can I retrieve the history manually from a directory? Is the history data gone? Quantum information references Setting up a bicycle for someone with restricted knee articulation My father, now in his 70's, had a left knee replacement several years ago. He has limited movement in that knee - probably about 85 degrees on a good day. His knee can extend fully, but cannot bend as much as it should. As a result, he cannot pedal a bike he cannot get his left leg over the top of the pedal stroke.   He is desperate to get back onto a bike, he knows he won't be ripping up the road and winning races like the old days, but wants the freedom to go for a slow easy rides.    Does anyone have suggestions as to a solution to the problem. We don't mind spending money if we know the solution will work, but he can't afford to throw big money at wild ideas that may or may not work. If we find a solution, a new bike is likely.   We have access several mountain bikes in a range of sizes to trail ideas, and we have all the tools and skills to build bikes up from parts and rearrange things as needed.    EDIT: Thanks everyone - all great suggestions. What am am going to do is got tto the LBS and get hold of a cheap set of short cranks for around $30- probably from a kids bike, in the 120-150 size range, and see if he can ride that. Depending how he goes, I'll try a standard right crank and a short left crank. If all else fails, we will go for the Power Cranks   UPDATE: In case anyone else has similar problems. Got some 152mm cranks for $30. Set an old  mountain bike up with the seat as far back as possible. The old man is able to ride reasonably comfortably, now has a smile from ear to ear - any suggestions how to remove it - doesn't fit with the grumpy old man image :)   Has got me wondering how many people with minor knee problems would benefit from short(er) cranks....... Press space to continue How do I stop a bash script until a user has pressed Space?  I would like to have the question in my script     Press space to continue or CTRL+C to exit   and then the script should stop and wait until Space is pressed. I use wubi to install Ubuntu 10.10 on my ntfs partition. So I want to change the home folder to a folder on the ntfs partition. I could keep the personal configuration, software and so on after reinstalling the Ubuntu.  So I use ntfs-config to manage the disk partition, it's mounted when system is startup. And the permission of all files and directories are 777.  Then I modified the /etc/passwd to set the home folder to the folder on the ntfs partition. I can successfully login the account, however it looks like the .bashrc and .profile are not loaded correctly. I can't use the input method(even can't configure ibus), no sound device. However everything works well after changing the home folder back to /home/.  Could anybody give me a hint to make it work? Thanks. I want to attach a code file to my question, but I am not able to find a link to do it. Is attaching files possible at all?