Category: By Sayed Ahmed

Stuff created by Sayed Ahmed, founder of this blog and training site

Nov 06

Use AWS-CLI to Move Files between instances

You need to install AWS-CLI http://docs.aws.amazon.com/cli/latest/userguide/installing.html Sure, I did in multiple platforms. This will work in Ubuntu Linux sudo pip install awscli aws configure —

Nov 05

AWS Misc Stuff

To install more software in Amazon Linux Instance After you create an instance based on Amazon Linux, you can use the Linux commands as provided in the URL to install more tools for your development. Actually, the commands are for Fedora Linux http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html The steps work like charm. One note though, when installing pecl to …

Continue reading

Nov 04

On Data Transfer: AWS to Local to AWS. Between EC2 Instances

Sure, used some of the approaches Share Data among Multiple EC2 instances https://objectivefs.com/howto/how-to-share-files-between-ec2-instances scp and rsync commands also works for transferring files across EC2 instances AWS Import/Export Snowball https://aws.amazon.com/importexport/ Related: Managing AWS, Sure, Used this. http://www.skeddly.com/ https://app.skeddly.com/Credentials/Create?type=amazon-iam-role Related to Setting up an NFS server for Sharing Files across EC2 instances sudo apt-get update && sudo …

Continue reading

Nov 03

EC2 : AWS : Misc

Install Git: EC2 with Amazon Linux sudo yum install git Change Folder Owner sudo chown -R apache:apache folder If Ubuntu in EC2 Instance, Install Git sudo apt-get install git

Nov 03

Mount EBS Volumes using Ubuntu Command: AWS stuff

Tried as follows and worked >> sudo fdisk -l Disk /dev/xvdb: …. Then format >> sudo mkfs -t ext4 /dev/xvdf Create mount dir >>mkdir /mnt you can mount now >>sudo mount /dev/xvdb /mnt Check if it has been mounted correctly with: >>mount -l /dev/xvdb on /mnt type ext4 (rw) mount automatically – this will be …

Continue reading

Nov 03

Linux Commands Used: AWS or not

Remove MySQL Completely: sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.5 mysql-client-core-5.5 sudo rm -rf /etc/mysql /var/lib/mysql sudo apt-get autoremove sudo apt-get autoclean Did not try but might work as well [ sudo apt-get remove –purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo rm -rf /var/lib/mysql sudo rm -rf /etc/mysql ] See HDD …

Continue reading

Oct 30

CS Cart Upgrade to the Latest version

How To: Upgrade Your Store with Store Import http://docs.cs-cart.com/4.3.x/upgrade/importing_a_store.html About Store Import http://docs.cs-cart.com/4.3.x/upgrade/about_store_import.html How To: Upgrade CS-Cart via the Upgrade Center http://docs.cs-cart.com/4.3.x/upgrade/upgrade_process.html

Oct 20

On NodeJS, RestAPI Design, AngularJS, Testing Frameworks, Continuous Delivery, and Similar

What is Asynchronous Programming http://www.sohamkamani.com/blog/2016/03/14/wrapping-your-head-around-async-programming RestFul API Design http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#requirements https://www.w3.org/TR/cors/ https://tools.ietf.org/html/rfc5988#page-6 https://phraseapp.com/blog/posts/best-practice-10-design-tips-for-apis/ Test Driven Development https://en.wikipedia.org/wiki/Test-driven_development MochaJS : Node Js Testing Framework https://mochajs.org/ https://www.distelli.com/docs/tutorials/automated-mocha-tests-for-node https://github.com/azat-co/practicalnode/blob/master/ch3/test-example/test2.js Debugging NodeJS applications https://spin.atomicobject.com/2015/09/25/debug-node-js/ https://spin.atomicobject.com/2015/09/25/debug-node-js/ Promises Concepts in NodeJS https://www.promisejs.org/ https://howtonode.org/promises https://www.npmjs.com/package/jade Maven https://maven.apache.org/ NodeJS and SQL Server http://www.c-sharpcorner.com/UploadFile/d158ca/node-js-and-angular-js-with-sql-server-database Node JS Interview Questions https://www.toptal.com/nodejs/interview-questions http://www.codingdefined.com/2014/07/10-interview-questions-on-nodejs.html https://github.com/MaximAbramchuck/awesome-interview-questions Top Node.js Interview Questions …

Continue reading

Oct 16

