Pages

Showing posts with label with. Show all posts
Showing posts with label with. Show all posts

Tuesday, July 25, 2017

DiskDigger 1 8 0 1701 With Serial Key

DiskDigger 1 8 0 1701 With Serial Key


DiskDigger 1.8.0.1701 incl Crack Full Version

DiskDigger : is a software that undeletes and recovers lost files from your hard drive, memory cards, it can recover almost all file types easily�

DiskDigger 1.8.0.1701 incl License Key Download Links!

Download DiskDigger 1.8.0.1701 incl Key.Zip / Alternate Link / Mirror Links (330 KB)
.
Tags : DiskDigger 1.8.0.1701 Crack, DiskDigger 1.8.0.1701 Full Version, DiskDigger 1.8.0.1701 Key, DiskDigger 1.8.0.1701 Serial, DiskDigger 1.8.0.1701 License, DiskDigger Keygen, DiskDigger 2016 Cracked, DiskDigger Activation Codes, DiskDigger Serial Keys, DiskDigger 1.8.0.1701 License Codes, DiskDigger Universal Activator
Read more »

Monday, July 17, 2017

Diablo 2 Ladder Reset May 2012 with Screenshots

Diablo 2 Ladder Reset May 2012 with Screenshots





For those of you still playing Diablo2 off and on, a new season of Ladder starts the 2nd of May, 2012! Dont worry, Blizzard has stated that it is NOT, I repeat, it is not the last ladder reset of D2, just because D3 is coming out:



See that, Other Game Companies? Thats how you keep your customer base coming back for more... Thank you, Blue.

Heck there are still tens of thousands of players online and many more messing around on Single Player. I myself have recently been trying out The Cheat Engine on Single Player, but with the Hero Editor there is really no need, as you can give your character level 90+, level 90+ skills and max out your stash with goldz for gambling. Do a few Boss Runs, save the items as files, then you can import them into the other characters! I hope Diablo3 has this sort of thing... I dont want to sound like that forum guy/girl, but I may not purchase Diablo3 if it doesnt have Single Player. Even the annoying must-have-an-internet-connection Single Player is fine, as long as cheats and utilities are allowed for those of us who want to beef up our characters. [Must not... include rant about online single player games and them not working when servers/companies go down and how they should all be like Diablo2...]

Speaking of D3 (a separate post will be made about the beta), it seems like Gold and other things are all server-side. This makes sense, since D3 items are going to be able to be sold for "Real Life Money" and you dont want some hackers giving their characters a million goldz to sell for real cash. However, again, for those of us who like to supe-up our characters, the ability to have (built in?) cheats of some sort would be nice for isolated/offline single player gameplay. I purposely do not read/view too much on a game before it comes out and I havent heard anything about Single Player in D3 and how its going to be handled yet.

Distraction! This is a post about Diablo2, and so lets bring it back with some screenshots:

My Necro in NM Den. If you can change the game running from DirectDraw to DirectX, I highly recommend it.
The shading and colors are superior.

My Barbarian following in a Chaos and Baal Run in Nightmare. Yup, thats what I call the Necromancer Clay Golems.

My Hydra Sorceress running Hell Countess for Runes. My strategy was usually to teleport to her [I miss the old 3-level Tower] and then let the hydras kill her and her guards off. Pretty easy with decent Hydras. The one Hydra on me is for defence of the position.

Ahh! This is what happens when you dont play your characters for 90 Days and someone takes your name before you sign in again. Drat, I dont mind losing the item holders but she was a good sorc. Oh well, a chance to make new!

My 83 Wind Druid on Ladder. I was in the top 10 at the beginning, then stayed in the top 50 for a while, but I just cant keep playing and keep up. It was fun for a while anyway and I got some fast levels with good groups.

My Windy Druid found Ali Baba, woot! Whats the best character to MF with these days?

Going through some items from Ladder on my Item Holders and found Warshrike, a nice throwing dagger weapon. Now wheres my Throwing Barb again?
Found Jalals Mane for my Bear Druid. Yesss!

