SSH into Root
$ ssh root@123.123.123.123
Change Root Password
{{define "layout"}} | |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>{{template "title"}}</title> | |
<script type="text/javascript" | |
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"> | |
</script> | |
</head> |
{{define "layout"}} | |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>{{template "title"}}</title> | |
<script type="text/javascript" | |
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"> | |
</script> | |
</head> |
package main | |
import( | |
"fmt" | |
"reflect" | |
) | |
func main(){ | |
// iterate through the attributes of a Data Model instance | |
for name, mtype := range attributes(&Dish{}) { |
package main | |
import ( | |
"database/sql" | |
"fmt" | |
_ "github.com/go-sql-driver/mysql" | |
"log" | |
) | |
const ( |
SSH into Root
$ ssh root@123.123.123.123
Change Root Password
package main | |
import ( | |
"github.com/gin-gonic/gin" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) | |
type LoginJSON struct { |
Originally published in June 2008
When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.
To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.
Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"flag" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) |