git clone --recursive -b {branch} {remote_repo} .
git checkout {tag_name} -b {branch_name}
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
// delete all dailymotion video highlights | |
for(var i = 0; i < document.getElementsByClassName("icon-delete").length; i++) { | |
var toDelete = document.getElementsByClassName("icon-delete")[i] | |
if (toDelete) { | |
toDelete.click(); | |
} | |
} |
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
// delete all twitch video highlights | |
for(var i = 0; i < document.getElementsByClassName("balloon__link--alert").length; i++) { | |
var toDelete = document.getElementsByClassName("balloon__link--alert")[i] | |
if (toDelete) { | |
toDelete.click(); | |
} | |
document.getElementsByClassName("button button--alert")[0].click() | |
} |
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
// Delete tweets | |
for(var i = 0; i < document.getElementsByClassName("js-actionDelete").length; i++) { | |
var tweetToDelete = document.getElementsByClassName("js-actionDelete")[i] | |
if (tweetToDelete) tweetToDelete.childNodes[1].click(); | |
document.getElementsByClassName("delete-action")[0].click() | |
} | |
// Delete retweets | |
for(var i = 0; i < document.getElementsByClassName("ProfileTweet-actionButtonUndo").length; i++) { | |
var tweetToDelete = document.getElementsByClassName("ProfileTweet-actionButtonUndo")[i] | |
if (tweetToDelete) tweetToDelete.click(); |
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
// Example program | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
int main() | |
{ | |
std::vector<int> vec{0,1,2,3,4,5,6,7,8,9,10,11,12,13}; | |
for(auto it = vec.rbegin();it!=vec.rend();it++) | |
{ |
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
2 |
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
@echo off | |
REM git clone -b 3.2.0 --depth 1 --recursive https://github.com/opencv/opencv_contrib.git | |
REM OR Download https://github.com/opencv/opencv_contrib/archive/3.2.0.zip | |
REM | |
REM git clone -b 3.2.0 --depth 1 --recursive https://github.com/opencv/opencv.git | |
REM OR Download https://github.com/opencv/opencv/archive/3.2.0.zip | |
REM # Create build directory | |
call cmake -E make_directory "buildcrt" |
По материалам https://docs.unrealengine.com/latest/INT/Programming/Tutorials/FirstPersonShooter/index.html
Дополнительно:
- Уничтожаемые объекты, удаление объектов
- Цвет папки
- Collections
- Бег (Sprint)
Создаем C++ -> Basic Code Project -> With Starter Content называем его "MyTestProject".
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
// Fill out your copyright notice in the Description page of Project Settings. | |
#include "SCP.h" | |
#include "MyActor.h" | |
#include <EngineGlobals.h> | |
#include <Runtime/Engine/Classes/Engine/Engine.h> | |
// https://wiki.unrealengine.com/Logs,_Printing_Messages_To_Yourself_During_Runtime#Related_Tutorial | |
#define print(text) if (GEngine) GEngine->AddOnScreenDebugMessage(-1, 1.5, FColor::White,text) |
Подборка материалов по UE4 с упором на C++.