Misc. on AWS, Linux, Git, SSH, Development Platform

Restart MySQL server on MacOS Restart, Start, Stop MySQL from the Command Line macOS, OSX, Linux Ubuntu: http://askubuntu.com/questions/82374/how-do-i-start-stop-mysql-server Macos: sudo apachectl start Redhat: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Managing_Confined_Services/chap-Managing_Confined_Services-MySQL.html SSH, Secure copy (SCP), Sync (rsync) with Amazon AWS (Sure I did work with and used the following concepts) Sure, did configure development and deployment platform on AWS This works: ssh …

Continue reading

Oct 13

Miscellaneous Training Videos : How to Videos

Oct 13

Miscellaneous Resources on Software/Web/Mobile/Database development and DevOps

Miscellaneous Resources on Software/Web/Mobile/Database development and DevOps. I might have read them, or stumbled upon on them or used the concepts at work Freelancing vs. Full-Time – Which is Better?: http://anthonysdesk.com/freelancing-vs-fulltime/ Technical Analysis: Fundamental Vs. Technical Analysis: http://www.investopedia.com/university/technical/techanalysis2.asp REST Security Cheat Sheet: https://www.owasp.org/index.php/REST_Security_Cheat_Sheet LINQ Basics of LINQ & Lamda Expressions: http://www.codeproject.com/Articles/33769/Basics-of-LINQ-Lamda-Expressions Lambda Expressions (C# Programming …

Continue reading

Oct 10

On Amazon AWS Cost and Cost Optimization

On Amazon AWS Cost and Cost Optimization am I understanding aws pricing correctly aws_after one year anyone_use aws for personal stuff traffic cost are a huge rip off How much does Quora pay for hosting to Amazon your gold dollars at work aws average monthly cost for an app of 100k users

Oct 09

Miscellaneous Useful Amazon AWS Resources

The Case for Using AWS for Development Environments: http://blog.rackspace.com/the-case-for-using-aws-for-development-environments How do you handle Dev/Staging/Production Environments?: https://www.reddit.com/r/aws/comments/2rmt83/how_do_you_handle_devstagingproduction/ Creating Test Environments On Amazon EC2: http://datasift.github.io/storyplayer/v1/environments/ec2.html Development and Test on Amazon Web Services: https://media.amazonwebservices.com/AWS_Development_Test_Environments.pdf Launch Your Instance: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/LaunchingAndUsingInstances.html What is difference between Amazon EC2 and S3? https://www.quora.com/What-is-difference-between-Amazon-EC2-and-S3 Launching an Instance Using an Existing Instance as a Template: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/launch-more-like-this.html …

Continue reading

Oct 09

Youtube Partnership Programs

Some Youtube Partnership Programs – might help to boost your video revenue (but research a lot before you join) I came across the following reviews – not that I am saying the information as provided are reliable VspGroup: http://partnersyoutube.com/vsp-group/ AirGroup: http://partnersyoutube.com/air-group/ Creative Nation: http://partnersyoutube.com/creative-nation/ QuizGroup: http://partnersyoutube.com/quiz-group/ A review of many different Networks: http://sugikingdom.com/which-youtube-network-should-i-join/  

Oct 09

On Amazon Web Services (AWS)

Amazon EC2: Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html?icmpid=docs_ec2_console Amazon EC2, ECS: EC2 Container Service Amazon ECS makes it easy to deploy, manage, and …

Continue reading

Oct 01

Resources on Software/Web/Mobile/Database Development

