Skip to main content

Posts

Showing posts from 2021

FireFox WebDevTool vs Chrome DevTools

    (For #webdevelopers ) Here is a difference in error detection between FireFox WebDevTool and Chrome DevTools. Some times #FireFox DeveloperTool provides most specific warnings than #Chrome #devtools Chrome: d.js:111 GET https://https/https://lnkd.in/g6tJMykE net::ERR_NAME_NOT_RESOLVED get @ sed.js:111 psearch @ sharedLogic-stripped.js:150 onclick @ create:304 create:1 Uncaught (in promise) TypeError: Failed to fetch Promise.then (async) get @ ed.js:119 psearch @ d.js:150 onclick @ create:304 FireFox: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://https//https://lnkd.in/g27Fi-J8 . (Reason: CORS request did not succeed). Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. #devtools #Chrome #firefox #jsdeveloper #webdevelopment #troubleshooting

JENKINS : Intalling Jenkins on AWS Lightsail

  JENKINS : Intall on AWS Lightsail Installing Jenkins docker container on AWS Lightsail Bitnami Ubuntu instance From LightSail home page > open console bitnami@ip-4:~$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES bitnami@ip-4:~$ sudo docker run -d -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts bitnami@ip-172ā€“26ā€“1ā€“244:~$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES99c4d9ca06a5 jenkins/jenkins:lts ā€œ/sbin/tiniā€Šā€”ā€Š/usr/ā€¦ā€ 14 minutes ago Up 14 minutes 0.0.0.0:8080->8080/tcp, 0.0.0.0:50000->50000/tcp xenodochial_galileo Click your AWS Instance Click on NETWORKING link Under IPV4 Firewall , select ā€˜Add ruleā€™ā€Šā€”ā€Šlink Set Customā€Šā€”ā€ŠTCPā€Šā€”ā€Š8080 (or whatever port you want to open to public) Now try browse your instance ip like this, 1.2.3.4:8080ā€Šā€”ā€Šthis will load the admin password page, Jenkins first page to enter secretkey next screen: Customize Jenkins next screen: install suggested plugins Je...

Mac terminal history - see , save, clear & search

  * This guide is based on zsh  terminal on  Big Sur MacOS.  Find all the commands from your terminal session $ history  -- shows short or partial list of your terminal commands history like below...  71  ls    72  open .zsh_history    73  open ~/ .zsh_history    74  ~/.zsh_history    75  sudo ~/.zsh_history    76  touch ~/.zshrc    77  touch ~/.zshrc_history    78  touch .bash_history    79  history 100    80  history 10    81  history    82  history > terminal_history.txt    83  touch terminal_history.text    84  touch terminal_history.txt    85  ls    86  cat terminal_history.txt $ history  0 -- this will show the maximum list of commands starting from 0 position $ history 10  -- this will show commands starting fr...