Discover gists · GitHub
source link: https://gist.github.com/starred
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Instantly share code, notes, and snippets.
GitHub
- repository(リポジトリ):ファイルや変更内容が保存される場所のことで、パソコン内にあるものをローカルリポジトリ、GitHubなどローカル以外のサーバ上にあるものをリモートリポジトリと呼ぶ
- 作業ディレクトリ:リモートリポジトリをclone(複製)したディレクトリ(ローカルリポジトリ)のことで、作業中のファイルが含まれる
- ステージングエリア:ローカルリポジトリのなかにあるコミットをする予定のファイルを仮置きしておく場所のこと
- Gitディレクトリ:ステージングエリアにあるファイルをコミット(登録)して、変更が確定したディレクトリ
- branch(ブランチ):並行して作業を進めるためにmasterブランチからコミットの流れを分岐すること(最終的にmasterブランチにマージ(合体)される)
Semantic Commit Messages
See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
Example
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
General rules
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
Design rules
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
This text is italic
Vue.js and Vuex - best practices for managing your state
Modifying state object
Example
If you have to extend an existing object with additional property, always prefer Vue.set()
over Object.assign()
(or spread operator).
Example below explains implications for different implementations.
Overview
In the default configuration of Active Directory, it is possible to remotely take over Workstations (Windows 7/10/11) and possibly servers (if Desktop Experience is installed) when their WebClient service is running. This is accomplished in short by;
- Triggering machine authentication over HTTP via either MS-RPRN or MS-EFSRPC (as demonstrated by @tifkin_). This requires a set of credentials for the RPC call.
- Relaying that machine authentication to LDAPS for configuring RBCD
- RBCD takeover
The caveat to this is that the WebClient service does not automatically start at boot. However, if the WebClient service has been triggered to start on a workstation (for example, via some SharePoint interactions), you can remotely take over that system. In addition, there are several ways to coerce the WebClient service to start remotely which I cover in a section below.
Simple Hand Mouvement Recognition Code - Hand tracking - Mediapipe
Goal of this gist is to recognize some simple hand mouvements like Scrolling, Zoom in/out and Slide left/right (see 08-hand-mouvement.gif below).
The whole code for that can be found here: hand-mouvement-recognition-calculator.cc.
You can clone my forked version of mediapipe here: https://github.com/TheJLifeX/mediapipe. I have already commited all code in that repository in the "hand-mouvement-recognition" branch (https://github.com/TheJLifeX/mediapipe/tree/hand-mouvement-recognition).
If you want to know how to recognize hand gesture like ONE, TWO, TREE, FOUR, FIVE, SIX, YEAH, ROCK, SPIDERMAN and OK. You can read this gist: [Simple Hand Gesture Recognition](https://gist.github.com/TheJLifeX/74958cc59db477a91837244ff5
Recommend
-
40
discover new commands. Contribute to cytopia/yolo development by creating an account on GitHub.
-
39
Introduction Implement service discovery based on etcd By Go Quick Start Etcd $ wget https://github.com/coreos/etcd/releases/download/v3.1.5/etcd-v3.1.5-linux-amd64.tar.gz $ tar xzvf etcd-...
-
25
gist - Manage your gist like a pro All your notes, scripts, config files and snippets deserve version control and tagging! gist is a simple bash script for gist management. It is light and dependen...
-
4
Tecnologias | Projeto |
-
7
What is OpenMetadata? OpenMetadata is an Open Standard for Metadata. A Single place to Discover, Collaborate, and Get your data right. OpenMetadata includes the following: ...
-
19
Telegram Nearby Map Telegram Nearby Map uses OpenStreetMap and the official Telegram library to find the position of nearby users. Inspired by A...
-
6
Discover 项目文档 1. 基本介绍 1.0 项目介绍 Discover 是基于开发语言 PHP7.3,Laravel 框架开发。项目中采用的拓展如下: 1.1 适用场景 生产加工羽绒,羽毛制品的厂家。 1.2...
-
2
September 28, 2022Converting Markdown Code Blocks to Gistsjavascript
-
2
Make your gists actually usefulAs a developer, I often found myself using GitHub gists to store frequently used code snippets and snippets of solutions to common problems. However, accessing these gists and copying the code over to my...
-
5
GitHub Gists Hack – PIBB Extension Published by Chris West
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK