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
| void main() { | |
| var d = new DateTime.now(); | |
| print(d.toUtc().toIso8601String()); | |
| } |
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
| package encoder | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/hmac" | |
| "crypto/rand" | |
| "crypto/sha256" | |
| "encoding/base64" | |
| "encoding/hex" |
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 Velodrive\Console\Commands; | |
| use Illuminate\Console\Command; | |
| class NotifyBirthday extends Command | |
| { |
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
| package permission | |
| import ( | |
| "context" | |
| ) | |
| var store PolicyStore | |
| func init() { |
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 | |
| abstract class Action | |
| { | |
| /** | |
| * Slug name for action | |
| * @return string | |
| */ | |
| abstract public static function name(); | |
| /** Title for action |
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
| package auth | |
| import ( | |
| "crypto/rsa" | |
| "errors" | |
| "fmt" | |
| "golang.org/x/crypto/ssh" | |
| "gopkg.in/square/go-jose.v2" | |
| "gopkg.in/square/go-jose.v2/jwt" | |
| "io/ioutil" |
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
| ########################################################### | |
| ###################### General Setup ###################### | |
| ########################################################### | |
| ### Paths ################################################# | |
| # Point to the path of your applications code on your host | |
| APP_CODE_PATH_HOST=../ | |
| # Point to where the `APP_CODE_PATH_HOST` should be in the container |
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
| server { | |
| listen 80 default; | |
| server_name shop.streamity.test; | |
| charset utf-8; | |
| root /var/www; | |
| index index.php index.html bitrixsetup.php; | |
| client_max_body_size 1024m; |
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 axios from 'axios'; | |
| import VueAxios from 'vue-axios'; | |
| import Vue from 'vue'; | |
| import {authService} from '@/store/modules/auth.module'; | |
| import {REFRESH_TOKEN_ENDPOINT} from '@/constants/endpoints'; | |
| import {LoginResponse} from '@/types/auth'; | |
| Vue.use(VueAxios, axios); | |
| axios.interceptors.request.use((request) => { |