Suppress all warnings
This file contains hidden or 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
#!/bin/bash | |
#set -n # Uncomment to check your syntax, without execution. | |
#set -x # Echo on. Uncomment to debug this shell script. |
This file contains hidden or 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
$ file `which java javac` | |
# /usr/bin/java: symbolic link to /etc/alternatives/java | |
# /usr/bin/javac: symbolic link to /etc/alternatives/javac | |
$ file /etc/alternatives/java /etc/alternatives/javac | |
# /etc/alternatives/java: symbolic link to /usr/lib/jvm/java-11-openjdk-amd64/bin/java | |
# /etc/alternatives/javac: symbolic link to /usr/lib/jvm/java-11-openjdk-amd64/bin/javac | |
$ LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 ls -la /usr/lib/jvm | |
# total 24 |
This file contains hidden or 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
#!/bin/bash | |
git config user.name ' ' | |
git config user.email '<>' | |
git config --local core.quotepath false | |
git add . | |
msg=$(date +"%Y%m%d_%H%M%S") |
This file contains hidden or 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
xclip -out > $(date +"%Y-%m-%d_%H-%M-%S")'.md' |
This file contains hidden or 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 config --global --list | |
git config --local user.name "user name" | |
git config --local user.email "[email protected]" | |
git config --local core.fileMode false |
This file contains hidden or 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
/* main.cpp */ | |
#include "tst_mytestcasename.h" | |
#include <gtest/gtest.h> | |
int main(int argc, char *argv[]) | |
{ | |
::testing::InitGoogleTest(&argc, argv); | |
return RUN_ALL_TESTS(); | |
} |
This file contains hidden or 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
{ | |
"configurations": [ | |
{ | |
"name": "Mac", | |
"includePath": [ | |
"${workspaceFolder}/src/**", | |
"${workspaceFolder}/vendor/" | |
], | |
"defines": [], | |
"macFrameworkPath": [ |
This file contains hidden or 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
../%{JS: Util.asciify("build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}")} |
$ brew search llvm
==> Formulae
llvm [email protected] llvm@4 llvm@5 llvm@6 llvm@7
$ brew info llvm
llvm: stable 8.0.0 (bottled), HEAD [keg-only]
Next-gen compiler infrastructure