This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cpplint.py b/cpplint.py | |
index 95c0c32..fc8f6ba 100755 | |
--- a/cpplint.py | |
+++ b/cpplint.py | |
@@ -3897,6 +3897,8 @@ def CheckBraces(filename, clean_lines, linenum, error): | |
# within the 80 character limit of the preceding line. | |
prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0] | |
if (not Search(r'[,;:}{(]\s*$', prevline) and | |
+ # test a C function definition | |
+ not Search(r'(void\s*|\(\s*|\w+(\s+\**\w+)+(,\s*\w+(\s+\**\w+)+)*\s*)\)', prevline) and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys, os | |
from sys import argv | |
from unidiff import PatchSet | |
import subprocess | |
def parse_log_line(line): | |
""" | |
parse a line from the cpplint results with --output=vs7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, all images are stored in the Hyper-V drive | |
C:\Users\Public\Documents\Hyper-V\Virtual hard disks | |
In Windows 10, | |
Stop docker etc | |
Type “Hyper-V Manager” in task-bar search box and run it. | |
Select your PC in the left hand pane (Mine is called DESKTOP-CBP**) | |
Right click on the correct virtual machine (Mine is called MobyLinuxVM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch FILE_PATH' --prune-empty --tag-name-filter cat -- --all | |
git push origin master --force | |
rm -rf .git/refs/original/ | |
git reflog expire --expire=now --all | |
git gc --prune=now |
NewerOlder