Skip to content

Instantly share code, notes, and snippets.

View devbhuwan's full-sized avatar

Bhuwan Prasad Upadhyay devbhuwan

View GitHub Profile
public class HelloWorld {
public static void main(String... args) {
println("Hello World From Nepal!");
}
}
```bash
cvt 1366 768 60
xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
xrandr -q
xrandr --addmode Virtual-0 1368x768_60.00
------
cvt 1305 735 60
xrandr --newmode "1312x735_60.00" 78.25 1312 1384 1512 1712 735 738 748 764 -hsync +vsync
xrandr -q
xrandr --addmode Virtual-0 1312x735_60.00

To Build New Container docker build -t devbhuwan/spagobi-oracle11g .

To Run Container docker run --name spagobi-mysql -p 13306:3306 -e MYSQL_ROOT_PASSWORD=mysql -d mysql:latest --sql_mode=""

To Delete Docker Image docker rmi alterway/mysql:5.6 -f

To make Backspace as delete char key in command stty erase ^H

  • Create new schema or user and grant resource
  CREATE USER spagobi IDENTIFIED BY spagobi;
  grant connect, resource to spagobi;
  • Change Password User
  ALTER USER hr IDENTIFIED BY hr
  • HR sample database script
@devbhuwan
devbhuwan / Important-Maven-Plugins.md
Last active December 18, 2016 13:37
Important-Maven-Plugins
  • copy-rename-maven-plugin
  • addjars-maven-plugin
  • truezip-maven-plugin
  • properties-maven-plugin
  • maven-invoker-plugin
  • smpp-plugins
  • maven-bundle-plugin

###Conway's Law

"Any organization that designs a system (defined more broadly here than just information systems) will inevitably produce a design whose structure is a copy of the organization's communication structure."

<?xml version="1.0" encoding="UTF-8" ?>
<project>
<target name="antConcat">
<!--
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration
<rootDir> property pass in antBuild.xml of antBuild target
-->
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<target name="antReplace">
<!--
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration
<rootDir> property pass in antBuild.xml of antBuild target
-->
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<target name="antCopy">
<!--
<buildDir> and <srcDir> properties are pass in pom.xml in ant target configuration
<rootDir> property pass in antBuild.xml of antBuild target
-->