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
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
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
| # usage _.levenshteinDistance("PART", "PARTY") or _("PART").levenshteinDistance("PARTY") | |
| _.mixin | |
| levenshtein : (str1, str2) -> | |
| return str2.length if str1.length == 0 | |
| distance = [] | |
| for i in [0..str1.length] | |
| distance[i] = [] | |
| distance[i][0] = i |
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
| import com.badlogic.gdx.ApplicationListener; | |
| import com.badlogic.gdx.Gdx; | |
| import com.badlogic.gdx.Input.Keys; | |
| import com.badlogic.gdx.InputAdapter; | |
| import com.badlogic.gdx.backends.lwjgl.LwjglApplication; | |
| import com.badlogic.gdx.graphics.Color; | |
| import com.badlogic.gdx.graphics.GL10; | |
| import com.badlogic.gdx.graphics.OrthographicCamera; | |
| import com.badlogic.gdx.graphics.Pixmap.Format; | |
| import com.badlogic.gdx.graphics.Texture; |
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
| qApp->setStyle(QStyleFactory::create("fusion")); | |
| QPalette palette; | |
| palette.setColor(QPalette::Window, QColor(53,53,53)); | |
| palette.setColor(QPalette::WindowText, Qt::white); | |
| palette.setColor(QPalette::Base, QColor(15,15,15)); | |
| palette.setColor(QPalette::AlternateBase, QColor(53,53,53)); | |
| palette.setColor(QPalette::ToolTipBase, Qt::white); | |
| palette.setColor(QPalette::ToolTipText, Qt::white); | |
| palette.setColor(QPalette::Text, Qt::white); |
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
| //////////////////////////////////////////////////////////// | |
| // Headers | |
| //////////////////////////////////////////////////////////// | |
| #include "Stroke.hpp" | |
| #include <SFML/OpenGL.hpp> | |
| const float myRand(float low, float high) | |
| { | |
| return static_cast<float>(std::rand()) / RAND_MAX * (high - low) + low; |
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
| before_install: | |
| - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa | |
| - sudo apt-get update -qq | |
| - sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev | |
| script: | |
| - qmake -qt=qt5 -v | |
| - qmake -qt=qt5 | |
| - make |
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
| qApp->setStyle(QStyleFactory::create("Fusion")); | |
| QPalette darkPalette; | |
| darkPalette.setColor(QPalette::Window, QColor(53,53,53)); | |
| darkPalette.setColor(QPalette::WindowText, Qt::white); | |
| darkPalette.setColor(QPalette::Base, QColor(25,25,25)); | |
| darkPalette.setColor(QPalette::AlternateBase, QColor(53,53,53)); | |
| darkPalette.setColor(QPalette::ToolTipBase, Qt::white); | |
| darkPalette.setColor(QPalette::ToolTipText, Qt::white); | |
| darkPalette.setColor(QPalette::Text, Qt::white); |
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
| #include <iostream> | |
| #include <utility> | |
| #include <typeinfo> | |
| #include <type_traits> | |
| #include <string> | |
| template <size_t arg1, size_t ... others> | |
| struct static_max; | |
| template <size_t arg> |
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
| /** | |
| * Lodash / Underscore method for breaking data sets into smaller sets (chunks) | |
| * | |
| * @arguments | |
| * | |
| * collection: Array / Object | |
| * chuckSize: Number | |
| * | |
| * @example | |
| * |
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
| [user] | |
| name = Your Name | |
| email = your.name@mail.com | |
| [color] | |
| ui = true | |
| [core] | |
| excludesfile = ~/.gitignore_global | |
| editor = /usr/local/bin/mvim -f |