MongoDB Exercise in mongo shell
Connect to a running mongo instance, use a database named mongo_practice
.
Document all your queries in a javascript file to use as a reference.
<?php | |
namespace App\Http; | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
*/ |
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |
import UIKit | |
protocol CollectionViewCellConfigurable { | |
typealias ItemType | |
typealias CellType: UICollectionViewCell | |
static func reuseIdentifierForIndexPath(indexPath: NSIndexPath) -> String | |
static func configureCellAtIndexPath(indexPath: NSIndexPath, item: ItemType, cell: CellType) | |
} |
import { | |
applyMiddleware, | |
createStore, | |
} from 'redux'; | |
import createSagaMiddleware, { | |
takeEvery, | |
takeLatest, | |
} from 'redux-saga'; | |
import { call, put } from 'redux-saga/effects'; |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
(function(document) { | |
var json = document.getElementsByTagName('pre')[0].innerText | |
var obj = JSON.parse(json) | |
var cards = obj.cards | |
var output = 0 | |
cards.map(function(card, index) { | |
var pre = card.name.indexOf('[') + 1 | |
var post = card.name.indexOf(']') | |
var value = card.name.substring(pre, post) |
[xdebug] | |
xdebug.start_with_request=yes | |
xdebug.discover_client_host=true | |
xdebug.max_nesting_level=256 | |
xdebug.remote_handler=dbgp | |
xdebug.client_port=9000 | |
xdebug.idekey=VSCODE | |
xdebug.mode=debug | |
xdebug.client_host=host.docker.internal |