This file contains 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
#!/bin/sh | |
export CI=true | |
export CODEBUILD=true | |
export CODEBUILD_ACCOUNT_ID=$(aws sts get-caller-identity --query 'Account' --output text) | |
export CODEBUILD_GIT_BRANCH="$(git symbolic-ref HEAD --short 2>/dev/null)" | |
if [ "$CODEBUILD_GIT_BRANCH" = "" ] ; then | |
export CODEBUILD_GIT_BRANCH="$(git rev-parse HEAD | xargs git name-rev | cut -d' ' -f2 | sed 's/remotes\/origin\///g')"; |
This file contains 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
from django_renderpdf.views import PDFView | |
from rest_framework import status, views, viewsets | |
from rest_framework.permissions import IsAuthenticated | |
from rest_framework.response import Response | |
from core.models import LocalDescription | |
from invoice.utils import get_pdf_download | |
from user.permissions import * | |
from .serializers import * |
This file contains 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'; | |
export const BASE_URL = ''; | |
export const PAGE_LIMIT = 10; | |
const instance = axios.create({ | |
baseURL: `${BASE_URL}/v1`, | |
timeout: 100000, | |
}); | |
instance.interceptors.response.use( |
This file contains 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
app | |
├── actions | |
│ ├── index.js | |
│ └── registration.js | |
├── i18n | |
│ ├── index.js | |
│ └── locales | |
│ └── en.js | |
├── icons | |
│ └── back |
This file contains 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
{"lastUpload":"2020-12-14T09:34:29.715Z","extensionVersion":"v3.4.3"} |
This file contains 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
Traceback (most recent call last): | |
File "manage.py", line 21, in <module> | |
main() | |
File "manage.py", line 17, in main | |
execute_from_command_line(sys.argv) | |
File "/usr/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
utility.execute() | |
File "/usr/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv |
This file contains 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
//===[]===[]====[]=====[]=====[]=====[]=====[]======\\ | |
|| p || q || ¬p || p∧q || p∨q || p⊕q || p→q || p↔︎q || | |
|]===[]===[]====[]=====[]=====[]=====[]=====[]======[| | |
|| T || T || F || T || T || F || T || T || | |
|| T || F || F || F || T || T || F || F || | |
|| F || T || T || F || T || T || T || F || | |
|| F || F || T || F || F || F || T || T || | |
\\===[]===[]====[]=====[]=====[]=====[]=====[]======// |
This file contains 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
console.clear(); | |
const arr = [2, 1, 5, 2, 3, 2]; | |
const s = 8; | |
let found = false; | |
for(let i = 1; i <= arr.length; i++){ | |
let sum = 0; | |
let number = 0; | |
for(let j = 0; j < arr.length; j++){ |
This file contains 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
console.clear(); | |
const arr = [2, 1, 5, 2, 3, 2]; | |
const s = 8; | |
let found = false; | |
for(let i = 1; i <= arr.length; i++){ | |
let sum = 0; | |
let number = 0; | |
for(let j = 0; j < arr.length; j++){ |
This file contains 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
console.clear(); | |
const arr = [2, 1, 5, 2, 3, 2]; | |
const s = 8; | |
let found = false; | |
for(let i = 1; i <= arr.length; i++){ | |
let sum = 0; | |
let number = 0; | |
for(let j = 0; j < arr.length; j++){ |
NewerOlder