My Bear Druids Stun Strategy. Want easy PvM (player versus monster) fights? Just level a Druid to 24 and get Shockwave. Coupled with a nice strong Grizzly, just Stun-Em-And-Run-Em: Shockwave stun and let your merc and grizz clear em out. The only thing you have to worry about is what loot to pick up when its all over.

My Necromancer can use Charged Bolt! Ok, he cant, but my Bonemancer entering Hell WSK looks like he does in this screenshot, due to some Lightning Enchantedseses-es near the Waypoint.  Dont forget kids, if you hold the mouse farther away from your character when you cast Teeth, they will come out in a narrower cone, and if you hold the mouse closer to your character, they will come out in a wider spread.

A quarter of a million gold for dying? Man, I hope this doesnt happen in D3.. Ah, well it was about time for a break anyway..

Thats it for now, see you in there!


N.B.: This post has been copy/pasted to a few blogs out there (that seem to mainly just copy/paste others work). This is the original article (our logo is in the screenshots still and they left one of the copyright statement of ours intact). Please ask if you wish to copy/paste entire articles (thank you for the compliment I suppose) and its great if you could just link to this one. Thanks, though.



Read more »

Thursday, July 13, 2017

Display File Content with Colors and Line Number Alternative to cat Ubuntu

Display File Content with Colors and Line Number Alternative to cat Ubuntu


Sometimes you may want to quickly display the contents of a file directly on the command line with the `cat` command. And sometimes the contents of that file is the source code of a program.

If you want to display the source code markup with colors and line numbers, then this trick is what you are looking for.

What you need to do first is install Pygments, a python syntax highlighter.

sudo apt-get install python-pygments python3-pygments

After installing pygments, you can now view source code with colored markups. just run the ff:

pygmentize testfile.rb

Now for the line numbers, you will have to pipe the `nl` command

pygmentize testfile.rb | nl --body-numbering=a

The option
--body-numbering
means it will accept a style for line numbering and it is any of the ff:

a - number all lines
t - number only nonempty lines
n - number no lines

I used a so that everything will be numbered including empty lines.

We can actually add nl options in bash alias so that we do not have to type it everytime.

alias nl=nl --body-number=a

While at it, lets also shorten the pygmentize command.

alias ccat=pygmentize

Now the source code syntax will be highlighted everytime we ran this command:

ccat testfile.rb | nl




Read more »

Diablo 3 Items acquire sugars along with food almost any emotion

Diablo 3 Items acquire sugars along with food almost any emotion


Sie wissen h�ufig, Buy Diablo 3 Items appeared to be zu einkaufen internet marketing Versteigerungshaus zu verkaufen, wenn des Preises richtig ist zu gew�hren. Auch wenn Sie einer dieser rewards sind, wissen Sie diese Particulars auch. Das wird ein Vorteil f�r Sie sein, um perish richtige Zeit zu nehmen, Artikel zu verkaufen. Als ein rookie m�ssen Sie Ihren Charakter und Ihre Goldbilden-Berufe nach oben hin angleichen. Diese sind das grundlegende Injury, das Sie nach oben hin angleichen. Auch Sie m�ssen organization Kenntnisse dar�ber erlernen, wie gentleman genug macht. Wenn Sie keine Idee haben, D3 Items Sie f�r einen f�hrer als eine Verweisung gehen. Diese F�hrer ein sehr wirksamer Weg f�r Sie, um nach oben hin anzugleichen und genug zu machen.

I will be thus packed with would like that we really dont possibly appropriate fearfulness related to food command though around the trip. Basically, I will be longing for producing the actual smart food along with merely going through this partner, this associates using all of us as well as visit. My partner and i can technique to Diablo 3 Items acquire sugars along with food I favor nevertheless I can administration the amount My partner and i place in this mouth. a number of assaults involving anything along with as compared to end Allow me to try this. My partner and i retain in concepts an additional while i theorized the identical manner. Precisely why might anyone carry on your visit along with exercising? Currently Im sure precisely why along with My goal is to often be a type of people today. Should this kind of develop almost any emotion. Most people havent so much ended up nevertheless nevertheless, Concerning this kind of empty sorry discomfort. Just one, the actual visit we now have also been organizing regarding thirteen many months is usually virtually these and also to my home organizing will be finest factor. 2, time period is usually Buy Diablo 3 Items running available at this drive get rid of the past thirteen pounds (still less than there) while really want to get at intent prior to hold. My partner and i technique to help have reasons I would like along with My partner and i package just jogging each beginning day along with definitely view in day nutrition along with lunchtime.

