More details in the YouTube Video.
Concise, consistent, and legible badges - shields.io
More details in the YouTube Video.
Concise, consistent, and legible badges - shields.io
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
version: "3" | |
networks: | |
default: | |
driver: macvlan | |
driver_opts: | |
parent: enp7s0 | |
ipam: | |
config: | |
- subnet: 192.168.1.0/24 |
private Dictionary<string, object> GetConversationConfig(Dictionary<string, object> cifDictionary) | |
{ | |
Dictionary<string, object> configMap = new() | |
{ | |
//{ "fullPrivacy", MagCenterSettings.HelpshiftConfig.FullPrivacy }, | |
{ "enableContactUs", _helpshiftSettings.GetEnableContactUsSetting(_segmentationPersistedDataAdapter) }, | |
{ "tags", new[] { _helpshiftSettings.GetPayerSubscriberTag(_segmentationPersistedDataAdapter) } } | |
}; | |
Dictionary<string, string> userId = new() |
private Dictionary<string, object> GetConversationConfig(Dictionary<string, object> cifDictionary) | |
{ | |
Dictionary<string, object> configMap = new() | |
{ | |
//{ "fullPrivacy", MagCenterSettings.HelpshiftConfig.FullPrivacy }, | |
{ "enableContactUs", _helpshiftSettings.GetEnableContactUsSetting(_segmentationPersistedDataAdapter) }, | |
{ "tags", new[] { _helpshiftSettings.GetPayerSubscriberTag(_segmentationPersistedDataAdapter) } }, | |
}; | |
cifDictionary ??= new Dictionary<string, object>(); |
[*.cs] | |
csharp_style_var_for_built_in_types=true:silent | |
csharp_style_var_when_type_is_apparent=true:silent | |
csharp_style_var_elsewhere=true:silent | |
## | |
## StyleCop.Analyzers | |
## | |
# Using directive should appear within a namespace declaration |
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
#!/usr/bin/env python3 | |
# | |
# Batch file converter to reencode mp4 videos with a steady fixed i-frame interval (default to 25) | |
# | |
# Tested under python 3.9.7 | |
# Requires ffmpeg installed | |
# On Mac run 'brew install ffmpeg' | |
# | |
# You may need to give permission to this script | |
# $ chmod 700 ./iframe-steady.py |
#!/usr/bin/env python | |
# | |
# Shows GOP structure of video file. Useful for checking suitability for HLS and DASH packaging. | |
# Example: | |
# | |
# $ iframe-probe.py myvideo.mp4 | |
# GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
# GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
# GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
# GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED |
import maya.cmds as cmds | |
cmds.LockNode('Locked_Node', lock=False) | |
# another approach | |
# grab all selected nodes | |
selection = cmds.ls(selection=True) | |
# unlock and delete them |