- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
1. Open Bundle editor | |
2. Select Themes -> Themes -> your theme | |
3. add to settings | |
fontName = 'Monaco'; | |
fontSize = '12px'; | |
or what you want, enjoy :) |
# The command finds the most recent tag that is reachable from a commit. | |
# If the tag points to the commit, then only the tag is shown. | |
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
# and the abbreviated object name of the most recent commit. | |
git describe | |
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
git describe --abbrev=0 | |
# other examples |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
-- "extension.lua" | |
-- VLC Extension basic structure (template): ---------------- | |
-- Install | |
-- Windows: %APPDATA%/vlc/lua/extensions/basic.lua | |
-- Mac: /Applications/VLC/.../lua/extensions/basic.lua | |
-- Linux: ~/.local/share/vlc/lua/extensions/basic.lua | |
function descriptor() | |
return { |
#!/bin/sh | |
# Script: gif-optimize.sh | |
# Author: Rob Baier | |
# Description: Script used to optimize animated GIF files. | |
# Dependencies: Gifsicle (https://github.com/kohler/gifsicle) | |
# Environment: Tested on MacOS 10.12. Other *nix environments may require some tweaking. | |
# Usage: ./gif-optimize.sh input-filename.gif | |
# Helper function to convert bytes into a human-readable format |
/// So, lets talk about AppKit. The way this function works is by passing a delegate (which is required | |
/// to be a NSObject, but here is typed as Any) which turns out to be the same type as `self`, a Selector, | |
/// which in this case is `_something:didSomething:soContinue:` (not kidding), and some "contextInfo" | |
/// (which is actually a block). While all of these arguments appear to be optional, passing nil through | |
/// to the function call that `shouldCloseSelector` defines, or passing nil to super, will cause the app | |
/// to crash. So then we need to call the function on `delegate` defined by `shouldCloseSelector`. | |
/// | |
/// According to the documentation the function signature for this selector looks like this: | |
/// - (void)document:(NSDocument *)doc shouldClose:(BOOL)shouldClose contextInfo:(void *)contextInfo | |
/// |
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft