References:
From man page: man apt_preferences
References:
From man page: man apt_preferences
This error is somewhat ambiguious because there is seemingly no indication which resource is exhausted.
Triton chooses compute nodes with a subcomponent called sdc-designation (also refered to as , DAPI). The full DAPI log for a provision job is embedded in the CNAPI log file and can be extracted with the workflow job uuid.
Note: The script below is no longer necessary because cnapi now includes /opt/smartdc/cnapi/bin/alloc-reasons.sh which does the same thing.
#!/bin/bash
| alias accio=wget | |
| alias avadaKedavra='rm -f' | |
| alias imperio=sudo | |
| alias priorIncantato='echo `history |tail -n2 |head -n1` | sed "s/[0-9]* //"' | |
| alias stupefy='sleep 5' | |
| alias wingardiumLeviosa=mv | |
| alias sonorus='set -v' | |
| alias quietus='set +v' |
Many different applications claim to support regular expressions. But what does that even mean?
Well there are lots of different regular expression engines, and they all have different feature sets and different time-space efficiencies.
The information here is just copied from: http://regular-expressions.mobi/refflavors.html
| require 'socket' | |
| # 1. Create | |
| # AF_INET means IPv4 (xxx.xxx.xxx.xxx) | |
| # SOCK_STREAM means communicating with a stream (TCP) | |
| # | |
| # Can be simplified to symbols :INET and :STREAM, respectively | |
| server = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM) |
| #!/bin/bash | |
| # | |
| # This. | |
| # Is. | |
| # Awful. | |
| # write that file as: | |
| # round=<0|1|2> | |
| # oldpass=1234 | |
| # newpass=4321 |
Last night, Brian Shirai unilaterally "ended" the RubySpec project, a sub-project of Rubinius (the alternative Ruby implementation which Brian was paid to work on full-time from 2007 to 2013). The blog post describing his reasons for "ending" the project led to a big discussion on Hacker News.
When a single, competing Ruby implementation tells that you its test suite is the One True Way, you should be skeptical. Charles Nutter, Ruby core committer and JRuby head honcho, spent a lot of time last night on Twitter talking to people about what this decision means. He's probably too busy and certainly too nice of a guy to write about what is a political issue in the Ruby community, so I'm going to do it on behalf of all the new or intermediate Rubyists out there that are confused by Brian's decision and what it me
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |
| function Peek-Cmdlet { | |
| param( | |
| [Management.Automation.CommandInfo]$command | |
| ) | |
| if ($input) { | |
| trap { $_; break } | |
| $command = $input | select -first 1 | |
| } | |