(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<?php | |
$get_featured_cats = array( | |
'taxonomy' => 'product_cat', | |
'orderby' => 'name', | |
'hide_empty' => '0', | |
'include' => $cat_array | |
); | |
$all_categories = get_categories( $get_featured_cats ); | |
$j = 1; |
import {eventChannel, END} from 'redux-saga' | |
function createUploaderChannel(key, files){ | |
return eventChannel(emit => { | |
const onProgress = ({total, loaded}) => { | |
const percentage = Math.round((loaded * 100) / total) | |
emit(percentage) | |
} | |
CREATE TABLE [DataBaseName].[dbo].[PasswordResetTokens] ( | |
[token] varchar(36) NOT NULL, // 36 characters to fit GUID with delimiters | |
[userId] int NOT NULL, | |
[lastUpdate] datetime NOT NULL, | |
[tokenUsed] bit NOT NULL, | |
CONSTRAINT PasswordResetTokens_PK PRIMARY KEY (token), | |
CONSTRAINT PasswordResetTokens_FK FOREIGN KEY (userId) REFERENCES [DataBaseName].[dbo].[User](id) | |
) GO | |
EXEC [DataBaseName].sys.sp_addextendedproperty 'MS_Description', 'Store Password Reset Tokens ', 'schema', 'dbo', 'table', 'PasswordResetTokens' GO |
1. go to https://sslvpn.demo.sonicwall.com/cgi-bin/welcome | |
2. log in with demo/password | |
3. click on NetExtender icon, this will download a tar.gz with the client | |
4. sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.6 | |
5. sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.6 | |
6. un-tar the client, make install script executable and launch install |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<div class="row"> | |
<div class="col-md-3"> | |
<h3>Select files</h3> | |
<input type="file" #fileInput multiple (change)="addToQueue()" /> | |
</div> | |
<div class="col-md-9"> | |
<h3>Upload queue</h3> | |
<table class="table-headed table-striped"> |
This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.
The Atom documentation is excellent. It's highly worth reading the flight manual.
v1 Online Demo: https://codesandbox.io/s/v1-angular-numeric-ljwlb
v2 Online Demo: https://codesandbox.io/s/v2-angular-numeric-3w2wr
import { NgModule } from '@angular/core'; | |
import { BrowserModule } from '@angular/platform-browser'; | |
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
import { RequestTimeoutHttpInterceptor, DEFAULT_TIMEOUT } from './interceptors'; | |
import { AppComponent } from './app.component'; | |
@NgModule({ | |
imports: [ | |
BrowserModule, | |
HttpClientModule, |