This file contains hidden or 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
gzip on; | |
gzip_comp_level 5; | |
gzip_min_length 256; | |
gzip_proxied any; | |
gzip_vary on; |
This file contains hidden or 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
adb shell | |
mlv5:/ $ logcat -e listening | |
--------- beginning of crash | |
--------- beginning of system | |
--------- beginning of main | |
09-12 12:34:08.847 19381 19417 I flutter : Observatory listening on http://127.0.0.1:54554/ | |
curl http://127.0.0.1:54554/ | |
curl: (7) Failed to connect to 127.0.0.1 port 54554: Connection refused |
This file contains hidden or 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
http://localhost:8081/debugger-ui/ | |
Enable Debug Js Remote | |
react-native start --reset-cache | |
//Enable live reload on real device, it will open devloper menu | |
adb shell input keyevent 82 |
This file contains hidden or 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 { RESPONSE } from '@nguniversal/express-engine/tokens'; | |
import { Inject, Injectable, Optional } from '@angular/core'; | |
@Injectable() | |
export class ServerReponseService { | |
constructor(@Optional() @Inject(RESPONSE) private _response: any) { | |
} | |
public setStatus(code: number, message: string): void { | |
if (this._response) { |
This file contains hidden or 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
If you checkout the error. The file mount of macos is not configured for docker | |
https://docs.docker.com/docker-for-mac/osxfs/#namespaces | |
use the File sharing tab in Docker preferences whale | |
menu -> Preferences -> File sharing. | |
Add /usr/local/share/dotnet/sdk/NuGetFallbackFolder |
This file contains hidden or 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
<?php | |
/** | |
* * | |
* * Copyright (C) dataentrycareer.in- All Rights Reserved | |
* * * Unauthorized copying of this file, via any medium is strictly prohibited | |
* * * Proprietary and confidential | |
* * * Written by Sathish Kumar(satz) <[email protected]> | |
* * | |
* | |
*/ |
This file contains hidden or 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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
This file contains hidden or 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
wordpress: | |
image: wordpress:php7.2-fpm-alpine | |
restart: always | |
volumes: | |
- ./wordpress:/var/www/wordpress/ | |
environment: | |
WORDPRESS_DB_PASSWORD: homestead | |
WORDPRESS_DB_USER : homestead | |
WORDPRESS_DB_NAME : homestead | |
WORDPRESS_DB_HOST : dbwordpress |
This file contains hidden or 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
Images are already gzip, so remove content-encoding:gzip |
This file contains hidden or 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
shift + command + period (.) | |
Will show hidden folers | |
// Nuxt.js dynamic components example | |
https://github.com/nuxt/nuxt.js/tree/dev/examples/dynamic-components |