A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Twitter bootstrap --> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
.col-50 { | |
width: 50%; | |
float:left; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdn.rawgit.com/lodash/lodash/3.10.1/lodash.min.js"></script> | |
<!-- Twitter bootstrap --> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
.col-50 { | |
width: 50%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdn.rawgit.com/lodash/lodash/3.10.1/lodash.min.js"></script> | |
<!-- Twitter bootstrap --> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
.col-50 { | |
width: 50%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Using Operator Mono in Atom | |
* | |
* 1. Open up Atom Preferences. | |
* 2. Click the “Open Config Folder” button. | |
* 3. In the new window’s tree view on the left you should see a file called “styles.less”. Open that up. | |
* 4. Copy and paste the CSS below into that file. As long as you have Operator Mono SSm installed you should be golden! | |
* 5. Tweak away. | |
* | |
* Theme from the screenshot (http://cdn.typography.com/assets/images/blog/operator_ide2.png): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# gru | |
# Git Remove Untracked (files) | |
# without this script, you have to manually delete files and directories in your git directory if | |
# you want to delete them and they are not tracked by git. | |
# this works as an alias or an executable file | |
# Explanation: | |
# git status -s (display the git status of each file, one line at a time, in short format) | |
# grep '^??' (untracked files will begin with ??) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ALL=$(du -s | awk '{print $1}'); | |
NODEMODULES=$(find . -type d -depth 1 -name node_modules | xargs du -s | awk '{print $1}' | awk '{sum+=$1} END {print sum}'); | |
DECIMAL=$(awk "BEGIN {printf \"%.2f\", $NODEMODULES/$ALL}") | |
PERCENT=$(echo "$DECIMAL*100" | bc) | |
echo "node_modules are using $PERCENT% of space in the current directory." |
Benq PD2725u monitor was causing flickering/interlacing artifacts on MacBook Air M1. Suggested fix from Benq support.
What you can try against the error that you experience is the following:
- Go to the Apple menu > System Preferences.
- Select "Displays"
- Select the "Night Shift" tab
- Turn off the "Schedule" option by selecting "Off" from the drop-down menu and unchecking "Manual: Turn on until tomorrow".
- Wait for 20-30 minutes until the flicker disappears.
OlderNewer