gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
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 df02cbd00bebd0b2ae77302c35ffe8fef47a7343 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Piotr=20B=C5=82a=C5=BCejewicz?= | |
<peterblazejewicz@users.noreply.github.com> | |
Date: Wed, 5 Jan 2022 22:57:18 +0100 | |
Subject: [PATCH] pr review | |
--- | |
types/async-busboy/async-busboy-tests.ts | 2 +- | |
types/async-busboy/tsconfig.json | 5 + | |
types/busboy/busboy-tests.ts | 369 ++++++++++------------- |
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 { HttpClientModule } from '@angular/common/http'; | |
import { NgModule } from '@angular/core'; | |
import { BrowserModule } from '@angular/platform-browser'; | |
import { downgradeInjectable, UpgradeModule } from '@angular/upgrade/static'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { CheckmarkPipe } from './checkmark/checkmark.pipe'; | |
import { PhoneDetailContainerComponent } from './phone-detail/phone-detail-container.component'; | |
import { PhoneDetailDirective } from './phone-detail/phone-detail.directive'; |
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
git branch | %{ $_.Trim() } | ?{ $_ -ne 'master' } | %{ git branch -D $_ } |
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
@Injectable() | |
export class TemplateResolver implements Resolve<string> { | |
constructor( | |
private templateService: TemplateService, | |
@Inject('$templateCache') private $templateCache: any | |
) {} | |
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { | |
const templateUrl = route.data.templateUrl; | |
return this.templateService | |
.getTemplate(templateUrl) |
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
diff --git a/types/formidable/formidable-tests.ts b/types/formidable/formidable-tests.ts | |
index c70026e202..91b8449071 100644 | |
--- a/types/formidable/formidable-tests.ts | |
+++ b/types/formidable/formidable-tests.ts | |
@@ -1,6 +1,7 @@ | |
import formidable = require("formidable"); | |
import { | |
defaultOptions, | |
+ enabledPlugins, | |
plugins, |
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
// Type definitions for non-npm package mdx 2.0 | |
// Project: https://github.com/mdx-js/mdx | |
// Definitions by: Christian Murphy <https://github.com/ChristianMurphy> | |
// Remco Haszing <https://github.com/remcohaszing> | |
// Titus Wormer <https://github.com/wooorm> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
// TypeScript Version: 3.9 | |
type FunctionComponent<Props> = (props: Props) => JSX.Element; | |
type ClassComponent<Props> = new (props: Props) => JSX.ElementClass; |
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
export class Libmime { | |
constructor(config: any); | |
config: any; | |
/** | |
* Checks if a value is plaintext string (uses only printable 7bit chars) | |
* | |
* @param {String} value String to be tested | |
* @returns {Boolean} true if it is a plaintext string | |
*/ | |
isPlainText(value: string): boolean; |
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
#!/usr/bin/python | |
import asyncio | |
from sense_hat import SenseHat | |
sense: SenseHat = None | |
loop: asyncio.AbstractEventLoop = None | |
queue: asyncio.Queue = None | |
def process_direction(event): |