-
Open the Terminal
-
Use
mysqldump
to backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql
-
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
Discover gists
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
// these matrices are for left-handed coordinate systems, with depth mapped to [1;0] | |
// the derivation for other matrices is analogous | |
// to get a perspective matrix with reversed z, simply swap the near and far plane | |
glm::mat4 perspectiveFovReverseZLH_ZO(float fov, float width, float height, float zNear, float zFar) { | |
return glm::perspectiveFovLH_ZO(fov, width, height, zFar, zNear); | |
}; | |
// now let zFar go towards infinity | |
glm::mat4 infinitePerspectiveFovReverseZLH_ZO(float fov, float width, float height, float zNear) { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<?php | |
/** | |
* Lietuviškų vardų linksniai. | |
* | |
* @author Maug Lee <mauglee@gmail.com> | |
* @copyright Copyleft (ↄ) 2011, Maug Lee | |
* @version 0.3 | |
* @package Vardai | |
*/ |
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
Byobu Commands | |
============== | |
byobu Screen manager | |
Level 0 Commands (Quick Start) | |
------------------------------ | |
<F2> Create a new window |
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
" Function to quickly open/hide terminal window inside vim | |
" Terminal operation when | |
" 1. terminal is open in split window, it closes the window (terminal still | |
" running) | |
" 2. terminal open in buffer, it moves window into split window | |
" 3. no termial instance running then it opens new terminal instance in split | |
" window | |
function Term() abort | |
let bufNum = bufnr('term://') | |
let termNum = bufwinnr('term://') |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
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
Здоровье в качестве валюты как в некоторых комнатах Isaac'а или пули за здоровье в Bloodborne | |
Туман войны, он есть во многих стратегиях | |
Отсутствие меню, или меню вписанное в игровой мир, например в Antichamber | |
Красные бочки - наверное одна из самых шаблонных механик - но зато это делает её понятной всем игрокам | |
Такая широкая идея как редактирование мира, как в терарии и майнкрафте, или в astroneer, в котором она выглядит красивее засчёт отсутствия блоков | |
Гибкое создание кастомных заклинаний или оружия, как было в тех же Worms | |
Сохранение в кровати или в доме игрового персонажа | |
Bullet hell, и не обязательно как жанр, можно создать такого босса или уровень во многих 2D играх со стрельбой | |
Сложные взаимоотношения между нпс, когда мутанты сражаются с рейдерами, или система нпс в Streets Of Rouge | |
Изменение цвета уровня как в shift |
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
InputStream input = Thread.currentThread().getContextClassLoader().getResourceAsStream("excel/合同模板.xlsx"); | |
Workbook workbook = new XSSFWorkbook(input); | |
//获取页面 | |
Sheet sheet = workbook.getSheet("sheet1"); | |
// 获取第一行最后一列 | |
Row row = sheet.getRow(0); | |
short lastNum = row.getLastCellNum(); | |
// 单元格居中对齐 |
- Wordle - Guess a five-letter word in six guesses. Each guess must be real words.
- Wordle Archive - Play previous Wordle days.
- Hello Wordl - Customizable. Can change difficulty mode and number of letters.
- Wordle Unlimited - Random word, an expanded dictionary.
- WordGuessr - Options for different word lengths.
NewerOlder