Web Niraj
  • Facebook
  • Flickr
  • Github
  • Linkedin
  • Twitter
  • YouTube
Online portfolio, code examples and developer blog
  • About
  • Contact
  • Portfolio
  • WordPress
Search the site...
  • Home
  • Blog (Page 3)

Blog

Laravel 5.2: More SSH / SFTP Commands

1

I recently found that the SSH library from LaravelCollective uses was quite limited in what it allowed. However, by accessing the underlying libraries, you can extend the functionality available to interact further with SSH / SFTP servers.

Read More

Laravel 5, PHP, SFTP, SSH

AWS EC2: Updating Security Groups using the AWS Command Line Tool

2

Working with multiple clients with their own AWS setups and security groups makes it difficult to work remotely sometimes. For instance, updating the many security groups with my current (dynamic) IP address so I can SSH into the server. Luckily, I’ve created a script for that.

Read More

Amazon Web Services, EC2, Security

Laravel 5.2: Trim All Input using Middleware

0

Laravel 5.2 is already good at sanitizing input data received from GET and POST data, but it doesn’t remove excessive spacing at the beginning or end of the data. Luckily, this is easy to achieve using Custom Middleware.

Read More

Input Sanitization, Laravel 5, Laravel 5.2, PHP

Replicating a Remote MySQL Database to Local Environment / Server

2

Ever needed to copy a remote database into a local environment to run tests on? This tutorial includes a bash command line script you can use to easily replicate a remote MySQL database to another environment.

Read More

Backup, Bash, Command Line, MySQL

Laravel 5.2: Running SSH / SFTP Commands In Your Scripts

1

Recently, I had to create a Laravel Artisan script that would log into a SFTP server, check if a certain file exists, and then upload / override the file. To achieve this, I used the SSH library from LaravelCollective. This tutorial covers how to log into a remote server using SSH / SFTP and upload or download files.

Read More

Laravel 5, PHP, SFTP, SSH

JavaScript: Using Moment.js to Display Dates & Times in User’s Timezone

4

This tutorial shows how you can use Moment.js in your website or application to display dates and times in the user’s local timezone. It’s easy to use and makes working with dates and times much easier in JavaScript.

Read More

JavaScript, Moment.js, Time Manipulation

Cordova: Changing the Default Debug Keystore for Android Applications

0

I’ve already covered release signing Android application in Cordova in a previous article, but sometimes you want to do the same for debug builds. By default, Cordova uses it’s own debug keystore, but it’s easy to customise your project to use a keystore of your choice when creating debug builds.

Read More

Android, Code Signing, Cordova, Debug, Google Play Store, Security

Creating / Editing a PDF Using PHP

34

In a recent project, I was asked to create a dynamically generated PDF with the user’s information. In my research, I found that using FPDF was the best the best way to achieve the client’s requirements. Here is a quick tutorial on how you can use a existing PDF with dynamic content using only PHP.

Read More

Composer, PDF, PHP, Tutorial

Facebook API: Getting Your Additional Permissions Approved

2

If your Facebook App requests additional permissions from users, they first need to be reviewed and approved by Facebook. Here are some tips on getting through Facebook’s review process as quickly as possible.

Read More

Facebook, Facebook Graph API, Review, Tips and Tricks

Cordova: Release Signing Android Applications

2

If you’re using Cordova 5.x+, it’s easy to configure it to also build signed release builds of your Android application. Providing you’re already created a keystore using the keytool, this tutorial will have you building release builds in minutes.

Read More

Android, Code Signing, Cordova, Google Play Store, Security
‹12345›»

StackExchange / StackOverflow

profile for Niraj Shah on Stack Exchange, a network of free, community-driven Q&A sites

PSN Profile

Tags

Amazon Web Services Android Android 4.4 KitKat Android 5.0 Lollipop Apache API Application Backup Bug Command Line Cordova Example Facebook Facebook Graph API Facebook PHP SDK 4.0 Facebook Social Plugins Fan Page Flash Geolocation Google Nexus 5 Google Nexus One Hacking HTML5 Image Manipulation iOS iPhone JavaScript jQuery Laravel 5 Linux NodeJS Parse PDF PHP Plugin Portfolio Review Security Server SSH SSL Sysadmin Tutorial WordPress WordPress Plugins
© 2011-2022 Niraj Shah
  • Blog
  • Portfolio
  • WordPress
  • About Me
  • Contact Me
  • Privacy Policy
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Privacy Policy