A thought just occurred to me, how am I going to describe the next game I create?
One requirement would have to be that the description entices visitors to download the game and try it..
So, I could try to be original, which I usually do try to do.. Or, a new strategy occurred to me: be original within the bounds of what people already know about.
Here's a few descriptions for new games off the top of my head:
- Bomberman, without the bombs.
- Flappy Bird, but you're a fish, and underwater, avoiding nasty underwater cactus.
- Flappy Bird + Bomberman = Try to blow up pixel birds.
- Pong, but one player and no computer opponent.
- Side-scrolling shooter
Maybe these aren't the most creative ideas, but they can work. For more creativity, assumption reversal usually works better. Post coming soon. ;)
~ Danial Goodwin ~
2014-02-16
2014-02-15
Level Up - Webmaster: How To Shorten Default MediaWiki URL to Short (Canonical) URL Form
This was my first time shortening the URL for MediaWiki to canonical form and it literally took me less than five minutes to fully complete and test. I bet you can do it in two minutes.
Quick and easy directions:
1. Go to MediaWiki ShortURL Builder (Your wiki will have to be temporarily public)
2. Type in your current URL, for me it was " http://danialgoodwin.com/mediawiki/w/"
3. When you click "Go", make sure the article path says "/wiki/$1" or wherever you would like your MediaWiki to appear to users.
4. You now have all the code at your fingertips to place on your server. I used a GUI FTP client (like FileZilla) to transfer the new data because that was the quickest for me.
The Code:
If your configuration is the exact same as mine, then you can use these following sections of code to enable the shortcodes.
At the root of your domain, in the .htaccess file (make it if you don't have it), include (I added the "REGION" comments just for readability and future maintenance):
In your MediaWiki's LocalSettings.php file, insert the following lines (preferably right under "$wgScriptPath" and "$wgScriptExtension" just to keep things organized):
Note: With this method, you don't even need a /wiki/ directory to make it appear that all the files are there. You should use this method so that when you make changes to the backend, the frontend will still be the same for users, search engines, and SEO. It also makes URLs easier to remember and more.
More detailed information: Manual:Short_URL
~ Danial Goodwin ~
Quick and easy directions:
1. Go to MediaWiki ShortURL Builder (Your wiki will have to be temporarily public)
2. Type in your current URL, for me it was " http://danialgoodwin.com/mediawiki/w/"
3. When you click "Go", make sure the article path says "/wiki/$1" or wherever you would like your MediaWiki to appear to users.
4. You now have all the code at your fingertips to place on your server. I used a GUI FTP client (like FileZilla) to transfer the new data because that was the quickest for me.
The Code:
If your configuration is the exact same as mine, then you can use these following sections of code to enable the shortcodes.
At the root of your domain, in the .htaccess file (make it if you don't have it), include (I added the "REGION" comments just for readability and future maintenance):
# REGION Redirects for MediaWiki Short Canonical URLs
RewriteEngine OnRewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/mediawiki/w/index.php [L]RewriteRule ^/?$ %{DOCUMENT_ROOT}/mediawiki/w/index.php [L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-fRewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-dRewriteRule ^/?mediawiki/w/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/mediawiki/w/thumb.php?f=$1&width=$2 [L,QSA,B]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-fRewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-dRewriteRule ^/?mediawiki/w/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/mediawiki/w/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B]
# ENDREGION Redirects for MediaWiki Short Canonical URLs
In your MediaWiki's LocalSettings.php file, insert the following lines (preferably right under "$wgScriptPath" and "$wgScriptExtension" just to keep things organized):
## Added for short URLs.$wgArticlePath = "/wiki/$1";$wgUsePathInfo = true;
## Added for short URLs because .htaccess on root includes 404 thumbnail handler config.$wgGenerateThumbnailOnParse = false;
Note: With this method, you don't even need a /wiki/ directory to make it appear that all the files are there. You should use this method so that when you make changes to the backend, the frontend will still be the same for users, search engines, and SEO. It also makes URLs easier to remember and more.
More detailed information: Manual:Short_URL
~ Danial Goodwin ~
2014-02-14
Level Up - Webmaster: Transfer MediaWiki Instance To Another Domain or Server
I just completed the process for the first time, so it is fresh on my mind. Provided here is an easy summary of the exact links and steps that I needed. I went from MediaWiki version 1.20 to 1.22.2.
MediaWiki recommends only transferring files/database between same versions. So, these steps will also quickly include updating the "old" wiki first before installing a new instance on the new domain.
This information is for small, non-customized wikis. For more important data, you should probably read Manual:Upgrading.
Upgrade to newest stable release (optional)
0. Check requirements by reading the release notes
1. Backup files and database. The different ways include SSH, FTP, and via phpMyAdmin. More info
2. Upgrade files. Latest version. One idea is to upload these new files in a different directory, then change the names of the two directories so that the new one starts serving the files.
2.1. Added back LocalSettings.php, Images folder, and custom extensions.
3. Upgrade database. For the web method, navigate to "/mw-config/index.php". Some requirement checks will be performed during the setup wizard process.
4. Test if successful.
Create MediaWiki instance in the new server/domain
0. Backup files and database if you haven't already done so in the first section.
1. Create new instance of MediaWiki on new domain.
2. Import old settings and files from old domain, and change link locations as appropriate.
3. Test.
More detailed info: Manual:Moving a wiki
~ Danial Goodwin ~
MediaWiki recommends only transferring files/database between same versions. So, these steps will also quickly include updating the "old" wiki first before installing a new instance on the new domain.
This information is for small, non-customized wikis. For more important data, you should probably read Manual:Upgrading.
Upgrade to newest stable release (optional)
0. Check requirements by reading the release notes
1. Backup files and database. The different ways include SSH, FTP, and via phpMyAdmin. More info
2. Upgrade files. Latest version. One idea is to upload these new files in a different directory, then change the names of the two directories so that the new one starts serving the files.
2.1. Added back LocalSettings.php, Images folder, and custom extensions.
3. Upgrade database. For the web method, navigate to "/mw-config/index.php". Some requirement checks will be performed during the setup wizard process.
4. Test if successful.
Create MediaWiki instance in the new server/domain
0. Backup files and database if you haven't already done so in the first section.
1. Create new instance of MediaWiki on new domain.
2. Import old settings and files from old domain, and change link locations as appropriate.
3. Test.
More detailed info: Manual:Moving a wiki
~ Danial Goodwin ~
2014-02-13
Published New App: Flappy Fishes
(YAFBC = Yet Another Flappy Bird Clone)
I really wasn't going to make a copy, but then I did.
Available for:
- Windows 8
- Windows Phone
- HTML5 (slightly older version)
~ Danial Goodwin ~
I really wasn't going to make a copy, but then I did.
Available for:
- Windows 8
- Windows Phone
- HTML5 (slightly older version)
~ Danial Goodwin ~
2014-02-09
Level Up - Webmaster: Setting Up Your First Laravel Website Or App
(For webmasters, a continuation on my last post Level Up - Webmaster: Installing Laravel and Composer on Bluehost.)
This walkthrough contains all the instructions I would have needed on one page, rather than looking through twenty different pages. This is a blunt how-to for connecting to a database with Laravel and displaying information. At the end are links for more specific and advanced info.
The following has explicit instructions and commands for a shared hosting provider like Bluehost, but the instructions should be the roughly the same for other providers and setups. I suggest to follow the steps explicitly the first time through, then run through it a second time with your specific project's names.
0. This simple "tutorial" assumes that you already know a little bit about Laravel and have possibly read my first install and setup walkthrough.
Setup the database:
1. Create a database on your server with a user and password.
2. From your root project folder, edit app/config/database.php to match your new database credentials.
3. In your root project directory, run php-cli artisan migrate:make create_users_table
8. Create two new views in app/views. Call the first one layout.blade.php and add this code:
@yield('content')
Create the second view, called users.blade.php:
@extends('layout')
@section('content')
@foreach($users as $user)
{{ $user->name }}
@endforeach
@stop
9. Go to your doman.com/users and you should have all the user names from the database displayed on the page.
This walkthrough contains all the instructions I would have needed on one page, rather than looking through twenty different pages. This is a blunt how-to for connecting to a database with Laravel and displaying information. At the end are links for more specific and advanced info.
The following has explicit instructions and commands for a shared hosting provider like Bluehost, but the instructions should be the roughly the same for other providers and setups. I suggest to follow the steps explicitly the first time through, then run through it a second time with your specific project's names.
0. This simple "tutorial" assumes that you already know a little bit about Laravel and have possibly read my first install and setup walkthrough.
Setup the database:
1. Create a database on your server with a user and password.
2. From your root project folder, edit app/config/database.php to match your new database credentials.
3. In your root project directory, run php-cli artisan migrate:make create_users_table
4. You should now have the file that looks something like: app/database/migrations/2014_02_09_195357_create_users_table.php. Edit the up() and down() function to look like:
public function up()
{
Schema::create('users', function($table)
{
$table->increments('id');
$table->string('email')->unique();
$table->string('name');
$table->timestamps();
});
}
public function down()
{
Schema::drop('users');
}
5. Now, back in the project root dir, run: php-cli artisan migrate
6. At this time, your tables in the database will be automatically created. Add some data manually so that we can test that retrieving data works.
Create a view:
7. Create a route (subdirectory pointer) in app/routes.php by adding the following code:
Route::get('users', function()
{
$users = User::all();
return View::make('users')->with('users', $users);
});
Laravel Quickstart
@yield('content')
Create the second view, called users.blade.php:
@extends('layout')
@section('content')
@foreach($users as $user)
{{ $user->name }}
@endforeach
@stop
9. Go to your doman.com/users and you should have all the user names from the database displayed on the page.
Note:
- If the php-cli command doesn't work for you, then try just php
More info:
More info:
2014-02-08
Level Up - Webmaster: Installing Laravel and Composer on Bluehost
These steps will get you though getting Laravel up and running on your Bluehost server, though these instructions should be a good enough how-to for other shared hosting providers as well.
This was my first time experiencing (and hearing of) Laravel and Composer and had to look at many websites to figure this information out. Below is a walkthrough of all the steps I would have needed in one location. For more advanced and specific informations, I provide links at the end. But, the steps shown should be enough to get going quickly from scratch.
1. SSH into your server at ~/bin/
2. Ensure that you have PHP 5.3.7+ on your server. Composer requires 5.3.2+ and Laravel requires PHP 5.3.7+. You can check with which php and which php-cli
3. Install Composer: Run the command curl -s http://getcomposer.org/installer | php
Note: Step 5 may take a minute or two, there are many dependencies that have to also be installed for Laravel.
Extra steps
6. Look at this file for project-specific adjustable values: app/config/app.php and bootstrap/paths.php
7. See my next post for more walkthrough
More info:
- Laravel installation instructions
- Laravel configuration instructions
- Then, the Quickstart
Error: "warning: composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI"
Fix: Use the command php-cli instead of php.
~ Danial Goodwin ~
This was my first time experiencing (and hearing of) Laravel and Composer and had to look at many websites to figure this information out. Below is a walkthrough of all the steps I would have needed in one location. For more advanced and specific informations, I provide links at the end. But, the steps shown should be enough to get going quickly from scratch.
1. SSH into your server at ~/bin/
2. Ensure that you have PHP 5.3.7+ on your server. Composer requires 5.3.2+ and Laravel requires PHP 5.3.7+. You can check with which php and which php-cli
3. Install Composer: Run the command curl -s http://getcomposer.org/installer | php
4. Test that the installation worked by running php-cli composer.phar
5. Install Laravel: Run the command php-cli composer.phar create-project laravel/laravel --prefer-distNote: Step 5 may take a minute or two, there are many dependencies that have to also be installed for Laravel.
Extra steps
6. Look at this file for project-specific adjustable values: app/config/app.php and bootstrap/paths.php
7. See my next post for more walkthrough
More info:
- Laravel installation instructions
- Laravel configuration instructions
- Then, the Quickstart
Error: "warning: composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI"
Fix: Use the command php-cli instead of php.
~ Danial Goodwin ~
2014-02-07
Level Up - Windows 8: How to Copy/Move Files From Many Subfolders To Just One Folder
Long Title: How to Transfer Files From Many Subfolders To Just One Folder and Rename Them All Easily and Quickly.
Example: I had about 100 images that were all neatly organized into 100 different subfolders. I wanted to put them in just five different subfolder as painless as possible. Manually moving each image one-by-one was not ideal, so here's what I did, using the Windows Command Prompt and a Batch file:
1. Create a BAT file.
2. Add the following code:
FOR /L %%i IN (0,1,19) DO (
copy %cd%\ic_launcher(%%i)\res\drawable-mdpi\ic_launcher.png %cd%\_mdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-hdpi\ic_launcher.png %cd%\_hdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xhdpi\ic_launcher.png %cd%\_xhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxhdpi\ic_launcher.png %cd%\_xxhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxxhdpi\ic_launcher.png %cd%\_xxxhdpi\data_cycle_%%i.png
)
3. Run the BAT by double-clicking the file (or right-click->Open) (or run via command prompt).
Note:
- The parenthesis after "DO" must go on the same line. Putting it on the next line will cause the file to not work properly.
- If you want to move files rather than copy, then change "copy" to "move".
- If you want to keep the same file names, then you don't have to specify the file name on the second parameter.
Now in a simpler English, what this batch file does:
- There are five "copy" commands with a source and destination.
- These commands are each ran 20 times because of the "FOR" command.
- The "FOR" line says do the following commands within the parentheses 20 times. The first time will have the variable "%%i" equal to 0. The second run will have "%%i" equal to 1. The variable will keep incrementing until "%%i" is equal to 19. This behavior is defined at "%%i IN (0,1,19)", where 0 is the starting number, 19 is the ending number, and 1 is the increment number (which could also be negative).
For more information about for-loops, then type "for /?" into the command prompt.
Here's some more commands that you can try: Windows Command Prompt Cheat Sheet
~ Danial Goodwin ~
Example: I had about 100 images that were all neatly organized into 100 different subfolders. I wanted to put them in just five different subfolder as painless as possible. Manually moving each image one-by-one was not ideal, so here's what I did, using the Windows Command Prompt and a Batch file:
1. Create a BAT file.
2. Add the following code:
FOR /L %%i IN (0,1,19) DO (
copy %cd%\ic_launcher(%%i)\res\drawable-mdpi\ic_launcher.png %cd%\_mdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-hdpi\ic_launcher.png %cd%\_hdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xhdpi\ic_launcher.png %cd%\_xhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxhdpi\ic_launcher.png %cd%\_xxhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxxhdpi\ic_launcher.png %cd%\_xxxhdpi\data_cycle_%%i.png
)
3. Run the BAT by double-clicking the file (or right-click->Open) (or run via command prompt).
Note:
- The parenthesis after "DO" must go on the same line. Putting it on the next line will cause the file to not work properly.
- If you want to move files rather than copy, then change "copy" to "move".
- If you want to keep the same file names, then you don't have to specify the file name on the second parameter.
Now in a simpler English, what this batch file does:
- There are five "copy" commands with a source and destination.
- These commands are each ran 20 times because of the "FOR" command.
- The "FOR" line says do the following commands within the parentheses 20 times. The first time will have the variable "%%i" equal to 0. The second run will have "%%i" equal to 1. The variable will keep incrementing until "%%i" is equal to 19. This behavior is defined at "%%i IN (0,1,19)", where 0 is the starting number, 19 is the ending number, and 1 is the increment number (which could also be negative).
For more information about for-loops, then type "for /?" into the command prompt.
Here's some more commands that you can try: Windows Command Prompt Cheat Sheet
~ Danial Goodwin ~
2014-02-02
Level Up - Windows 8: How to Create a Batch File
Batch (*.bat) files are useful because they allow you to save and reuse commands for the command prompt (or CLI, command-line interface). Also, it is easier to send multiple commands at once, fix typos, and edit the commands.
Batch files are available for Windows 7, 8, and 8.1. Any command that you can put in the CLI, you should be able to put into the BAT file.
Method 1:
- Right-click on your desktop (or in File Explorer), and select New->Text Document. Now, rename the file to something ending with .bat.
Method 2:
- Open Notepad, then when you save the file, make sure to end it with ".bat".
Test the Batch file:
Now that you have the BAT file, you can easily test that it works by putting in the following code, then double-click to run the file.
Here's some more things you can try out: Windows Command Prompt Cheat Sheet
Note: If method 1 didn't work for you, then try method 2.
~ Danial Goodwin ~
Batch files are available for Windows 7, 8, and 8.1. Any command that you can put in the CLI, you should be able to put into the BAT file.
Method 1:
- Right-click on your desktop (or in File Explorer), and select New->Text Document. Now, rename the file to something ending with .bat.
Method 2:
- Open Notepad, then when you save the file, make sure to end it with ".bat".
![]() |
| Saving a Batch file requires a .bat ending. |
Now that you have the BAT file, you can easily test that it works by putting in the following code, then double-click to run the file.
echo Hello, World!
Here's some more things you can try out: Windows Command Prompt Cheat Sheet
Note: If method 1 didn't work for you, then try method 2.
~ Danial Goodwin ~
2014-02-01
Level Up - WP Dev: How to Remove Debug Information From Windows Phone Emulator
(This post is for developers of the Windows Phone platform.)
Ever find the frame rate counters and other debug information on the Windows Phone emulator more annoying than useful? It always appears there, whether in debug mode or release mode.
What if you want to get a clean screenshot without having to edit the image later? The red and white performance information on the side of the emulator screen is a nice feature, but I haven't needed to use it much in my recent apps.
It's possible. And, you only have to change one word.
How To:
1. Open App.xaml.cs.
2. Find the line that says `Application.Current.Host.Settings.EnableFrameRateCounter = true;`.
3. Change `true` to `false`.
That's it!
Now, you can get the full/real experience that end users would get when using your app, emulator style.
Feel free to share this with other WP devs that you know.
Source: http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg588380(v=vs.105).aspx
~ Danial Goodwin ~
Ever find the frame rate counters and other debug information on the Windows Phone emulator more annoying than useful? It always appears there, whether in debug mode or release mode.
What if you want to get a clean screenshot without having to edit the image later? The red and white performance information on the side of the emulator screen is a nice feature, but I haven't needed to use it much in my recent apps.
It's possible. And, you only have to change one word.
How To:
1. Open App.xaml.cs.
2. Find the line that says `Application.Current.Host.Settings.EnableFrameRateCounter = true;`.
3. Change `true` to `false`.
That's it!
Now, you can get the full/real experience that end users would get when using your app, emulator style.
Feel free to share this with other WP devs that you know.
![]() |
| By default, the emulator has debug information on it. |
Source: http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg588380(v=vs.105).aspx
~ Danial Goodwin ~
2014-01-31
Structure Allows Spontaneity and Creativity
Having structure in your life allows you to worry less about the menial aspects of daily tasks. For example, you don't have to spend time thinking when you are going to do something if you already have a specific time for it. By not wasting any precious brain power on the menial tasks, it opens up space and time to use the brain for higher functionality.
My Two Cents.
~ Danial Goodwin ~
ps - Originally not planned for this post, a great example of this concept being put into practice will come from Google. They do all the menial tasks for their employees, including food, laundry, baby sitting, gym, transportation, and more. This may seem like it costs a lot to have, but if you consider the well-being of the employees (less sick days) and while at work employees can put their full minds onto the work, rather than having any nagging sensation, like what/where to eat, how the kids are doing, or even transportation worries (Google shuttles/buses).
My Two Cents.
~ Danial Goodwin ~
ps - Originally not planned for this post, a great example of this concept being put into practice will come from Google. They do all the menial tasks for their employees, including food, laundry, baby sitting, gym, transportation, and more. This may seem like it costs a lot to have, but if you consider the well-being of the employees (less sick days) and while at work employees can put their full minds onto the work, rather than having any nagging sensation, like what/where to eat, how the kids are doing, or even transportation worries (Google shuttles/buses).
2014-01-30
Knowledge Really Is Power
It's been happening quite a bit recently.
Ever get the feeling that everything you're doing seems really easy or smooth? That's knowledge at work. It allows the completion of many tasks to become easier. The more knowledge you have, the more tasks that are available.
Originally, when I first thought of this post idea, the above was pretty much all that I wanted to write about. But, now I'm seeing another side to this story...
Maybe, when one has reached the point of everything being easy, it means that the person isn't being challenged anymore, thus isn't growing or learning... So, it might be time for a change.
Because, after all knowledge really is power. ;)
~ Danial Goodwin ~
Ever get the feeling that everything you're doing seems really easy or smooth? That's knowledge at work. It allows the completion of many tasks to become easier. The more knowledge you have, the more tasks that are available.
Originally, when I first thought of this post idea, the above was pretty much all that I wanted to write about. But, now I'm seeing another side to this story...
Maybe, when one has reached the point of everything being easy, it means that the person isn't being challenged anymore, thus isn't growing or learning... So, it might be time for a change.
Because, after all knowledge really is power. ;)
![]() |
| Random image by Schoolhouse Rocks! |
~ Danial Goodwin ~
2014-01-29
Level Up - Android: How To Connected a Full-Sized Keyboard to Android Device?
In this post, I will walk you through connecting a computer keyboard to an Android phone or tablet, via WiFi (or USB cable).
Estimated time of completion: About five to ten minutes the first time, and less than minute after your first run through.
Why is this useful?
There are many great apps on smartphones, but some people find it much more comfortable to use a full-sized keyboard for typing, especially for long periods of time. After going through this post, you will be able to use your computer keyboard like an advanced user:
1. For text messages (SMS), WhatsApp, and any other app with an input field.
2. You will be able to copy&paste text.
3. Speeddial. You can set the function keys on keyboard to open any app on the phone.
and more..
You will need:
- A Telnet program, like PuTTY
- A app on your device, called "Remote Keyboard" created by Onyxbits.
- A WiFi connection
Step 1: Download app to your Android device
1.1. Link: https://play.google.com/store/apps/details?id=de.onyxbits.remotekeyboard
1.2. When you open the app, it should look something like the following. Note the host address on there, it will be different for you.
1.3. Click the "Select Keyboard" button on the Action Bar, at the top of the screen and choose "Remote Keyboard"
Step 2: Download PuTTY to your computer
2.1. Link: http://www.putty.org/
2.2. When you open PuTTY, change your configurations in three different places: Host, Port, and Connection type. You will get the port number and host address from the Remote Keyboard app. The connection type should be set to Telnet.
2.3. Click Open.
Step 3: Connect to device via Telnet on the computer
3.1. You should now see a window that looks like the following. And, you when you type into this window, key presses will go straight to your device rather than showing up on this window. Just click on any input field on Android to have the key presses sent there.
Notes:
- For step 3, if you only see a blank screen, then wait a little longer for the connection. Then, possibly try sending a few keystrokes into the window and the Enter key.
- Windows does have a Telnet client, but I didn't get it to work. Using PuTTY was much simpler.
- Telnet connections are not secure. Each input is sent unencrypted.
- To connect more securely over USB, here are some instructions.
~ Danial Goodwin ~
Estimated time of completion: About five to ten minutes the first time, and less than minute after your first run through.
Why is this useful?
There are many great apps on smartphones, but some people find it much more comfortable to use a full-sized keyboard for typing, especially for long periods of time. After going through this post, you will be able to use your computer keyboard like an advanced user:
1. For text messages (SMS), WhatsApp, and any other app with an input field.
2. You will be able to copy&paste text.
3. Speeddial. You can set the function keys on keyboard to open any app on the phone.
and more..
You will need:
- A Telnet program, like PuTTY
- A app on your device, called "Remote Keyboard" created by Onyxbits.
- A WiFi connection
Step 1: Download app to your Android device
1.1. Link: https://play.google.com/store/apps/details?id=de.onyxbits.remotekeyboard
1.2. When you open the app, it should look something like the following. Note the host address on there, it will be different for you.
1.3. Click the "Select Keyboard" button on the Action Bar, at the top of the screen and choose "Remote Keyboard"
![]() |
| Remote Keyboard, Android app |
Step 2: Download PuTTY to your computer
2.1. Link: http://www.putty.org/
2.2. When you open PuTTY, change your configurations in three different places: Host, Port, and Connection type. You will get the port number and host address from the Remote Keyboard app. The connection type should be set to Telnet.
2.3. Click Open.
![]() |
| How to set up a Telnet connection |
Step 3: Connect to device via Telnet on the computer
3.1. You should now see a window that looks like the following. And, you when you type into this window, key presses will go straight to your device rather than showing up on this window. Just click on any input field on Android to have the key presses sent there.
![]() |
| A Telnet connection to an Android smartphone. |
Notes:
- For step 3, if you only see a blank screen, then wait a little longer for the connection. Then, possibly try sending a few keystrokes into the window and the Enter key.
- Windows does have a Telnet client, but I didn't get it to work. Using PuTTY was much simpler.
- Telnet connections are not secure. Each input is sent unencrypted.
- To connect more securely over USB, here are some instructions.
~ Danial Goodwin ~
2014-01-28
Level Up - Paint.NET: How To Create Sprite Sheet From Layers In Paint.NET
Need an easy way to create sprite sheets in Paint.NET? Don't want to create a new file for every image of your animation? Want to experiment with cool new plugins to make your graphic design skills better?
All you need is one plugin combine all your layers into an evenly-spaced sprite sheet.
Difficulty: Easy
Estimated time of completion: Less than five minutes.
Step 1: Download this plugin for Paint.NET: Spritesheet Export Plugin
Step 2: Make sure that Paint.NET isn't running, then copy the "SpriteSheet.dll" file into your Paint.NET installation folder, i.e. Program Files/Paint.NET/FileTypes/ subfolder.
Step 3: Now, when you open Paint.NET, you should have the extra ability to save as SpriteSheet (*.ss.png)
And, if you would like to do the opposite - Spritesheet to images, then check out Sprite Animation Helper Plugin
~ Danial Goodwin ~
All you need is one plugin combine all your layers into an evenly-spaced sprite sheet.
Difficulty: Easy
Estimated time of completion: Less than five minutes.
Step 1: Download this plugin for Paint.NET: Spritesheet Export Plugin
Step 2: Make sure that Paint.NET isn't running, then copy the "SpriteSheet.dll" file into your Paint.NET installation folder, i.e. Program Files/Paint.NET/FileTypes/ subfolder.
Step 3: Now, when you open Paint.NET, you should have the extra ability to save as SpriteSheet (*.ss.png)
And, if you would like to do the opposite - Spritesheet to images, then check out Sprite Animation Helper Plugin
~ Danial Goodwin ~
2014-01-24
The Progression of Learning How To Write Code
Quote:
"The ugliest code I ever saw was the junk I wrote two months ago. The greatest code I ever saw is the stuff I'm writing today. This statement will still be true two months from now."
Unfortunately, I haven't been able to find a good source to reference this quote to.
~ Danial Goodwin ~
"The ugliest code I ever saw was the junk I wrote two months ago. The greatest code I ever saw is the stuff I'm writing today. This statement will still be true two months from now."
Unfortunately, I haven't been able to find a good source to reference this quote to.
~ Danial Goodwin ~
2014-01-22
Construct 2 Bug Export To Windows 8: Too many characters in description.
Here's the full error message in Visual Studio:
"The 'Description' attribute is invalid - The value '' is invalid according to its datatype 'http://WPTokens:ST_String' - The actual length is greater than the MaxLength value"
Basically, this error says that your description is too long.
Through trial and error, I've found out that the max allowable length of the Windows 8 app description in WMAppManifest.xml is 256 characters. So, in order to fix this problem, all you have to do open "WMAppManifest.xml", which can be found in the Properties folder of your app's project. Then, edit your description so that it is not as long. I used Notepad++ to count the number of characters in the description.
I spent a few minutes looking for the official documentation for this file, but didn't find it. I found many official resources for Windows 8 that was close, but weren't for the exact file WMAppManifest.xml. Here's one of the links that is something that I'm looking for <link>.
If you know where the official page for this documentation of max length of 256 characters for the description, then please let me know. This bug still hasn't been reported to the developers of Construct 2 yet, because I think there will be other areas around this spot that also has bugs, and I would like to report them all in one go. This will make things much easier for the developer also. And, it's always good to source fixes.
~ Danial Goodwin ~
"The 'Description' attribute is invalid - The value '
Basically, this error says that your description is too long.
Through trial and error, I've found out that the max allowable length of the Windows 8 app description in WMAppManifest.xml is 256 characters. So, in order to fix this problem, all you have to do open "WMAppManifest.xml", which can be found in the Properties folder of your app's project. Then, edit your description so that it is not as long. I used Notepad++ to count the number of characters in the description.
I spent a few minutes looking for the official documentation for this file, but didn't find it. I found many official resources for Windows 8 that was close, but weren't for the exact file WMAppManifest.xml. Here's one of the links that is something that I'm looking for <link>.
If you know where the official page for this documentation of max length of 256 characters for the description, then please let me know. This bug still hasn't been reported to the developers of Construct 2 yet, because I think there will be other areas around this spot that also has bugs, and I would like to report them all in one go. This will make things much easier for the developer also. And, it's always good to source fixes.
![]() |
| A picture of the error message. |
~ Danial Goodwin ~
Subscribe to:
Posts (Atom)






