Клонирование ропозитория:
hg clone https://someUser@github.com/someRepo/projectName
Инициализация локального репозитория:
drop function if exists public.get_explore_courses (uuid, uuid); | |
create | |
or replace function public.get_explore_courses (org_id_arg uuid, profile_id_arg uuid) returns table ( | |
id uuid, | |
org_id uuid, | |
title character varying, | |
slug character varying, | |
description character varying, |
import get from 'lodash/get'; | |
async function getGenericData(orgSlug: string): Promise<{ isCoursePublished: boolean; isCourseCreated: boolean; orgHasAvatarUrl: boolean}> { | |
const { data } = await supabase.from('course').select(` | |
id, | |
is_published, | |
group:group_id!inner( | |
organization!inner ( | |
avatar_url, | |
siteName |
#!/bin/bash | |
# Service name for the TypeScript file. | |
service_name="$1" | |
file_name="cache.ts" | |
# Code content to write to the file. | |
code="import { revalidateTag } from \"next/cache\"; | |
interface RevalidateProps { |
<script> | |
let name = 'world'; | |
const students = [ | |
{ avatarUrl: 'https://images.unsplash.com/photo-1599566150163-29194dcaad36?auto=format&fit=crop&q=60&w=800&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8YXZhdGFyc3xlbnwwfHwwfHx8Mg%3D%3D', name: 'Ifeanyi' }, | |
{ avatarUrl: 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&q=60&w=800&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OHx8YXZhdGFyc3xlbnwwfHwwfHx8Mg%3D%3D', name: 'John' }, | |
{ avatarUrl: '', name: 'Tunji' }, | |
{ avatarUrl: '', name: 'Trump' }, | |
{ avatarUrl: '', name: 'Buhari' }, | |
] |
<div id="root"></div> |
root/
├── __test__/
├── public/
├── .storybook/
│ ├──stories/
│ │ ├── NextButton/
│ │ │ └── NextButton.stories.js
│ │ └── RadioButton/
fetch('https://httpbin.org/post', { | |
method: 'POST', | |
headers: { | |
'Accept': 'application/json', | |
'Content-Type': 'application/json' | |
}, | |
body: JSON.stringify({a: 1, b: 'Textual content'}) | |
}); |
sudo apt-get --purge remove maxima
I was getting this error below cause I already had it some how installed. I can't remember how I initially installed it.Setting up maxima (5.44.0-2) ...
chown: invalid user: ‘vttoth:vttoth’
chown: invalid user: ‘vttoth:vttoth’
dpkg: error processing package maxima (--configure):
var books = [ | |
'Genesis', | |
'Exodus', | |
'Leviticus', | |
'Numbers', | |
'Deuteronomy', | |
'Joshua', | |
'Judges', | |
'Ruth', | |
'1 Samuel', |