- Use HTML tags to define the table to get the best layout result
- Use either backticks (```) or the HTML
pre
element with attributelang
- Keep a blank line before and after a code block for correct formatting and syntax highlighting
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
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
Typescript/angular port of @ffmpeg/ffmpeg library which is used with @ffmpeg/core (see https://github.com/ffmpegwasm/ffmpeg.wasm). Some smaller adjustments have also been made. | |
This snippet is designed to make use of web workers in angular (see https://angular.io/guide/web-worker) to encode media in a single threaded browser environment. |
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
{"version":1,"resource":"file:///f%3A/backup/microservice-dotnet6-hexagon-clean/microservices/DataContracts/Services.AppContracts/obj/Debug/net6.0/CoolStore.AppContracts.csproj.FileListAbsolute.txt","entries":[{"id":"rAQG.txt","source":"searchReplace.source","timestamp":1654526867163}]} |
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
<script>(function(){ | |
/* | |
This script is an alternative to the 'Add JavaScript API support to all YouTube videos' | |
setting in GTM's YT trigger. GTM's YT trigger will not load the YT API if no videos are | |
present at page load (it does add the enablejsapi param to dynanmically inserted videos, | |
but it will not load the YT API js). This script, on the other hand, should work in all cases. | |
*/ | |
if( window.YT ) return; | |
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
request = require 'request' | |
youTubeMovieInfo = | |
youTubeMovieId: 'videoId' | |
url = "http://www.youtube.com/get_video_info?video_id=#{youTubeMovieInfo.youTubeMovieId}" | |
request.get url, (err, res, body) -> | |
return callback(false) if err | |
return callback(false) if res.statusCode isnt 200 |
https://www.joshmorony.com/the-ionic-4-migration-survival-guide/
this.router.navigateByUrl('/login');
this.router.navigate(['/detail', { id: itemId }]);
this.router.navigateByUrl(`/detail/${todo.id}`);
this.router.navigate(['../', { id: crisisId, foo: 'foo' }], { relativeTo: this.route });
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
{ | |
"ALLPHIM": [ | |
{ | |
"image": "http://vnnews360.net/img_data/images/danh-sach-cac-bo-phim-tinh-cam-trung-quoc-hay-nen-xem.jpg", | |
"CategoryName": "Phim Bộ Trung Quốc", | |
"ListPhim": [ | |
{ "image": "https://i.ytimg.com/vi/CMcjXBTJJUk/sddefault.jpg", | |
"title": "Phim 1 tập - Tình Cảm Trung Quốc Thuyết Minh", | |
"play_list_id": "PL17y3MB-KE4_RhG5moYnXDrL_dWR0brAy" }, | |
{ "image": "https://i.ytimg.com/vi/2rjaYzDs-3A/sddefault.jpg", |
NewerOlder