Showing posts with label Open Source. Show all posts
Showing posts with label Open Source. Show all posts

Thursday, December 3, 2015

NangAntapTu v0.1.3 released -free-



===============================
NEW RELEASE: NangAntapTu v0.1.3
===============================
http://www.amazon.com/cygnosis-NangAntapTu/dp/B016U0K6Z2/

or grab it from my personal mobile app store :

http://goo.gl/WYr40w

or you can scan this QR Code to easily access mobile apps store from your smartphone:



Changelog: 

-fresh new interface
-easy navigation
-improve performance

Screenshots: 

Jengking Merah Buku 13 Episod 51-54 saya tengah translate. Sebahagian hasil terjemahan korang boleh tengok kat screenshots ni. Saya release hanya dalam app NangAntapTu. Layan.




Thursday, January 22, 2015

Nucleus: New PS3 Emulator

Afer rpcs3 which now able to boot first coomercial game, now we have another newcomer in PS3 scene called Nucleus.



This project focuses on PlayStation 3 emulation. Please, understand that I'm not interested on providing support, releases, or attention to any comments, issues or pull requests for now.

Limitations:

Memory: Nucleus emulates the PS3 user-mode environment, which uses 32-bit addresses. This reflects on the CPU / Memory related code, and could cause issues if you use it for other platforms, or for designing a low-level PS3 emulator.
Portability: Nucleus assumes that the host system runs on a low endian CPU, with 64-bit addresses.

Nucleus Git Changelog:

* Reorganizing detected platforms/compilers
* Added LLVM dependency and a new language

Download: http://down.emucr.com/v3/5651876045389824
Source: https://github.com/AlexAltea/nucleus

Sunday, January 18, 2015

BleachBit (Cruft Cleaner) - a CCleaner for Ubuntu

Windows users will be familiar with applications like CCleaner, which scan for and clean out junk files, empty folders, bloated caches, and obsolete packages. For a a similarly quick and effortless click n’ clean solution on Ubuntu try BleachBit.



It is a powerful tool, so do pay attention to what you’re cleaning. Don’t aimlessly check every box; not everything that it can clean needs to be. Play it smart; when in doubt, leave it out.

Install now: https://apps.ubuntu.com/cat/applications/bleachbit/

Monday, December 15, 2014

Tips Install Java on Ubuntu using Apt-Get command

1)Installing default JRE/JDK

This is the recommended and easiest option. This will install OpenJDK 6 on Ubuntu 12.04 and earlier and on 12.10+ it will install OpenJDK 7.

Installing Java with apt-get is easy. First, update the package index:

sudo apt-get update

Then, check if Java is not already installed:

java -version

If it returns "The program java can be found in the following packages", Java hasn't been installed yet, so execute the following command:

sudo apt-get install default-jre

This will install the Java Runtime Environment (JRE). If you instead need the Java Development Kit (JDK), which is usually needed to compile Java applications (for example Apache Ant, Apache Maven, Eclipse and IntelliJ IDEA execute the following command:

sudo apt-get install default-jdk

That is everything that is needed to install Java.

2)Setting the "JAVA_HOME" environment variable

To set the JAVA_HOME environment variable, which is needed for some programs, first find out the path of your Java installation:

sudo update-alternatives --config java

usually the path should be in /usr/lib/jvm/

Copy the path from your preferred installation and then edit the file /etc/environment:

sudo nano /etc/environment

In this file, add the following line (replacing YOUR_PATH by the just copied path):

JAVA_HOME="YOUR_PATH"

That should be enough to set the environment variable. Now reload this file:

source /etc/environment

Test it by executing:

echo $JAVA_HOME

Thursday, December 11, 2014

Testing Firefox OS Simulator

Firefox OS, also known as Boot to Gecko is a Linux kernel-based open-source operating system for smartphones and tablet computers and is set to be used on smart TVs. It is being developed by Mozilla, the non-profit organization best known for the Firefox web browser.



Firefox OS is designed to provide a complete community-based alternative system for mobile devices, using open standards and approaches such as HTML5 applications, JavaScript, a robust privilege model, open web APIs to communicate directly with cellphone hardware, and application marketplace. As such, it competes with commercially developed operating systems such as Apple's iOS, Google's Android, Microsoft's Windows Phone and Jolla's Sailfish OS as well as other community-based open source systems such as Ubuntu Touch.

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone. After installing it, go to Web Developer > Firefox OS Simulator to access its features. From your Firefox Browser, go here to install the addon:

https://addons.mozilla.org/en-us/firefox/addon/firefox-os-simulator/

Here is my video of using the Firefox OS Simulator:



Website: https://www.mozilla.org/en-US/firefox/os/

Friday, December 5, 2014

