I hereby claim:
- I am zaky7 on github.
- I am zakirsaifi76 (https://keybase.io/zakirsaifi76) on keybase.
- I have a public key ASDTyZfyPEd4iMsJXQ0mkdlv1_QzW5NKlEs125iutHKmOwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| class Solution { | |
| public int minCharacters(String a, String b) { | |
| char[] char1 = a.toCharArray(); | |
| char[] char2 = b.toCharArray(); | |
| int Op1 = minOperation(char1, char2); | |
| int Op2 = minOperation(char2, char1); | |
| int Op3 = minOpForDifferByOne(char1, char2); | |
| int minOp = Math.min(Op1, Op2); |
| class Solution { | |
| static class Point { | |
| private int coordinate; | |
| private int typeId; | |
| Point(int coordinate, int typeId) { | |
| this.coordinate = coordinate; | |
| this.typeId = typeId; | |
| } | |
| }; |
| mkdir -p ~/.local/share/fonts | |
| for type in Bold Light Medium Regular Retina; do wget -O ~/.local/share/fonts/FiraCode-$type.ttf "https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-$type.ttf?raw=true"; done | |
| fc-cache -f |
| -- Thanks to http://justinsomnia.org/2009/04/the-emp-and-dept-tables-for-mysql/ | |
| DROP TABLE IF EXISTS emp; | |
| CREATE TABLE emp ( | |
| empno decimal(4,0) NOT NULL, | |
| ename varchar(10) default NULL, | |
| job varchar(9) default NULL, | |
| mgr decimal(4,0) default NULL, | |
| hiredate date default NULL, |
| import { Component, OnInit, EventEmitter, Output, ViewChild } from '@angular/core'; | |
| import { HttpClient } from '@angular/common/http'; | |
| import { ContactService } from './contacts.service'; | |
| import { Contact } from './contact.model'; | |
| import { Subject } from 'rxjs'; | |
| import { ContactListComponent } from './contact-list/contact-list.component'; | |
| declare var gapi: any; | |
| @Component({ | |
| selector: 'app-contacts', |
| import { Component, Input } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-student', | |
| template: ` | |
| <p> My name is {{ name }}.</p> | |
| ` | |
| }) | |
| export class StudentComponent { | |
| public name = ''; | |
| // Specify the Setter for the input property |
| import { Component, OnInit } from '@angular/core'; | |
| import { Student } from './student.model'; | |
| @Component({ | |
| selector: 'app-master', | |
| template: ` | |
| <h2>{{master}} says give your introduction </h2> | |
| <app-student *ngFor="let student of students" | |
| [studentName]="student.name" | |
| > | |
| </app-student> |
| # | |
| # This is the main Apache HTTP server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
| # In particular, see | |
| # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
| # for a discussion of each configuration directive. | |
| # | |
| # Do NOT simply read the instructions in here without understanding | |
| # what they do. They're here only as hints or reminders. If you are unsure |