Skip to content

Instantly share code, notes, and snippets.

View pramodhm112's full-sized avatar
🐢
Focusing 🎯

Pramodh M pramodhm112

🐢
Focusing 🎯
View GitHub Profile
@pramodhm112
pramodhm112 / sonarqube-nginx
Last active May 20, 2022 06:31
SonarQube Nginx Configuration
ssl_certificate /etc/letsencrypt/live/sonarqubedev.tk/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/sonarqubedev.tk/privkey.pem;
upstream sonar {
server 127.0.0.1:9000 fail_timeout=0;
}
server {
listen 80;
server_name sonarqubedev.tk;
@pramodhm112
pramodhm112 / Update remote repo
Created July 14, 2020 06:11 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket
# Autogenerated input type of AddComment
input AddCommentInput {
# A unique identifier for the client performing the mutation.
clientMutationId: String
# The Node ID of the subject to modify.
subjectId: ID!
# The contents of the comment.
body: String!
@pramodhm112
pramodhm112 / MySum_Test.java
Created September 7, 2019 11:58
This is a Test Code
import org.junit.Test;
import static org.junit.Assert.*;
public class MySum_Test {
MySum Obj1 = new MySum();
@Test
public void mySimpleTest() {
assertEquals(Obj1.sumofnumbers(10), 55);