- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
This file contains hidden or 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
| # Redis Cheatsheet | |
| # All the commands you need to know | |
| redis-server /path/redis.conf # start redis with the related configuration file | |
| redis-cli # opens a redis prompt | |
| # Strings. |
This file contains hidden or 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
| use std::collections::HashSet; | |
| fn destroy(input_sets: Vec<HashSet<char>>) -> String { | |
| let char_list:String = String::from("a b c d e f g h i j k l m n o p q r s t u v w x y z"); | |
| let char_vec:Vec<_> = char_list.split(' ').map(|x| x.to_string()).collect(); | |
| let mut fil_vec:Vec<_> = vec![]; | |
| for set in input_sets { | |
| fil_vec = char_vec.iter().filter(|&x| !set.iter().any(|y| y.to_string() == x.clone())).collect::<Vec<_>>(); |
This file contains hidden or 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
| import { fromEvent } from 'rxjs'; | |
| import { ajax } from 'rxjs/ajax'; | |
| import { map, filter, debounceTime, distinctUntilChanged, switchMap } from 'rxjs/operators'; | |
| const searchBox = document.getElementById('search-box'); | |
| const typeahead = fromEvent(searchBox, 'input').pipe( | |
| map((e: KeyboardEvent) => e.target.value), | |
| filter(text => text.length > 2), | |
| debounceTime(10), |
This file contains hidden or 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
| ::-webkit-datetime-edit { padding: 1em; } | |
| ::-webkit-datetime-edit-fields-wrapper { background: silver; } | |
| ::-webkit-datetime-edit-text { color: red; padding: 0 0.3em; } | |
| ::-webkit-datetime-edit-month-field { color: blue; } | |
| ::-webkit-datetime-edit-day-field { color: green; } | |
| ::-webkit-datetime-edit-year-field { color: purple; } | |
| ::-webkit-inner-spin-button { display: none; } | |
| ::-webkit-calendar-picker-indicator { background: orange; } |