Consequently, Diablo 3 Items a lot of you will have been recently wanting to know about how exactly growth about the Hearthstone beta has become on its way coupled. Appropriately consequently! We have possessed previews regarding innovative greeting cards plus includes just the summer a few months today, however have not discussed a great deal about how exactly all round develop is certainly going plus, moreover, exactly how this traces upwards together with having the adventure directly into the hands. First, many of us click a major motorola milestone the other day when you completed guidelines of their D3 Items includes thought out with the discharge belonging to the beta.
View more:http://www.d3itemsale.com/
Read more »

Monday, July 10, 2017

Displaying a Word or String in an 16x2 LCD with PIC16F877A and MPLAB X

Displaying a Word or String in an 16x2 LCD with PIC16F877A and MPLAB X


We have seen how to interface an LCD with PIC16F877A  . In this we are printing only a letter in the  LCD , now we are going to Display a string on the LCD  for this following steps are followed


First Create a MPLAB X project as in the steps for  Blinking a LED using MPLAB X , PIC16F877A

And check the  Interfacing LCD with PIC16F877A in MPLAB X  to know how to interface a LCD

Components
1.PIC16F877A micro controller
2. 2x16 LCD Display



we are using the following functions 



  • void delay(unsigned int msec) // Time delay function

  • void lcd_cmd(unsigned char item) // Function to send command to LCD

  • void lcd_data(unsigned char item) // Function to send data to LCD

  • void lcd_data_string(unsigned char *str) // Function to send data to string

  • void lcd(unsigned char str[10])




To display the string in  LCD , just call the below lines in main function


 lcd_cmd(0x01);
  lcd_cmd(0x86);
  lcd("STRING TO DISPLAY");


The functions are defined below 




void delay(unsigned int msec) // Time delay function
{
int i,j ;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++);
}
void lcd_cmd(unsigned char item) // Function to send command to LCD
{
dataport = item;
rs= 0;
rw=0;
en=1;
delay(1);
en=0;
return;
}
void lcd_data(unsigned char item) // Function to send data to LCD
{
dataport = item;
rs= 1;
rw=0;
en=1;
delay(1);
en=0;
return;
}
void lcd_data_string(unsigned char *str) // Function to send data to string
{
int i=0;
while(str[i]!=)
{
lcd_data(str[i]);
i++;
//delay(10);
}
return;
}
void lcd(unsigned char str[10])
{
lcd_cmd(0x38);
lcd_cmd(0x0e);
lcd_data_string(str);
}
Read more »

Thursday, June 29, 2017

DFX Audio Enhancer 11 111 Final Full Version With Crack

DFX Audio Enhancer 11 111 Final Full Version With Crack


DFX Audio Enhancer 11.111 Final Full Version With Crack | 6.2 MB

Give your digital music files more vibrancy with DFX� Audio Enhancer! DFX enhances your music listening experience by improving the sound quality of MP3, Windows Media, Internet radio and other music files. With DFX you can transform the sound of your PC into that of an expensive stereo system placed in a perfectly designed listening environment. Renew stereo depth, boost your audio levels and produce a deep, rich bass sound.
READ MORE
Read more »

Wednesday, June 21, 2017

Dev Inside A Docker Container With SSHFS

Dev Inside A Docker Container With SSHFS


Many of you may have already discovered Docker, but have been put off using it due to the prospect of it killing your development cycle because you are rebuilding the container after every change.



We are going to address this by mounting the files directly within the container with SSHFS. This will allow us to make changes in our IDE or text editor, and see them take place immediately inside the container, removing the need to keep rebuilding.

