What do you want to save?
Add Code snippet
New code examples
-
SQL 2022-01-28 18:32:04
oracle add attribute to table
-- ALTER TABLE <table> ADD <column> <type> <constraint>; ALTER TABLE members ADD age NUMBER; ALTER TABLE members ADD birth_date DATE NOT NULL; ALTER TABLE members ADD registering DATE DEFAULT sysdate; ALTER TABLE members ADD membe... Add solution -
Javascript 2022-01-28 15:56:01
locale data angular 12
... import { NgModule, LOCALE_ID } from '@angular/core'; import { registerLocaleData } from '@angular/common'; import localeFr from '@angular/common/locales/fr'; registerLocaleData(localeFr); @NgModule({ imports: [...], declarations: [...], bootst... Add solution -
Javascript 2022-01-26 11:30:22
example route in koa and controller
// user.controoler.js exports.resultsController = async(ctx, next) => { ctx.body = "Hello Wordl from get"; await next(); } exports.createController = async (ctx, next) => { ctx.body = JSON.stringify(ctx.request.body); awa... Add solution -
Html 2022-01-26 07:10:08
how to develop a web site
hey buddy here's how to develop a website! 1) Choose a domain name. 2) Register a domain and sign up with web hosting. ( once you have registred a domain if you know how to code, you could try to build your website from scratch, but no worries! if you ... Add solution -
Javascript 2022-01-26 05:55:47
how to redirect from login page to other page if user is already logged in in angular using jwt
const ROUTES = [ { path: '', redirectTo: 'home', pathMatch: 'full' }, { path: 'login', component: LoginComponent }, { path: 'register', component: RegisterComponent }, { path: 'home', component: HomeComponent }, { path: 'books', component: BookC... Add solution -
Python 2022-01-24 17:40:25
metaclass python
A metaclass is the class of a class. A class defines how an instance of the class (i.e. an object) behaves while a metaclass defines how a class behaves. A class is an instance of a metaclass. While in Python you can use arbitrary callables for metaclass... Add solution
Best helpers
Ranking is empty