$ ssh user@test.com -A
Ref: http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/ssh.1
$ ssh user@test.com -A
Ref: http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/ssh.1
In terminal:
$ lsof -t -i tcp:80 | xargs kill
For reference:
yarn upgrade-interactive --latest
And use a
key to select all of them.
To save the uncommitted changes:
# Either without a name $ git stash # Or with a stash name: $ git stash save funny-stash
To get the url of current script’s directory:
$script_url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']; $dir_url = preg_replace("/[^\/]*.php/", "", $script_url);
$link = mysqli_connect("localhost", "root", "root"); $result = mysqli_select_db($link, 'internship'); $email_duplicate = "SELECT * FROM Interns WHERE email='$email';"; $result = mysqli_query($link, $email_duplicate);
if ($_SERVER['REQUEST_METHOD'] === 'POST') {...}
The POST
part is all CAPITAL.
To go to this state with a bookName
parameter:
state('book.name', { url: '/books/:bookName', ... })
ng-repeat=”product in data.activeProducts = (productList | filter: {brand_id: searchedId})”
Pay attention to the data.activeProduct part. Since ng-repeat creates another scope, if you want to use the filtered list outside of ng-repeat, append it to an outside object.