Prerequisites

This tutorial assumes you already have a built container (or a way to build one) and a "project" consisting of a codebase, such as a website. It also assumes that your codebase is on a Linux host that you want to share from. I will be using an Ubuntu 14.04 container, but the theory should also apply to other Linux OS types.

If you are a Windows user, you could use Samba to sync to a linux host, and then use that one for this tutorial
    Start your container with the
    --privileged
    flag added to the
    run
    command. I dont know what options/switches you already have, but you just need to add this one to the list.
    Enter the running container. For this I use lxc-attach, but there is also a fantastic tool called docker-enter on github that you can use, which means you dont have to be running LXC for the container engine.
    Run
    apt-get install sshfs -y
    from inside the container.
    Create a folder where you wish to mount your codebase. This may want to replace any existing code that was imported into the container when it was built, in which case remove everything from inside that folder.
    Run the following command:
    sshfs -o allow_other $USER@$IP_OF_CODE_HOST:/full/path/to/codebase /path/to/mount
    The allow_other part is to allow other users within the container, such as www-data to be able to access the files
    Thats it! Any changes you make to your codebase are immediately changed in the docker container. This allows you to use docker as an easy/quick way to get a development environment up (like Vagrant)!
Read more »

Monday, June 19, 2017

Diodon 0 6 Available for Oneiric with Unity Lens and AppIndicator Support

Diodon 0 6 Available for Oneiric with Unity Lens and AppIndicator Support


Diodon is a clipboard manager for Linux, which now supports GTK+ 3 and integrates better into the Unity environment, as it comes with a handy Unity Lens and an AppIndicator as well. In this new version, all the settings have been moved from GConf to DConf. Diodon 0.6 also supports plugins now, and the said Unity Lens and AppIndicator come as such.


Continue Reading �
Read more »

Monday, June 12, 2017

Detect when a user stops typing with jQuery

Detect when a user stops typing with jQuery


When writing forms I frequently find I need to do some of my validation server side(for example checking if a username is already taken) but want to have a responsive real-time field validation displayed to the user. Obviously this effect can be achieved using AJAX but if you want to validate while the user is typing sending an AJAX request on every keypress is a very inefficient way of doing things. It seems to me that a "onInputFinished" event is needed so that you can detect and take action when a user stops typing in an input field.

I had a bit of a google around and couldnt find an elegant solution for it so I decided to roll my own using jQuery. This simple jQuery script allow you to add the "onfinishinput" attribute to HTML input fields in the same way you would use normal onclick and onkeyup events.

you can check out a working example here:

http://dl.dropbox.com/u/6217043/js-example/example.html

Using the Script:
After including the script on your page you can use the new event like this:

<input type="text" onfinishinput="alert(You typed + input_field.val())" />

NOTE: instead of using "this" when referring to the element use "input_field" like the example above.

Installing the Script:
The script can be downloaded from here:
http://dl.dropbox.com/u/6217043/js-example/onfinishinput.js

The script requires jQuery to function, the latest jQuery can be downloaded from here:
http://jquery.com/

Just include the scripts on your page and you are ready to go.
Read more »

Monday, June 5, 2017

Did you know that over filling your car with oil can cause it to blow the engine – no jokes!

Did you know that over filling your car with oil can cause it to blow the engine – no jokes!


A colleague has just had a horrible experience!  His car had just been in at a garage for a service and the oil had been replaced.  When he picked up the vehicle he noticed that the oil light was on and so he called the garage owner over and discussed the problem.  The garage owner decided that a top up of oil was required, so he called one of the mechanics to bring more oil.  Some oil was added but the light still didn�t go off.  By this stage, the oil dipstick read over the �full� mark and the garage owner told the mechanic to pour more in
The mechanic refused, saying that it was too full, but his boss was adamant that more oil was needed, so he ordered him to pour more.
The car was now full, the oil light was still on � but the light was explained away as �it needed to be reset, and he would do some research and call my colleague back.  But you can drive the car � no problem!�.
My colleague nervously agreed, but before leaving said something like: �(nervous agreement), I�ve had an engine blow on me before, so if anything happens, then it�s your responsibility to buy the spares and pay for the labour � everything!�

