show dbs
Discover gists
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Clickable Swedish Keyboard Layout</title> | |
<style> | |
body { | |
display: flex; | |
justify-content: center; |
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/nvm.sh b/nvm.sh | |
index 7aaac55..5536c6e 100644 | |
--- a/nvm.sh | |
+++ b/nvm.sh | |
@@ -38,7 +38,7 @@ nvm() | |
cd "$NVM_DIR/src" && \ | |
git clone git://github.com/ry/node.git && \ | |
cd node && \ | |
- ./configure --prefix="$NVM_DIR/HEAD" && \ | |
+ ./configure --debug --prefix="$NVM_DIR/HEAD" && \ |
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
1 | fonts.googleapis.com | 10 | |
---|---|---|---|
2 | facebook.com | 10 | |
3 | twitter.com | 10 | |
4 | google.com | 10 | |
5 | youtube.com | 10 | |
6 | s.w.org | 10 | |
7 | instagram.com | 10 | |
8 | googletagmanager.com | 10 | |
9 | linkedin.com | 10 | |
10 | ajax.googleapis.com | 10 |
Sublime Text includes a command line tool, subl
, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
- Sublime text 2 or 3 installed in your system within
Applications
folder
Setup
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 { Controller, Get, Req, Res, UseGuards } from '@nestjs/common'; | |
import { Request, Response } from 'express'; | |
import { GoogleOauthGuard } from './google-oauth.guard'; | |
@Controller('auth/google') | |
export class GoogleOauthController { | |
constructor(private jwtAuthService: JwtAuthService) {} | |
@Get() | |
@UseGuards(GoogleOauthGuard) |
Implementing a basic plugin architecture shouldn't be a complicated task. The solution described here is working but you still have to import every plugin (inheriting from the base class).
This is my solution:
$ tree
Reasons:
- UNIX standard
- If the last line in a file doesn't end with a newline then addition of next line affects two lines instead of one. This also pollutes diff on multiple files, so reader may wonder what has changed in a line whereas no significant change has occured.
Multiple newlines at the file end are also redundant as well as spaces at the end of line.
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
Visual Studio 2022 | |
Enterprise : | |
VHF9H-NXBBB-638P6-6JHCY-88JWH | |
Professional: | |
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Clickable Swedish Keyboard Layout</title> | |
<style> | |
body { | |
display: flex; | |
justify-content: center; |
NewerOlder