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
| 'taken from: https://www.extendoffice.com/documents/excel/902-excel-remove-line-breaks.html | |
| Sub RemoveCarriage() | |
| Dim Rng As Range | |
| Dim WorkRng As Range | |
| On Error Resume Next | |
| xTitleId = "KutoolsforExcel" | |
| Set WorkRng = Application.Selection | |
| Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8) | |
| For Each Rng In WorkRng | |
| Rng.Value = Replace(Rng.Value, Chr(13), "<br>") |
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
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| insert_final_newline = true | |
| indent_style = space | |
| indent_size = 4 | |
| trim_trailing_whitespace = true |
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
| # Remove all the branches except master and the current one | |
| # Resource: https://coderwall.com/p/x3jmig/remove-all-your-local-git-branches-but-keep-master | |
| git branch | egrep -v "(master|\*)" | xargs git branch -D |
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
| ln -s /Applications/AMPPS/var/mysql.sock /tmp/mysql.sock |
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
| /** | |
| * Generates margin and padding classes: | |
| * usage: | |
| * @include gen-mar-pad(10, px); | |
| * generates: | |
| * .margin-top-10 { | |
| * margin-top: 10px; | |
| * } | |
| * | |
| * .padding-top-10 { |
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 | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| use Illuminate\Support\Facades\Schema; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| /** |
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
| using UnityEngine; | |
| using System.Collections; | |
| public class MoveToTargets : MonoBehaviour { | |
| // Lugar a donde vamos | |
| public Transform[] Targets; | |
| public int _targetIndex = 0; | |
| // Velocidad que tenemos | |
| public float Speed = 1; |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using System.IO; | |
| public class GameManager : MonoBehaviour | |
| { | |
| public Transform Player; | |
| // Start is called before the first frame update | |
| void Start() |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Zoológicos</title> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| </head> | |
| <body> | |
| <h1>Zoológicos</h1> |
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
| CREATE USER '{{ BACKUP_USER_NAME }}'@'localhost' IDENTIFIED BY '{{ BACKUP_USER_PASSWORD }}'; | |
| GRANT SELECT, SHOW VIEW, RELOAD, REPLICATION CLIENT, EVENT, TRIGGER ON {{ BACKUP_DATABASE_NAME }}.* TO '{{ BACKUP_USER_NAME }}'@'localhost'; | |
| FLUSH PRIVILEGES; | |
| -- CREATE DATABASE | |
| CREATE DATABASE {{DATABASE_NAME}} CHARACTER SET utf8 COLLATE utf8_general_ci; | |
| CREATE USER '{{DATABASE_USER}}'@'{{DATABASE_HOST}}' IDENTIFIED BY '{{BACKUP_USER_PASSWORD}}'; | |
| GRANT ALL PRIVILEGES ON {{DATABASE_NAME}}.* TO '{{DATABASE_USER}}'@'{{DATABASE_HOST}}' WITH GRANT OPTION; |