Skip to content

Instantly share code, notes, and snippets.

#!/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')";
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 *
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(
@xmanemran
xmanemran / rn-tree
Last active September 12, 2020 06:32
app
├── actions
│   ├── index.js
│   └── registration.js
├── i18n
│   ├── index.js
│   └── locales
│   └── en.js
├── icons
│   └── back
{"lastUpload":"2020-12-14T09:34:29.715Z","extensionVersion":"v3.4.3"}
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
//===[]===[]====[]=====[]=====[]=====[]=====[]======\\
|| 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 ||
\\===[]===[]====[]=====[]=====[]=====[]=====[]======//
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++){
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++){
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++){