This was agreed, and he drove the car away with the oil light still burning brightly.

Needless to say, two days later, my colleague�s car�s engine seized and came to a grinding halt on the side of the road!

image   image

A few choice swear-words later.. he grabbed his cell phone and called the garage owner and explained the situation.  An obviously embarrassed garage owner apologised and made good his promise to fix the car.
He picked up the stranded family and is now ferrying them wherever they need to go: school, work, shopping, etc. until the car is fixed.

I would like to have seen that mechanic�s face when the car was towed back into the garage to be fixed!

Moral of the story: do NOT overfill the oil in your car � it could be very expensive!

Technical explanation:
From
http://wiki.answers.com/Q/What_happens_if_you_over_fill_engine_oil: �If you put too much oil in the engine, it raises the oil level high enough that the crankshaft touches it.  The crankshaft will whip the oil, aerating it.  This air in the oil will destroy your engine bearings.  The bearings have a very thin layer of oil on them which keep the bearing and whatever the bearing is against from locking up.  The air will remove the oil layer from the bearing and the bearing will then rub against whatever engine part it is used for.  The bearing will then be shredded and metal parts will go about destroying your engine.  Moral of the story, dont over fill your oil.
image




Read more »

Detect user touch with GestureDetectorCompat

Detect user touch with GestureDetectorCompat



Android example to Detect user touch with GestureDetectorCompat:


MainActivity.java
package com.blogspot.android_er.androidgesturedetector;

import android.os.Bundle;
import android.support.v4.view.GestureDetectorCompat;
import android.support.v7.app.AppCompatActivity;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

private GestureDetectorCompat gestureDetectorCompat;
TextView textInfo;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
textInfo = (TextView)findViewById(R.id.info);

gestureDetectorCompat = new GestureDetectorCompat(
this, new MySimpleOnGestureListener(textInfo));
}

@Override
public boolean onTouchEvent(MotionEvent event) {
gestureDetectorCompat.onTouchEvent(event);
return super.onTouchEvent(event);
}

private class MySimpleOnGestureListener
extends GestureDetector.SimpleOnGestureListener{

TextView textView;


public MySimpleOnGestureListener(TextView v) {
super();
textView = v;
}

@Override
public boolean onSingleTapUp(MotionEvent e) {
textView.append(" - onSingleTapUp -");
return super.onSingleTapUp(e);
}

@Override
public void onLongPress(MotionEvent e) {
textView.append(" - onLongPress -");
super.onLongPress(e);
}

@Override
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
textView.append(" - onScroll -");
return super.onScroll(e1, e2, distanceX, distanceY);
}

@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
textView.append(" - onFling -");
return super.onFling(e1, e2, velocityX, velocityY);
}

@Override
public void onShowPress(MotionEvent e) {
textView.append(" - onShowPress -");
super.onShowPress(e);
}

@Override
public boolean onDown(MotionEvent e) {
textView.append(" - onDown -");
return super.onDown(e);
}

@Override
public boolean onDoubleTap(MotionEvent e) {
textView.append(" - onDoubleTap -");
return super.onDoubleTap(e);
}

@Override
public boolean onDoubleTapEvent(MotionEvent e) {
textView.append(" - onDoubleTapEvent -");
return super.onDoubleTapEvent(e);
}

@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
textView.append(" - onSingleTapConfirmed -");
return super.onSingleTapConfirmed(e);
}

@Override
public boolean onContextClick(MotionEvent e) {
textView.append(" - onContextClick -");
return super.onContextClick(e);
}
}
}


activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout

android_layout_width="match_parent"
android_layout_height="match_parent"
android_padding="16dp"
android_orientation="vertical"
tools_context="com.blogspot.android_er.androidgesturedetector.MainActivity">

<TextView
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_layout_gravity="center_horizontal"
android_autoLink="web"
android_text="http://android-er.blogspot.com/"
android_textStyle="bold" />

