| Title | Change password |
|---|---|
| URL | /api/users/passwordChange |
| Method | POST |
| Headers | Authorization=Bearer tokenContent-type: application/json |
| Params | password=current passwordnewPassword=new password |
| Data Params | example { "password": "password", "newPassword": "pass" } |
| Success Response | example{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXUyJ9"} |
Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.
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
| 1. ΠΠΎΡΠ΅ΠΌΡ Π²Ρ Π²ΡΠ±ΡΠ°Π»ΠΈ ΠΈΠΌΠ΅Π½Π½ΠΎ Π½Π°ΡΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ? | |
| ΠΡ ΠΈΠ΄ΠΈΠΎΡ (ΠΊΠ°), Π΄Π°? Π―, ΠΊΠ°ΠΊ ΠΈ Π²ΡΠ΅ ΠΊΠ°Π½Π΄ΠΈΠ΄Π°ΡΡ Π΄ΠΎ ΠΌΠ΅Π½Ρ ΠΈ ΠΏΠΎΡΠ»Π΅ ΠΌΠ΅Π½Ρ, Π½Π°ΠΏΡΠ°Π²ΠΈΠ» ΡΠ΅Π·ΡΠΌΠ΅ Π² Π΄Π΅ΡΡΡΠΎΠΊ ΠΌΠ΅ΡΡ. | |
| ΠΠ΄Π΅ ΡΡΡΡΠΎΡΡΡ Π±ΡΡΡΡΠ΅Π΅ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½Π΅Π΅ β ΡΠ°ΠΌ ΠΈ Ρ ΠΎΡΠΎΡΠΎ. | |
| 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
| alias weather='curl -s wttr.in | sed -n "1,7p"' |
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
| """ | |
| Simple Linear Probabilistic Counters | |
| Credit for idea goes to: | |
| http://highscalability.com/blog/2012/4/5/big-data-counting-how-to-count-a-billion-distinct-objects-us.html | |
| http://highlyscalable.wordpress.com/2012/05/01/probabilistic-structures-web-analytics-data-mining/ | |
| Installation: | |
| pip install smhasher | |
| pip install bitarray |
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 | |
| use Illuminate\Foundation\Testing\WithoutMiddleware; | |
| use Illuminate\Foundation\Testing\DatabaseMigrations; | |
| use Illuminate\Foundation\Testing\DatabaseTransactions; | |
| class ExamplePassportTest extends \PassportTestCase | |
| { | |
| use DatabaseTransactions; |
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
| tail -f -n 450 storage/logs/laravel*.log \ | |
| | grep -i -E \ | |
| "^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \ | |
| --color |
Here is the list of talks that I found most useful to me.
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
| #!/usr/bin/env bash | |
| echo "php-cs-fixer pre commit hook start" | |
| PHP_CS_FIXER="bin/php-cs-fixer" | |
| PHP_CS_CONFIG=".php_cs" | |
| CHANGED_FILES=$(git diff --cached --name-only --diff-filter=ACM -- '*.php') | |
| if [ -n "$CHANGED_FILES" ]; then | |
| $PHP_CS_FIXER fix --config "$PHP_CS_CONFIG" $CHANGED_FILES; | |
| git add $CHANGED_FILES; |
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
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |
OlderNewer