- Do you use version control? (if not, the interview should be over =))
- Do you test your code?
- How do you make sure that all code is understood by more than one person?
- Do you do code review? Does all code get reviewed?
- Do you have an issue tracker?
- Describe your deployment process -- how do you find bugs in your team's code? What recourse do you have when you find a serious bug in production code?
- Who is responsible for doing deployment? How often do you deploy?
- How do you think about code correctness?
- When something goes wrong, how do you handle it? Do devs get shamed for breaking the build?
I hereby claim:
- I am jonathanmorley on github.
- I am jonmorley (https://keybase.io/jonmorley) on keybase.
- I have a public key whose fingerprint is 78B5 5AA7 D8DF 2DD1 F113 5BEF 18E1 4BEA D14A 5636
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'highline/import' | |
require 'winrm' | |
endpoint = 'http://localhost:5985/wsman' | |
winrm = WinRM::WinRMWebService.new(endpoint, :negotiate, user: 'vagrant', pass: 'vagrant') | |
winrm.create_executor do |executor| | |
loop do | |
executor.run_powershell_script(ask "PS ...> ") do |stdout, stderr| | |
STDOUT.print stdout | |
STDERR.print stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$log = "C:\winrm.log" | |
$http_port = 5985 | |
$https_port = 5986 | |
$appid = '{afebb9ad-9b97-4a91-9ab5-daf4d59122f6}' | |
"winrm_setup started" | tee $log | |
# Does everything required for WinRM over HTTP. It also starts and enables the WinRM service | |
"Using quickconfig to setup WinRM over HTTP" | tee -Append $log | |
&winrm quickconfig -quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem *** Disable Some Service *** | |
sc stop DiagTrack | |
sc stop diagnosticshub.standardcollector.service | |
sc stop dmwappushservice | |
sc stop WMPNetworkSvc | |
sc stop WSearch | |
sc config DiagTrack start= disabled | |
sc config diagnosticshub.standardcollector.service start= disabled | |
sc config dmwappushservice start= disabled |
See Also:
Level | Score | Regex | Credit |
---|
$ uname –a # Display linux system information
$ uname –r # Display kernel release information (refer uname command in detail)
$ hostname # Show system host name
$ hostname -i # Display the IP address of the host (all options hostname)
$ uptime # Show how long system running + load (learn uptime command)
$ last reboot # Show system reboot history (more examples last command)
$ cat /etc/redhat_release # Show which version of redhat installed
$ date # Show the current date and time (options of date command)