<TextView
android_id="@+id/info"
android_layout_width="match_parent"
android_layout_height="match_parent"
android_gravity="bottom"
android_textStyle="italic" />
</LinearLayout>


Read more »

Saturday, June 3, 2017

Django with Python 3 and MySQL database

Django with Python 3 and MySQL database



I read many folks are having problems using MySQL db driver with Python 3, especially when setting up a Django app. The default Django 1.6.5 is only supporting the MySQLdb driver and that only works with Python 2.

I have been using mysql-connector-python package with Python 3 and it has built-in django support as well. I had ran into trouble like this http://bugs.mysql.com/bug.php?id=73232, but it is fixed now with the latest mysql-connector-python 1.2.3 release. The mysql-connector-python also works with Python 2.7 as well, and its a pure python library without native code, which makes the install much easier.

When installing mysql-connector-python, ensure you allow external hosted files like this

pip install --allow-all-external mysql-connector-python

If you are behind a firewall, use the proxy option

pip install --proxy my_proxy_server --allow-all-external mysql-connector-python

With these, now you can set your Django settings.py file with MySQL engine

DATABASES = {
    default: {
        ENGINE: mysql.connector.django,
        NAME: mydb,
        USER: myuser,
        PASSWORD: mypassword,
    }
}


PS: My initial testing with Django 1.7 also works pretty well with mysql-connector-python. How sweet!

UPDATE 07/15/2015:
The django 1.8 documentation now recommends using mysqlclient package if you want to use Python3 with MySQL backend. It should be a drop in replacement for MySQLdb.
Read more »

Saturday, May 20, 2017

Dj Tboy Feat Mr Snobs DozzyMan Am In Love With You Djtboy070 Prod by 3sdc

Dj Tboy Feat Mr Snobs DozzyMan Am In Love With You Djtboy070 Prod by 3sdc


After the release of Locally by Dj Tboy Here he has killed it again as he conjoined together with
Mr Snobz & DozzyMan and they titled it Am in love with you Have a feel of this hit and thank me later....!   DOWNLOAD AUDIO
Read more »

Friday, May 12, 2017

DINKER BACK WITH NEW DOMAIN!

DINKER BACK WITH NEW DOMAIN!


Back for some fun neebs. Bought a new domain so this cute blog can live long life. Now bookmark this page - www.dinker.net
Read more »

Thursday, May 11, 2017

Distributing application specific databases with Sparkl

Distributing application specific databases with Sparkl



The challenge


Did I say that Sparkl is amazing? Probably a few times :)

When were developing operational applications, utilities, even dashboards theres a common requirement that often comes into play - the ability to have a storage engine available.

Sparkl is itself a plugin that runs on the Pentaho BA server (Check this older blog post for the Sparkl fundamentals), and the BA server needs to be connected to a database, and is usually connected to several.

However, this poses a problem if were distributing our Sparkl app, as we would need to know in advance the configuration of the database so we can connect to it; On top of that, wed need to do the initialization of the database, create tables, etc.

Francesco Corti took a great approach to it on the AAAR plugin, a pentaho - alfresco integration, where he built a configuration screen to configure all the necessary dependencies

Embedding a database


But wouldnt it be cool if we could remove that dependency and somehow have a database that would just work (tm)?

Not only it would be cool, it actually works as a charm. We did that when we built the SDR sample form that was part of the Pentaho 5.2 release.

What we did was using the h2 database in embedded mode; Just by playing with the connection string, we can create a database on the fly thats persisted on a file. Obviously this is hardly something that should be used to store huge amounts of data. Im giving you the tool, use it wisely.

So, how does it work? The trick, like I mentioned, is on the connection string. All we need to do is to create a connection in PDI with the following connection string:

jdbc:h2:${cpk.solution.system.dir}/${cnp_db};DB_CLOSE_DELAY=-1;AUTO_SERVER=TRUE;INIT=RUNSCRIPT FROM ${cpk.plugin.dir}/resources/ddl/cnp_db.ddl

