type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| import {Component, ElementRef, AfterViewInit, Output, EventEmitter, Input, Self} from '@angular/core'; | |
| import {ControlValueAccessor, NgModel} from '@angular/common'; | |
| declare var $: any; | |
| @Component({ | |
| selector: 'dropdown', | |
| template: ` | |
| <select class="ui dropdown" [(ngModel)]="selectedOption"> | |
| <option value="">Select one</option> | |
| <option *ngFor="let item of items" [value]="item[valueField]">{{item[textField]}}</option> | |
| </select> |
| [ | |
| { | |
| "name": "Afghanistan", | |
| "dial_code": "+93", | |
| "code": "AF" | |
| }, | |
| { | |
| "name": "Aland Islands", | |
| "dial_code": "+358", | |
| "code": "AX" |
| using System; | |
| using System.Diagnostics; | |
| using System.Reflection; | |
| using System.ComponentModel; | |
| using System.Security.AccessControl; | |
| using System.Security.Principal; | |
| using System.Runtime.InteropServices; | |
| using System.Configuration.Install; |
| .rounded-corners-gradient-borders { | |
| width: 300px; | |
| height: 80px; | |
| border: double 4px transparent; | |
| border-radius: 80px; | |
| background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff); | |
| background-origin: border-box; | |
| background-clip: padding-box, border-box; | |
| } |
| <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
| <script> | |
| $('.counter').each(function() { | |
| var $this = $(this), | |
| countTo = $this.attr('data-count'); | |
| $({ countNum: $this.text()}).animate({ | |
| countNum: countTo |
| <?php | |
| class NotFoundException extends \Exception{} | |
| class Html | |
| { | |
| private $proxy; | |
| private $baseUrl; | |
| private $html; | |
| private $thisHost; |
| DECLARE @Object AS INT; | |
| DECLARE @ResponseText AS VARCHAR(8000); | |
| DECLARE @Body AS VARCHAR(8000) = | |
| '{ | |
| "what": 1, | |
| "ever": "you", | |
| "need": "to send as the body" | |
| }' | |
| EXEC sp_OACreate 'MSXML2.XMLHTTP', @Object OUT; |
| using System; | |
| using System.Collections.Concurrent; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Text.RegularExpressions; | |
| using System.Web; | |
| using System.Web.Http; | |
| using System.Web.Http.Routing; | |
| using System.Web.Mvc; |
| // Original from http://stackoverflow.com/questions/1638337/the-best-way-to-synchronize-client-side-javascript-clock-with-server-date | |
| // Improved by community and @jskowron | |
| // Synchronize client-side clock with server time using an approximation of NTP | |
| let serverTimeOffset = null; | |
| function getServerTime(callback) { | |
| if (serverTimeOffset === null) { | |
| const scripts = document.getElementsByTagName("script"); | |
| const currentScriptURL = scripts[scripts.length - 1].src; |