Getting started:
Related tutorials:
| /// <summary> | |
| /// Converting text to image (png). | |
| /// </summary> | |
| /// <param name="text">text to convert</param> | |
| /// <param name="font">Font to use</param> | |
| /// <param name="textColor">text color</param> | |
| /// <param name="maxWidth">max width of the image</param> | |
| /// <param name="path">path to save the image</param> | |
| public static void DrawText(String text, Font font, Color textColor,int maxWidth,String path) | |
| { |
Getting started:
Related tutorials:
| var async = require('async'); | |
| var GitHubApi = require('github'); | |
| var github = new GitHubApi({ | |
| version: '3.0.0', | |
| protocol: 'https' | |
| }); | |
| github.authenticate({ | |
| type: 'basic', |
There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules directory) as well as files that are generated (and regenerated) as artifacts of a build process.
All other files should be in your own global gitignore file. Create a file called .gitignore in your home directory and add anything you want to ignore. You then need to tell git where your global gitignore file is.
git config --global core.excludesfile ~/.gitignore
git config --global core.excludesfile %USERPROFILE%\.gitignore
Before install nvidia-docker, you will need these first:
Then download these file:
These methods in this gist worked for me on my U.S.-based keyboard layouts. I am unsure about other layouts. If you have problems, revert your changes; delete the registry key you created (and reboot).
Update: you should probably scroll down to approach 4 where I suggest using Microsoft PowerToys Keyboard Manager.
Navigate to and create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout named Scancode Map.
| git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |
| #!python3 | |
| """ | |
| Remove LFS tracked files and change them to normal git | |
| Python 3.8+, native code | |
| For Python <= 3.7, move the Literal and Final imports from "typing" to third-party module "typing_extensions" | |
| @author Philip Kahn | |
| @url https://gist.github.com/tigerhawkvok/adb7905a2423312f237da1953d6a8eeb |