Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "your_email@example.com"
| Open File -> App\Providers\AppServiceProvider | |
| And change method boot | |
| public function boot() | |
| { | |
| config(['app.locale' => 'id']); | |
| Carbon::setLocale('id'); | |
| } | |
| Open File and changes -> config/app.php |
| # Path to your oh-my-zsh configuration. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| #export ZSH_THEME="robbyrussell" | |
| export ZSH_THEME="zanshin" |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "log" | |
| "mime/multipart" | |
| "net/http" | |
| "os" |
| using System.Data.Common; | |
| using System.Runtime.CompilerServices; | |
| using System.Text; | |
| using Npgsql; | |
| GetCatalogItemsSql(null, null, null, 10); | |
| void GetCatalogItemsSql(int? catalogBrandId, int? before, int? after, int pageSize) | |
| { | |
| // This looks like it would be susceptible to SQL injection, but it's not. |
| #pull the image | |
| docker pull typesense/typesense:0.26.0.rc25 | |
| #run you image as containe | |
| #- make sure you are in Documents directory | |
| cd Documents | |
| makdir typesense-data |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| //make a program standby | |
| times := make(chan time.Time) |