Using sencha build in Jetty Webserver

Usually sencha developer will use xampp for local server. But, sencha also had built in server for that purpose. It did had a build in Jetty web server to ease the application developmnent.

To start the http file server, just run this command inside your app path:

sencha web start

Then you can open the app in the browser from this address: http://localhost:1841

To stop the server, hit ctrl+C or just run this command:

sencha web stop

That is all. Happy coding.

Friday, November 28, 2014

Console2: Awesome Windows Command Prompt replacement

Console2 is opensource, meaning that as long any developer around the world can work on it and it will never dead for a long time.

Download Console2 at http://sourceforge.net/projects/console/files/ and put it in c:\dev\utils and configure that location in the PATH.

Now I had the files extracted as in my PATH C:\dev\utils\Console2. A lot of features in console2 such as tabs, copy on select etc.

Configure it as you like or you all can follow the references setting in the link below.

Reference: http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx

Wednesday, November 19, 2014

Netbeans IDE With Sencha Touch

1) Requirements:

i) Download the Netbeans IDE (I use the latest version 8):
https://netbeans.org/

ii) Download the latest Sencha plugin from here:
https://bitbucket.org/addicticks/nbplugin-senchacmd/downloads

iii) Download the Sencha Touch library from here(I use latest touch-2.4.1, rename it as touch):
http://www.sencha.com/

2) Create new project

Choose New>Java Web>Web Application. Press the Next button. Name the app “SenchaApp”. Choose the project location. Press the Next button.

Select Tomcat as the servers and click the Finish button.

3) Prepare Sencha App Structure

i) Inside web folder, create the app folder, views folder, models folder, controllers folder in NetBeans to add your javascript files into.

ii) Add previously download "touch" folder into web folder.

4) Add sencha library

i) Right click on the SenchaApp application and select Properties from the drop down menu

ii) Under the Libraries menu, choose “Add Libraries” and from the window that opens click “Create…”

iii) Name the Library “Sencha_Touch” and choose “Class Library” from the drop down.

iv) Under the “Classpath” tab, click on “Add JAR/Folder” and select the “touch” folder previously downloaded.

v) Click “OK” and choose the newly created “Sencha_Touch” library.

create an app.js file in the app folder. Type Ext followed by a “.” — If the steps above were followed correctly, the code completion should work.

5) Code/create your sencha touch application

6) Run Application

Hit Run.

Your application should start in the default browser with the url : localhost:8084/SenchaApp/

Reference: http://techtalktone.wordpress.com/2012/02/22/using-netbeans-ide-with-sencha-touch/

Monday, November 17, 2014

High CPU activity problem: Stop and disable AVGIDSagent service


AVG user mostly will experience CPU High activity. Computer become slow and hardly to use. This is because of AVGIDSagent service using a lot of the computer resources. Blame AVG for that.
To solve that problem, follow this guide:

1) At tray, Temporary disabled AVG protection.
2) Open Windows Services
3) Open AVGIDSagent service. Stopped the service by changed its status from “Automatic” to “Disabled”
4) Enable AVG protection again.

Everythng is back on high speed as normal.

Reference:
http://www.thefreewindows.com/16279/stop-disable-avgidsagent-service-reduce-cpu-activity/

7zip command to batch zip all folders and unzip all zip files

7zip is very usefull to do batch jobs through command line. I usually use these command and create a batch file for easy use later. Just simply put the command in text file and rename .txt as .bat.

This is command for batch unzip all zip files into each respective folders name:

@echo off
for /F "delims=" %%I IN (' dir /b /s /a-d *.zip ') DO (
    "c:\Program Files\7-Zip\7z.exe" x -y -o"%%~dpI\%%~nI" "%%I"
)
pause

This is command for batch zip all folders into each respective zips name:

for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\"

Wednesday, November 12, 2014

Fix samsung error: E:failed to mount / efs (Invalid argument)

I got a Samsung Galaxy Note 8 GT-N5100 with error E:failed to mount / efs (Invalid argument) whenever I run a wipe cache or wipe factory in recovery. I did stuck in a samsung logo. This looping is a common nightmare for a Samsung devices.

There is a fix for this error. Follow this steps:

Ready a ROM(I use Pac Man ROM) in your microSD and insert into device.

1) Download and flash official firmware for your phone using Odin.
2) Root and flash custom recovery(I use TWRP) using Odin
3) Install ADB on your computer(Usually by installing Samsung USB driver)
4) Boot into recovery mode(hold up+power button)
5) Connect phone to PC via USB Cable
6) In recovery mode Choose “mount and storage > mount /system”(In TWRP, just tick the 'system')
7) At PC, open ADB command window and type :