On Data Integrity and Persistence: https://code.tutsplus.com/tutorials/evolving-toward-a-persistence-layer–net-27138 https://www.fsl.cs.sunysb.edu/docs/integrity-storagess05/integrity.html http://www.artima.com/weblogs/viewpost.jsp?thread=269155 http://programmers.stackexchange.com/questions/327880/should-data-access-layer-mirror-my-database-configuration/327896 http://www.ambysoft.com/essays/persistenceLayer.html http://stackoverflow.com/questions/16016023/what-is-the-use-of-persistence-layer-in-any-application http://stackoverflow.com/questions/7474267/mvc3-and-entity-framework/7474357#7474357 https://wiki.haskell.org/Web/Databases_and_Persistence   On Investing: https://www.franklintempleton.ca/en-ca/public/campaigns/templeton-global-balanced-fund.page?utm_campaign=ca-tgbal-16&utm_source=bing&utm_medium=cpc&utm_term=canada%20best%20one%20fund%20etf&utm_content=10445411359   Misc: Code Change, Documentation, Freelancing https://www.devart.com/codecompare/download.html http://www.mkdocs.org https://chocolatey.org/install https://blog.zintro.com/2014/11/20/50-project-management-tools-freelance-consultants/   DevOps https://confluence.atlassian.com/doc/develop-technical-documentation-in-confluence-226166494.html https://aws.amazon.com/getting-started/tutorials/launch-a-wordpress-website/ https://aws.amazon.com/getting-started/tutorials/ https://aws.amazon.com/directconnect/ Estimating Costs for WordPress at Amazon AWS Which is less expensive: Amazon or self-hosted? http://programmers.stackexchange.com/questions/104096/which-platform-to-choose-java-or-net https://aws.amazon.com/documentation/vpc/   Misc Frontend http://stackoverflow.com/questions/31349765/react-js-and-php-together https://github.com/jnicol/tweet-php   …

Continue reading

Sep 26

ReactJS Stuff

Why ReactJS? 6 Reasons We Love It https://www.syncano.io/blog/reactjs-reasons-why-part-1/   Combining ReactJS and AngularJS https://blog.logentries.com/2016/02/combining-angularjs-and-reactjs-for-better-applications/   Stop Using Everything for ReactJS View story at Medium.com React.js Best Practices for 2016 https://blog.risingstack.com/react-js-best-practices-for-2016/ ReactJS for Stupid People http://blog.andrewray.me/reactjs-for-stupid-people/ Why React over AngularJS https://www.quora.com/Why-would-I-use-React-over-AngularJS Why React https://facebook.github.io/react/docs/why-react.html Crockford on JavaScript Learn Raw Raect Learn Raw React — no JSX, …

Continue reading

Sep 26

Key concepts for system design

Sep 26

How to design a system : System design concepts

Sep 25

One Fund Approach of Investing

Just checked on: One Fund Approach of Investing One fund: one ETF that has a mix of bonds, stocks, real estate trusts, commodities, and alternative investments under it. Stocks under them are usually globally diversified. Many such one funds use some other ETFs inside them, one for each aspect of the investment (such as one US ETF …

Continue reading

Sep 24

Random Reading on Finance: One fund/ETF solution for investment

Random Reading on Finance: One fund/ETF solution for investment   http://www.theglobeandmail.com/globe-investor/investment-ideas/all-in-one-the-portfolio-in-a-box/article14849079/https://www.bogleheads.org/forum/viewtopic.php?t=68545https://investor.vanguard.com/529-plan/age-based-optionshttps://investor.vanguard.com/mutual-funds/lifestrategy/#/http://www.marketwatch.com/story/the-one-fund-lazy-retirement-income-portfolio-2015-04-28https://www.blackrock.com/ca/individual/en/products/239447/ishares-balanced-growth-coreportfoliotm-fundhttps://www.blackrock.com/ca/individual/en/products/239562/ishares-growth-core-portfolio-builder-fund

Sep 22

Online Resources Checked or Stumbled upon – recently or near past

Java Design Patterns https://www.tutorialspoint.com/design_pattern/design_pattern_tutorial.pdf   Best IDEs for NodeJS Top 10 IDEs for Developing Node.js Apps A skeleton application example with NodeJS/Express/MongoDB for CRUD https://www.airpair.com/javascript/complete-expressjs-nodejs-mongodb-crud-skeleton   Mongoose for MongoDB https://www.npmjs.com/package/mongoose   JSX in Depth https://facebook.github.io/react/docs/jsx-in-depth.html   PJAX https://github.com/defunkt/jquery-pjax/tree/heroku   Fundamental concepts of Ruby on Rails http://stackoverflow.com/questions/5205002/summary-of-ruby-on-rails-fundamental-concepts   Security and Linkedin Imposter http://www.bbc.com/news/technology-34994858   Confessions of …

Continue reading

Sep 22

Laravel concepts and interview questions and answers

Laravel concepts and interview questions and answers

Sep 22

(No Sound) Laravel concepts and interview questions and answers Reddit Questions

Sep 22

PHP 7 new features

Sep 22

PHP 7 new features and changes with examples

Sep 22

NodeJS buffer stream file operations global objects

Sep 22

NodeJS NPM

Sep 22

NodeJS callback and event loop

Sep 22

NodeJS Overview – 1

Skip to toolbar