Данная пошаговая инструкция поможет освоить основы на простом примере
Для справки
Сервер поднимался на Debian 8
c характеристиками:
CPU - 1 ядро x 500 МГц
###################################################################################### | |
# GNU GCC ARM Embeded Toolchain base directories and binaries | |
###################################################################################### | |
GCC_BASE = E:/Toolchains/GNU_GCC_ARM/4.7/ | |
GCC_BIN = $(GCC_BASE)bin/ | |
GCC_LIB = $(GCC_BASE)arm-none-eabi/lib/ | |
GCC_INC = $(GCC_BASE)arm-none-eabi/include/ | |
AS = $(GCC_BIN)arm-none-eabi-as | |
CC = $(GCC_BIN)arm-none-eabi-gcc | |
CPP = $(GCC_BIN)arm-none-eabi-g++ |
Для удаления файла из git-репозитория без его физического удаления: | |
git rm --cached mylogfile.log | |
Для удаления папки (рекурсивно) можно сделать так: | |
git rm -r --cached folderName | |
А для того, чтобы ситуация не повторялась, лучше добавьте файл или папку в .gitignore. |
import React from 'react'; | |
let lastScrollY = 0; | |
let ticking = false; | |
class App extends React.Component { | |
componentDidMount() { | |
window.addEventListener('scroll', this.handleScroll); | |
} |
// Problem link: https://leetcode.com/problems/valid-parentheses/ | |
const isValid = (string) => { | |
// create a hashMap to store the valid match | |
const bracketsMap = { | |
'(': ')', | |
'{': '}', | |
'[': ']' | |
} | |
// create a stack data structure with array |