This uses some of the CPK magic variables; CPK, which stands for Community Plugk Kickstarter is the library that powers Sparkl. In runtime it passes some variables that give system environment information, which is going to be very useful for this connection. So using this connection string we can define a new database connection in spoon:

New connection in PDI


The available variables can be seen in the transformation properties of the Sparkl endpoints (when the UI is used to create them).

CPK Variables

In here you see the available variables. By default they are "commented" out (a sparkl convention) and to use them all you need to do is un-comment them. Their meaning is described in the description field. Obviously, the standard parameters can be used, and in here you see that I defined our database name as _cnp_db. Theres another sparkl convention here; this parameter, that holds the database name, starts with an underscore, which means that this parameter is internal only - cant be passed from the endpoint calls.

Initializing the database


Were building applications, utilities, tools; While its cool to have access to a database connection, its kinda pointless to have an empty database. Thats what the following instruction in the init connect string is for:

INIT=RUNSCRIPT FROM ${cpk.plugin.dir}/resources/ddl/cnp_db.ddl

I literally have in my sparkl app a cnp_db.ddl file with the initialization script to be run at startup. And its simply a set of create X if not exists instructions. My script currently reads:

create table if not exists notifications (
    id INT PRIMARY KEY AUTO_INCREMENT,
    eventtype VARCHAR(64) NOT NULL,
    author VARCHAR(1024) NOT NULL,
    rcpt VARCHAR,
    title VARCHAR(2048),
    message VARCHAR,
    style VARCHAR(64) NOT NULL,
    link VARCHAR
    );

You can complement this with whatever sql instruction that will make sure the system is properly initialized. 

Developing the KTR from within spoon

 

As you wont be surprised to hear, those variables are only populated when the transformation or job is executed from the BA server. Its CPK / Sparkl thats responsible for injecting them; spoon has no idea what cpk is. But we still need to develop and test the transformation in our environment.

So what well do is simply define in kettle.properties the values that would be replaced by cpk. Heres the snippet of my kettle.properties (Im working on a plugin called cnp, but more on that later)

cpk.plugin.id = cnp
cpk.plugin.dir = /home/pedro/tex/pentaho/project-sugar/solution/system/cnp
cpk.plugin.system.dir = /home/pedro/tex/pentaho/project-sugar/solution/system/cnp/system
cpk.solution.system.dir = /home/pedro/tex/pentaho/project-sugar/solution/system
cpk.webapp.dir = /home/pedro/tex/pentaho/target-dist/server/webapps/pentaho/
cpk.session.username = admin
cpk.session.roles = Administrator,Authenticated

Now we can work as we usually do, and the behaviour will be the same wither from within spoon or running from the server

Exploring the database contents


Not only for the development process but to do some extra debugging, we need access to the database contents. PDI offers some abilities to do database exploration but I dont think thats a replacement for a proper sql client.

But this is exactly why the flag AUTO_SERVER=TRUE is on the init string. This allows us to connect to the same database using other clients. Im a user of SQuirreL for a long time, and in order to use it all I needed to do was using the same connect string

Configuring SQuirreL to use our database

The only care we need is to make sure we use the expanded path, as squirrel has no idea what kettle variables are. So my connect string is:

jdbc:h2:file:/home/pedro/tex/pentaho/project-sugar/solution/system/.cnp_dbx;DB_CLOSE_DELAY=-1;AUTO_SERVER=TRUE;INIT=RUNSCRIPT FROM /home/pedro/tex/pentaho/project-sugar/solution/system/cnp/resources/ddl/cnp_db.ddl

This allows me to just use this database as if it was a regular server, from within spoon, the BA server or squirrel.

Putting it all together

 

In the end I was able to achieve what I wanted - a plugin that includes a storage layer and... just works.

Plugin using H2 embedded database


Cheers!


-pedro

Read more »

Wednesday, May 3, 2017

Diablo II with Expansion Pack Portable

Diablo II with Expansion Pack Portable


