Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| <!-- 1. First select binds its value to a new signal named 'category' --> | |
| <!-- On change, it hits the /options endpoint, targeting the #subcategory --> | |
| <select name="category" | |
| data-bind="category" | |
| data-on-change="@get('/options')"> | |
| <option value="">Select a Category...</option> | |
| <option value="fruits">Fruits</option> | |
| <option value="vegetables">Vegetables</option> | |
| </select> |
| //finite state machine | |
| const machine = { | |
| state: "SOBER", | |
| transitions: { | |
| SOBER: { | |
| drink: function(beverage, second) { | |
| console.log("current state", this.state); | |
| console.log("\tdrinking", beverage.type); //second would be undefined | |
| if (beverage.type == "alcohol") { | |
| console.log("\tAdios inhibitions!"); |
| { | |
| contentfulBlogPost { | |
| body { | |
| fields { | |
| readingTime { | |
| text | |
| minutes | |
| time | |
| words | |
| } |
| # URL reputation checkers: | |
| ########################## | |
| AlienVault OTX https://otx.alienvault.com/browse/pulses | |
| BarracudaCentral http://www.barracudacentral.org/lookups | |
| BrightCloud https://www.brightcloud.com/tools/url-ip-lookup.php | |
| CDRF ThreatCenter https://threatcenter.crdf.fr | |
| Cisco Talos https://www.talosintelligence.com/reputation_center | |
| Checkpoint https://urlcat.checkpoint.com/urlcat | |
| Cyren URL https://www.cyren.com/security-center/url-category-check |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| import { Directive, ElementRef, Renderer, Input, Output, EventEmitter, forwardRef, AfterViewInit } from '@angular/core'; | |
| import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms'; | |
| declare let CKEDITOR: any; | |
| @Directive({ | |
| selector: '[ckeditable]', | |
| providers: [ | |
| { | |
| provide: NG_VALUE_ACCESSOR, |
It's a common misconception that [William Shakespeare][1] and [Miguel de Cervantes][2] died on the same day in history - so much so that UNESCO named April 23 as [World Book Day because of this fact][3]. However because England hadn't yet adopted [Gregorian Calendar Reform][4] (and wouldn't until [1752][5]) their deaths are actually 10 days apart. Since Ruby's Time class implements a [proleptic Gregorian calendar][6] and has no concept of calendar reform then there's no way to express this. This is where DateTime steps in:
>> shakespeare = DateTime.iso8601('1616-04-23', Date::ENGLAND)
=> Tue, 23 Apr 1616 00:00:00 +0000
>> cervantes = DateTime.iso8601('1616-04-23', Date::ITALY)
=> Sat, 23 Apr 1616 00:00:00 +0000
| class UserMailer < ActionMailer::Base | |
| default :from => "[email protected]" | |
| def welcome_email_to_player | |
| attachments.inline['user_back'] = { | |
| :data => File.read("#{Rails.root.to_s + '/app/assets/images/bg.jpg'}"), | |
| :mime_type => "image/jpg", | |
| :encoding => "base64" | |
| } | |
| mail(:to => "[email protected]", :subject => "Welcome to here") | |
| end |