Not for committers.
Please treat this page as work in progress during the transition to Git.
rm /var/db/gitup/ports
rm -r /usr/ports/*
let floatingWindow; | |
const createFloatingWindow = function() { | |
const electron = require('electron'); | |
const BrowserWindow = electron.BrowserWindow; | |
if (!floatingWindow) { | |
floatingWindow = new BrowserWindow({ | |
width: 1000, | |
height: 80, | |
titleBarStyle: 'hide', | |
transparent: true, |
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
The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
daemon, you'll need a copy of the ClamAV databases.
Inside /your/location/to/brew/etc/clamav, you'll see 2 files:
Disable all linting across the entire file:
# pylint: disable-all (older)
# pylint: skip-file (newer)
# flake8: noqa
Disable specific linting errors across the entire file:
<bpy> | |
<Theme> | |
<user_interface> | |
<ThemeUserInterface menu_shadow_fac="0.5" | |
menu_shadow_width="12" | |
icon_file="" | |
icon_alpha="1" | |
axis_x="#dc0000" | |
axis_y="#00dc00" | |
axis_z="#0000dc"> |
qApp.setStyle("Fusion") | |
dark_palette = QPalette() | |
dark_palette.setColor(QPalette.Window, QColor(53, 53, 53)) | |
dark_palette.setColor(QPalette.WindowText, Qt.white) | |
dark_palette.setColor(QPalette.Base, QColor(25, 25, 25)) | |
dark_palette.setColor(QPalette.AlternateBase, QColor(53, 53, 53)) | |
dark_palette.setColor(QPalette.ToolTipBase, Qt.white) | |
dark_palette.setColor(QPalette.ToolTipText, Qt.white) |
#!/bin/bash | |
# by Andy Maloney | |
# http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/ | |
# make sure we are in the correct dir when we double-click a .command file | |
dir=${0%/*} | |
if [ -d "$dir" ]; then | |
cd "$dir" | |
fi |
#!/bin/bash | |
file=$1 | |
test -z $file && echo "file required." 1>&2 && exit 1 | |
git filter-branch -f --index-filter "git rm -r --cached $file --ignore-unmatch" --prune-empty --tag-name-filter cat -- --all | |
git ignore $file | |
git add .gitignore | |
git commit -m "Add $file to .gitignore" |