adb shell
su
dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img
mke2fs /dev/block/mmcblk0p3
mkdir /efs
mount -t ext4 /dev/block/mmcblk0p3 /efs

DON'T REBOOT YET, Now /efs is mounted don't unmount it.

Do a factory reset

Install your new rom, It should install without any errors

Boot your phone,  After it boots your signal notification most likely will be gray and internet or calls may not work. To fix just install gapps and it will be fixed.

If you don't have phone, try this:

Go back into recovery and get adb access. Then run this command:


sumke2fs /dev/block/mmcblk0p3mkdir /efsmount -t ext4 /dev/block/mmcblk0p3 /efsdd if=/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096reboot

This command will create a generic EFS files on your device.
Now normally your device will reboot and it should pass Samsung logo.
Your device might display a screen with a yellow text (FactoryMode)

If your device display a annoying transparency black background which contains some info about your device (PDA, Phone, CSC, H/W, Camera, …) in yellow text … and lock screen is not working, mean that your device is in factory mode.

“Factory Mode” is enabled if the EFS partition is corrupted because of installing custom ROMs, bad Mods or downgrading your current system version or after you succeeded in fixing the EFS partition.

Follow this step to exit FactoryMode:

1) Install root browser
2) Go to Local > / Device > efs > FactoryApp and open factorymode as text in “ES Note Editor”
3) Change it from OFF to ON and save it
4) Open keystr as text in “ES Note Editor”, change it from OFF to ON and save it
5) Reboot

Alternative solution by using Terminal Emulator.
1) Install “Terminal Emulator“
2) Type :

su
rm /efs/FactoryApp/keystr
rm /efs/FactoryApp/factorymode
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot


References:
http://forum.xda-developers.com/showthread.php?t=2430202
http://zidroid.com/how-to-fix-failed-to-mount-efs-for-galaxy-s3-gt-i9300/
http://zidroid.com/how-to-exit-factory-mode-for-samsung-galaxy-devices/
http://www.digitalreborn.com/fix-samsung-galaxy-unable-mount-efs/

Friday, November 7, 2014

Unhide hidden folders and files after infected by virus

There is occasional problem occurs when you plug in your USB Thumbdrive to somebody laptop or PC and then suddenly your files and folders was infected and hidden while being replace by nasty shorcuts.

First important steps is to install antivirus and virus definition updated, then scan whole infected computer. In this case, I always use AVG Free.

Then use ccleaner to clean up all the mess in the computer.

After that, we need to fix the hidden files and folders problem. This is the command line to fix the problem:

attrib -H -S G:\*.* /S /D

G: is my USB Pendrive path. Use yours.

cygnosis

Wednesday, November 5, 2014

Installing Wget on Windows

Wget is a linux downloading tools. Not all know that it also available on Windows.

Download wget installer for windows here

Setup path at Environment Variables to installation location.

usage: wget <url>

References: http://gnuwin32.sourceforge.net/packages/wget.htm

Monday, November 3, 2014

Running telegram CLI on Debian based Linux

Telegram already become my ultimate messenger applications. It is multiplatform. Based on cloud computing, no worries to transfer to other devices. It is all synchronize. Attachment like emails support. I love it. What's more it did support CLI.

git clone https://github.com/vysheng/tg.git && cd tg
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev
./configure
make
bin/telegram-cli -k tg-server.pub

usage:
msg contact_name text

quit

Monday, October 27, 2014

1st Prize 6th Sarawak Open Source Competition 2013 conducted by Sarawak Information Systems Sdn Bhd



An Offline Email Implementation Based on Delay Tolerant Network (DTN) which represent UNIMAS, win 1st Prize 6th Sarawak Open Source Competition 2013 conducted by Sarawak Information Systems Sdn Bhd. Award given on 21 October 2014 at Imperial Hotel Kuching during Sarawak Information Systems Sdn Bhd (Sains)’s Corporate Social Responsibility (CSR) cum Media Night with the Chief Minister.

Reference:

Saturday, October 25, 2014

Finally! I manage to upgrade my current Ubuntu to latest Ubuntu 14.10

Very frustrated at first...finally manage to do it correctly. This is the step I do.

Do run all this command in order.

1. PREPARATION

sudo apt-get clean

or,

sudo apt-get autoclean

sudo apt-get -f install

sudo dpkg --configure -a

sudo apt-get -f install
If the output is:

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

That means it failed.

Next solution is to run:

sudo apt-get -u dist-upgrade

sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade

All ok if output:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

1. UPGRADE/INSTALLATION

sudo apt-get update && sudo apt-get dist-upgrade

sudo do-release-upgrade

References:
[1] http://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa
[2] http://www.unixmen.com/upgrade-ubuntu-14-04-trusty-ubuntu-14-10-utopic/