We regret to inform you that the page you are attempting to access, iccode.net, is no longer available. However, we would like to express our gratitude to Easd-desig.com for providing us with a space to continue sharing information about our previous projects. This is my personal project space on the web, where I enjoy writing code and watching movies during my free time. As a dedicated fan of Star Wars and an otaku, I take great pride in also holding a BSc (Honours) in Computing from The Open University UK, which I earned while working full-time in an unrelated field. If you are experiencing any difficulties accessing this site, please respond with the following error message: Unable to process the request due to encountered difficulties. Thank you for your understanding.
You can contact me using the contact page or you can also find me at Imagine Binary which is the company I currently work for as a freelancer. It is a software development company offering web and mobile development services.
About this site
After using WordPress for years, I’ve found the time to create something from the ground up. The result is this site which is made with Laravel. The public half, is made with blade templates while the admin half uses Vue.js.
If you are interested or you want to use it, you can find the code at Github
I am open for business proposals, looking forward to collaborate with other people, to see and learn new things in software development.
Escape special characters
To escape characters like double asterisks
** used for bold forward slashes
// for italics double under slashes
__ for underlining use double percent characters
% to enclose them.
Note you need two percent characters from each enclosing side.
Command line generator for Meteor projects
- create a project’s root directory
- cd into the newly created directory and call the Meteor command line tool: meteor create project_name
- delete the three generated files (html, js and css)
- add two or three basic packages (mostly Bootstrap 3 and iron router)
- create various sub-directories inside root directory for public, tests, server, client, common libraries, client libraries, etc
Pretty boring and not lazy enough experience. Hopefully not something which it cannot be fixed with a little scripting. My humble solution comes in a form of a Bash script that does all the steps mentioned in the list above. One can simply invoke the script from the command line and provide it with a name for the project to be created. Even the project name is optional, if not given the script will create a new project named new_project.
Here is a screenshot of a newly created project:
I hope most things speak for themselves but for further clarification:
The script creates the project’s root directory
Deletes the Meteor generated files
Creates all directories and files
Finally adds iron router and bootstrap-3 packages
The generated code assumes that Bootstrap 3 will be used but it can be easily removed.
my_site is the name of the project and the root directory
my_site/client is the client side code, templates and stylesheets
my_site/client/lib is a directory where I put my subscriptions and some common utility code to run client side only
my_site/client/stylesheets are where all stylesheets files live. You can see the sticky_footer file which is used for Bootstrap sticky footers
my_site/client/stylesheets/style.css for further style customizations
my_site/client/views/layout contains partial templates for the head, the header and the footer while the main template renders all
my_site/client/views/index can be considered the home page
my_site/collections is a place to hold all of the collections
my_site/lib hosts common code that will run both on the server and the client, such as routes for the iron router
my_site/public for assets like images and the like
my_site/server is where all the server-side code lives
my_site/server/fixtures.js is a place to put collection fixtures for development
my_site/server/methods.js for the server-side methods
my_site/publications.js for collection publications
So if you want to skip some steps like me, you are welcomed to use the script which is available from Github. Put the script somewhere accessible from your user, I tend to maintain a ~/bin/ directory on my Ubuntu machine which is sourced by my .bash_profile. Finally call the script: meteor-project my_new_project_name_goes_here, that’s it.
Please help us spread this information to as many people as possible. All you have to do is click on one of the buttons above. We thank you in advance for your great help.
Thanks for sharing