Features
Code:
*No install required! You just click and play!
*Both Diablo 2 & Lord of Destruction pre-installed.
*Latest nocd crack already applied.
*No CD changing or install problems.
*Tested and working without issues on both XP and Vista.
*Since nothing is added to the computer, there is no clutter.
*Easily portable on a USB drive.

Windows® 2000*, 95, 98, or NT 4.0 Service Pack 5
Pentium® 233 or equivalent
32 MB RAM
650 MB available hard drive space
4X CD-ROM drive
DirectX™ compatible video card


Download Jumbofile
http://adf.ly/8X9Ij
http://adf.ly/8X9Ik
Download Ifile.it
http://adf.ly/8X9Il
http://adf.ly/8X9Im

How to Download?

Click on the Download Link
Wait for five seconds and then click on Skip AD


Read more »

Monday, May 1, 2017

Develop games with children

Develop games with children



In this link you will find a training (in Italian language) to explain your child how to develop a Game with Kodu.

http://www.microsoftvirtualacademy.com/training-courses/sviluppare-giochi-con-bambini-e-ragazzi


Read more »

Disney Cuts Ties with YouTube Star PewDiePie Allegations of Anti Semitism

Disney Cuts Ties with YouTube Star PewDiePie Allegations of Anti Semitism



According to reports PewDiePie was dropped by Disney for referencing Nazis. Now there are rumors flying around the internet that PewDiePie is a Nazi. As you know he is one of the most popular Youtubers/Vloggers on the Youtube platform and is ultra rich so does he even need Disney? That is the question. So he decided to respond to the media who have followed the story very close. 


You know how the internet works right?


Disney are forgetting the origin of their company? Remember when Walt Disney the founder was in charge? It was Nazi references 24/7 so what is the big deal?


And so PewDiePie most recently changed his Youtube channel to a picture of Donald Duck.


Remember when Donald Duck was a Nazi?
Read more »

Friday, April 28, 2017

Disenfranchised with College

Disenfranchised with College


As I continue on in my quest for a four-year college degree I grow and more and more sarcastic about the quality of knowledge transmitted in this quest. Most of the work I do for my classes is busy work, and I feel that at the end of each semester the only thing that grades next to the course numbers on my transcript prove is that I can sit down and do a tons of pointless busy work for a sustained amount of time.

It seems hard to imagine that a rational person would be able to effectively argue the value of the information I am being made to learn to earn my degree. It really isnt even so much the facts in the knowledge that the class is suppose to teach, but the value of how that knowledge is taught. Most classes work like this. Heres some busy work. Thumb through the text book to find the line that has the answer for each question. Turn it in. Heres what will be on the test. Put your short-term memory to the test and then take an exam. Rinse and repeat the formula a few times each semester and you have what passes for a college class.

Lets compare this to what I do in my spare time. Once I was interested in tying some web pages on my website into a MySQL database. I asked someone who knew some PHP and he showed me a piece of paper with some examples. I used that to start and then used the help on mysql.com and after a few hours of fooling around I had it all working. This is real-world learning that has a practical application to my professional career. MySQL + PHP is not used in my job, but the ability to take a problem and solve it in a few hours is very relevant to my job, and probably to most any professional career. These kind of real-world skills seem to be the antithesis of the college experience as far as I have seen.

When I sit down to do my homework I really feel like I am just wasting my time. The only thing that really keeps me going is the ever nearing ability to put on my resume that I have a four-year degree in Information Technology.
Read more »

Monday, April 17, 2017

Digital Wallet of Citibank Now Works with App Online and NFC

Digital Wallet of Citibank Now Works with App Online and NFC


The Digital Wallet of Citibank Now Works with App, Online and NFC. This option made possible after Citi Bank make partership with MasterCard for their Digital Payment Services "MasterPass". Now users of Citibank can add their transactions through Online, in App. Source: Engadget
The Digital Wallet of Citibank Now Works with App, Online and NFC. This option made possible after Citi Bank make partnership with MasterCard for their Digital Payment Services "MasterPass". Now users of Citibank can add their transactions through Online, in App.

Source: Engadget
Read more »