# check format & codec
yt-dlp -F https://www.youtube.com/watch?v=vWsmn3-7scs
# output
[info] Available formats for vWsmn3-7scs:
ID EXT RESOLUTION FPS │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────
139 m4a audio only │ ~ 66.18MiB 64k dash │ audio only mp4a.40.5 64k 22k DASH audio, m4a_dash
140 m4a audio only │ ~148.90MiB 144k dash │ audio only mp4a.40.2 144k 44k DASH audio, m4a_dash
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
## create foreach storeprocedure first. If your db exist, then no need to do it. | |
CREATE proc [dbo].[sp_MSforeachtable] | |
@command1 nvarchar(2000), @replacechar nchar(1) = N'?', @command2 nvarchar(2000) = null, | |
@command3 nvarchar(2000) = null, @whereand nvarchar(2000) = null, | |
@precommand nvarchar(2000) = null, @postcommand nvarchar(2000) = null | |
AS | |
declare @mscat nvarchar(12) | |
select @mscat = ltrim(str(convert(int, 0x0002))) | |
if (@precommand is not null) | |
exec(@precommand) |
This really scare me :/
The solution is to reset macbook's NVRAM / PRAM: https://support.apple.com/en-us/HT204063
- remember press
Option
+Command
+P
+R
when the machine boot when you hear the first boot sound - holding it around 20 seconds, until you hear second boot sound
- machine will boot
- success
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
env: | |
TERM: xterm-256color | |
cursor: | |
style: Block | |
font: | |
normal: | |
family: Source Code Pro for Powerline | |
size: 14 |
- Token Lifetime policy is apply to resource server (e.g. backend server app registration)
- Refresh Token lifetime is not use
TokenLifeTimePolicy
to config, but use conditional accesssign-in frequency
{
"TokenLifetimePolicy": {
"Version": 1,
"AccessTokenLifetime": "00:10:00",
Got this issue today on windows, but don't need to downgrade node, just as discussed on stackoverflow just need to change some hashes on your project:
\node_modules\metro-config\src\defaults\blacklist.js
var sharedBlacklist = [
/node_modules[/\\]react[/\\]dist[/\\].*/,
/website\/node_modules\/.*/,
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
{ | |
"configurations": [ | |
{ | |
"name": "Win32", | |
"includePath": [ | |
"${workspaceFolder}/*", | |
"${workspaceFolder}/**", | |
"C:/msys64/home/sawa/qmk_utils/avr8-gnu-toolchain/avr/include/*", | |
"C:/msys64/home/sawa/qmk_utils/avr8-gnu-toolchain/avr/include/**", | |
"C:/msys64/home/sawa/qmk_utils/avr8-gnu-toolchain/lib/gcc/avr/8.3.0/include-fixed/*", |
Description:
When headphone(analog) and HDMI connect to monitor, kde cannot auto switch audio to headphone.
What can we do is use plasmoid to adjust the audio channel manually.
Add the profile to /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
.
sudo vim /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
[Profile ouput:analog-stereo+output:hdmi-stereo]