<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
<!-- export div to png --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<span id="widget" class="widget" field="AGE" roundby="20" description="Patient age, in years"> | |
<div class="header ng-scope"> | |
<div class="title ng-binding">AGE</div> |
waid |
<div class="container"> | |
<div class="row"> | |
<div> | |
PRICING | |
</div> | |
<div class="span3"> | |
<div class="well"> | |
<h2 class="muted">Starter</h2> | |
<p><span class="label">POPULAR</span></p> | |
<ul> |
<div class="row "> | |
<div class="col-xs-12 col-sm-4 col-md-4 col-lg-4"> | |
<div class="db-wrapper"> | |
<div class="db-pricing-seven"> | |
<ul> | |
<li class="price"> | |
<i class="glyphicon glyphicon-qrcode"></i> | |
STARTER - $0 / month | |
</li> |
Run this | |
"sudo -u postgres psql" | |
in your terminal to get into postgres | |
postgres=# | |
Run "CREATE USER new_username;" | |
Note: Replace new_username with the user you want to create, |
CREATE TABLE Roles ( | |
id SERIAL PRIMARY KEY, | |
name TEXT, | |
created_at TIMESTAMP, | |
updated_at TIMESTAMP | |
); | |
CREATE TABLE users | |
( | |
id serial NOT NULL, |
def new | |
@user = User.new | |
@package = Package.all | |
end | |
def create | |
@user = user.new(user_params) | |
if @user.save | |
redirect_to :action => ‘list’ | |
else |
import java.util.Iterator; | |
import java.util.NoSuchElementException; | |
public class ResizingArrayBag<Item> implements Iterable<Item> { | |
private Item[] a; // array of items | |
private int N = 0; // number of elements on stack | |
public ResizingArrayBag() {//initialize an empty array | |
a = (Item[]) new Object[2]; | |
} |
public class MergeSort { | |
public static void merge(int[]a,int[] aux, int f, int m, int l) { | |
for (int k = f; k <= l; k++) { | |
aux[k] = a[k]; | |
} | |
int i = f, j = m+1; | |
for (int k = f; k <= l; k++) { | |
if(i>m) a[k]=aux[j++]; |