In previous post we tried to create module, component and routing. Lets look into how to add third party libraries.
You could check out the code from here. git checkout -b part3.0 origin/part3.0
In Angular4 adding third party libraries is pretty easy. Install using npm and add the module. Its one of my most loved feature in Angular4.
PrimeNG PrimeNG is one of the most used and most popular Angular4 library. It consists lot of components and its easy to setup and use. Besides it does have a good team working behind this library. In my experience it's one of the fast developing library.
To install PrimeNg run
npm install primeng --save npm install font-awesome --save
PrimeNg needs font awesome for icons . Unlike any other libraries , PrimeNG had separate module for each component, which helps to include only selected component in the bundle.
Lets include styles for the components. In .angular-cli.json add
As i told earlier am trying to switch to Flex , i am trying to learn connection between PHP and Flex. When searched i got a excellent tutorial . But the problem is that it uses PostgreSQL. As i don't have any prior experience in PostgreSQL i try to install it in my Windows 7 and configure it in WAMP . I got different errors and spend almost two days in searching and using different methods . Atlast i got it right. I will try to figure out the steps i have done.
Am using PostgreSQL 9.1WAMP Server 2.0e phpPgAdmin 5.0.2
WAMP consists 1. Apache Version :2.2.17
2. PHP Version :5.3.5
3. MySQL Version :5.5.8
First install PostgreSQL , no need to install additional plugins like phpPgAdmin.
Install WAMP server where ever you need.
Download PhpPgAdmin and unzip it to WWW folder in WAMP installation.
At this point if you try to access the http://localhost/phpPgAdmin/ you may get this error.
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgs…
It's my first blog post in year 2018 and it's a new technology.
So it's crypto currency time. Wherever we look it's bitcoin and altcoins. After some thought i decided to try the blockchain. Just like any other technologies i used in the past, i decided to go for something small and easy one. Mining.
Before understanding anything about blockchain, i tried mining. Yes I know it's not profitable one. but decided to go for it just to have some beginning. Mining
So everywhere i looked for mining, it's always high-end GPU/ASIC. I don't have a decent CPU with me. And it says CPU mining is not profitable. Okay. I agree. And i still went for CPU mining. Just because i would like to start taste the bitcoin.
So we need some wallet for keeping my precious currency. Am from India and i found ZepPay . It's a mobile based online wallet. Oh, so there is online and offline wallet. Do i need to go for offline wallet which is more secure? What i am go…
I don't know. Anyway i would like to share a small tip i came across when i am working with Android.
Android.. hmmm ... Sorry i just started to learn Android.
Like all other thing am experimenting with Android. First i just added 4 AVD and tried to make Fifth one and got an error. I just looked my partioion and found that C drive is almost full..
It's because the Android AVD is created normally in C:\Users\UserName\.android\avd and i am just giving every AVD a 5GB SDCARD also. What else ? :P
I searched google and found and solution . I just copied the .avd folder from C:\Users\UserName\.android\avd and just pasted it to another drive. And i also edited the configuration file of each AVD. Got the idea ? no?
Okay i have a AVD named "gingerbreadWVGA" . I would have a "gingerbreadWVGA.avd" and "gingerbreadWVGA" configuration file on "C:\Users\UserName\.android\avd\". I just cut and paste the &quo…
For the last one week am searching for uploading video to Facebook using Graph Api from Flash. First challenge is to find something which will help to capture video from webcamera and convert it to ByteArray.
The problem is Actionscript doesn't had any utlity to save video from webcamera. It uses Flash media server to save video. But i need something which not uses any server side acript.
After searching several hours in google i found a link. http://www.zeropointnine.com/blog/updated-flv-encoder-alchem/
In this utility it uses snapshots from the webcamera which will encode it . Though it had some drawbacks and limitations, it serves my requirement for small videos. I used it for creating videos.
Next i need to upload video to facebook. This is the api used to connect facebook using Actionscript.