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
| https://docs.fastlane.tools/actions/deliver/ | |
| https://ionic.zone/fastlane/add-metadata-and-upload | |
| https://github.com/fastlane/fastlane/issues/8036 |
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; | |
| listen 443 ssl; | |
| server_name app.local; | |
| ssl_certificate /Users/dyaus/workspace/ssl_certs/evisit.crt; | |
| ssl_certificate_key /Users/dyaus/workspace/ssl_certs/evisit.key; | |
| ssl_verify_client off; |
Complete SELECT query
SELECT DISTINCT column, AGG_FUNC(column_or_expression), …
FROM mytable
JOIN another_table
ON mytable.column = another_table.column
WHERE constraint_expression
GROUP BY column
HAVING constraint_expression
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
| #!/bin/bash | |
| # This way you can customize which branches should be skipped when | |
| # prepending commit message. | |
| if [ -z "$BRANCHES_TO_SKIP" ]; then | |
| BRANCHES_TO_SKIP=(master develop test) | |
| fi | |
| BRANCH_NAME=$(git symbolic-ref --short HEAD) | |
| BRANCH_NAME="${BRANCH_NAME##*/}" |
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
| Rewrite HTTP to HTTPS in Nginx | |
| server { | |
| listen 80; | |
| server_name example1.com example2.com; | |
| return 301 https://$host$request_uri; | |
| } | |
| server { | |
| listen 443 ssl; |
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
| Add the below code to keymap.cson :- | |
| 'body': | |
| 'ctrl-tab ^ctrl': 'unset!' | |
| 'ctrl-tab': 'pane:show-next-item' | |
| 'ctrl-shift-tab ^ctrl': 'unset!' | |
| 'ctrl-shift-tab': 'pane:show-previous-item' |
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
| Fix for the above issue is | |
| gem install nokogiri -v 1.6.8 -- --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2/ | |
| More info here :- | |
| http://ruby.zigzo.com/2015/03/18/installing-nokogiri-on-yosemite/ |
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://oskarhane.com/avoid-cors-with-nginx-proxy_pass/ | |
| http://serverfault.com/questions/384105/cross-origin-resource-sharing-cors-with-nginx-chrome | |
| http://stackoverflow.com/questions/20078246/set-up-nginx-to-allow-cross-domain-request-for-subdomain | |
| http://stackoverflow.com/questions/1653308/access-control-allow-origin-multiple-origin-domains/12414239#12414239 |
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
| Most often we come across issues with source lists of packages in ubuntu, and most common among them is one below | |
| W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) | |
| FIX for the issue above | |
| ----------------------- | |
| 1. Open a new Terminal window and run the following command: | |
| sudo gedit /etc/apt/sources.list.d/google-chrome.list | |
| 2. In the text file that opens edit the file so that the line reads: |
NewerOlder