Adding REAL TECHNICAL WEALTH SOON... Stay Tuned!!!
It is there but dark forces compelling me to work on something to test myself
Still Stay Tuned you all fans!!!
https://mahichir.wordpress.com/2014/05/14/solving-the-plugin-execution-not-covered-by-lifecycle-configuration-error-in-eclipse/
Tuesday, August 7, 2018
Saturday, July 28, 2018
Spring Tool Suite - Configuration Parameters that work like Magic you would be amazed
STS.ini contents as of July 28, 2018 on my Machine
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
--add-modules=ALL-SYSTEM
-Xmn128m
-Xss1m
-XX:+AggressiveOpts
-XX:+UseConcMarkSweepGC
-XX:PermSize=128M
-XX:MaxPermSize=712M
-XX:+HeapDumpOnOutOfMemoryError
-XX:CompileThreshold=200
-XX:+UseCompressedOops
-Xverify:none
-XX:+UseBiasedLocking
-XX:+UseFastAccessorMethods
-Xms1024m
-Xmx2048m
-XstartOnFirstThread
-Dosgi.module.lock.timeout=10
-Dorg.eclipse.swt.browser.IEVersion=10001
-Xmx1200m
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
--add-modules=ALL-SYSTEM
-Xmn128m
-Xss1m
-XX:+AggressiveOpts
-XX:+UseConcMarkSweepGC
-XX:PermSize=128M
-XX:MaxPermSize=712M
-XX:+HeapDumpOnOutOfMemoryError
-XX:CompileThreshold=200
-XX:+UseCompressedOops
-Xverify:none
-XX:+UseBiasedLocking
-XX:+UseFastAccessorMethods
-Xms1024m
-Xmx2048m
-XstartOnFirstThread
-Dosgi.module.lock.timeout=10
-Dorg.eclipse.swt.browser.IEVersion=10001
-Xmx1200m
Wednesday, February 21, 2018
create barcode and draw it to an existing image using java
https://stackoverflow.com/questions/38230667/create-barcode-and-draw-it-to-an-existing-image-using-java
I found a solution,hope this help someone else, thanks to all
Create the barcode using itext:
Barcode39 barcode = new Barcode39();
barcode.setCode("7001390283546141");
barcode.setBarHeight(40);
Image img = barcode.createAwtImage(Color.BLACK, Color.WHITE);
BufferedImage outImage = new BufferedImage(img.getWidth(null), img.getHeight(null),BufferedImage.TYPE_INT_RGB);
outImage.getGraphics().drawImage(img, 0, 0, null);
ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
ImageIO.write(outImage, "png", bytesOut);
bytesOut.flush();
byte[] pngImageData = bytesOut.toByteArray();
FileOutputStream fos = new FileOutputStream("C:/results/barcode.jpg");
fos.write(pngImageData);
fos.flush();
fos.close();
After create the barcode image
final BufferedImage image1 = ImageIO.read(new File("C:/results/image.jpg"));
final BufferedImage image2 = ImageIO.read(new File("C:/results/barcode.jpg"));
Graphics g = image2.getGraphics();
g.drawImage(image2, 0, 0, image2.getWidth(), image2.getHeight(), null);
g.dispose();
final int xMax = image1.getWidth() - image2.getWidth();
final int yMax = image1.getHeight() - image2.getHeight();
Graphics g2 = image1.getGraphics();
Random random = new Random();
int x = random.nextInt(xMax);
int y = random.nextInt(yMax);
g2.drawImage(image2, x, y, null);
g2.dispose();
File outputfile = new File("C:/results/final.jpg");
ImageIO.write(image1, "png", outputfile);
Saturday, February 17, 2018
Stuff for cloning Daniel Selman DSI Projects
https://git.ng.bluemix.net/profile/personal_access_tokens
https://git.ng.bluemix.net/profile/personal_access_tokens
pPtR7mrAtuGiWZkRToyE
\\
https://git.ng.bluemix.net/profile/personal_access_tokens
pPtR7mrAtuGiWZkRToyE
Active Personal Access Tokens (1)
Name | Created | Expires | Scopes | |
---|---|---|---|---|
masterajaydsi | Feb 17, 2018 | In over 2 years | api, read_user |
https://www.google.com/search?ei=h7CIWpGoBIPl5gLUjbzYCw&q=ibm+odm+dsi+projects+samples&oq=ibm+odm+dsi+projects+samples&gs_l=psy-ab.3...9331.11813.0.12341.8.8.0.0.0.0.105.816.2j6.8.0....0...1.1.64.psy-ab..0.5.510...33i160k1j33i21k1.0.Nxgo1K-jEqM
https://developer.ibm.com/odm/assets/
https://git.ng.bluemix.net/search?utf8=%E2%9C%93&search=odm-dsi&group_id=&project_id=&repository_ref=&cm_sp=dw-bluemix-_-odm-_-devcenter
Subscribe to:
Posts (Atom)