- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| ! Title: Hide YouTube Shorts | |
| ! Description: Hide all traces of YouTube shorts videos on YouTube | |
| ! Version: 1.10.0 | |
| ! Last modified: 2024-08-31 19:24 | |
| ! Expires: 2 weeks (update frequency) | |
| ! Homepage: https://github.com/gijsdev/ublock-hide-yt-shorts | |
| ! License: https://github.com/gijsdev/ublock-hide-yt-shorts/blob/master/LICENSE.md | |
| ! Remove empty spaces in grid | |
| www.youtube.com##ytd-rich-grid-row,#contents.ytd-rich-grid-row:style(display: contents !important) |
| ! | |
| ! YouTube (Shorts) | |
| ! | |
| www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer) | |
| www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer) | |
| www.youtube.com##ytd-browse[page-subtype="home"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-rich-item-renderer) | |
| www.youtube.com##ytd-browse[page-subtype="subscriptions"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-grid-video-renderer,ytd-rich-item-renderer) | |
| www.youtube.com##ytd-search .ytd-thumbnail[href^="/shorts/"]:upward(ytd-video-renderer) | |
| www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-item-section-renderer) | |
| www.youtube.com##ytd-watch-next-secondary-results-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-compact-video-renderer,ytd-shelf-renderer) |
| DECLARE | |
| @Schema NVARCHAR(MAX), | |
| @Name NVARCHAR(MAX), | |
| @Sql NVARCHAR(MAX) | |
| DECLARE TableCursor CURSOR FOR | |
| SELECT TABLE_SCHEMA, TABLE_NAME | |
| FROM INFORMATION_SCHEMA.TABLES | |
| WHERE TABLE_TYPE = 'BASE TABLE' | |
| OPEN TableCursor | |
| WHILE 1 = 1 |
| #!/bin/bash | |
| # A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
| # Used to provide DDNS service for my home | |
| # Needs the DNS record pre-creating on Cloudflare | |
| # Proxy - uncomment and provide details if using a proxy | |
| #export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
| # Cloudflare zone is the zone which holds the record |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
const MyComponent = props => {
const innerFunction = () => {
// a function in a function!
// this function object (stored in the 'innerFunction' constant) is constantly re-built
// to be precise: It's re-built when MyComponent is re-built
// MyComponent is re-built whenever its 'props' or 'state' changes
};
};docker-compose.yml in https://github.com/shawinder/reactjs-parcel-docker-exampledocker exec -i documents npm run test| import React, { Component } from 'react'; | |
| import Message from './Message'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <div className="App"> | |
| <header className="App-header"> | |
| <img src={logo} className="App-logo" alt="logo" /> | |
| <Message /> |
| import React, { Component } from 'react'; | |
| import Message from './Message'; | |
| const initialState = { | |
| name: 'Manny', | |
| message: 'TypeScript is cool!!' | |
| } | |
| type State = Readonly<typeof initialState>; |
| const data = [{id:1,name:'one'},{id:2,name:'two'},{id:3,name:'three'}]; | |
| Promise.all(multiplePromises(data)).then((result) => { | |
| console.log(result) | |
| }); | |
| function multiplePromises(data){ | |
| return data.map((item) => { | |
| return new Promise((resolve, reject) => { | |
| resolve(item.id); |