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

Cordova: Deleting a File using the File Plugin

0

The Apache Cordova documentation is rather good, but occasionally you encounter information that is either out-of-date or missing entirely. One such instance is the ability to delete a file when using the File plugin – the documentation for this function is missing, so to help others, I’ve included some sample code to achieve this.

Read More

Cordova, JavaScript, Tutorial

Migrating from MacBook (Thunderbolt 2) to MacBook 2016/17 (USB-C)

0

This week, I bought myself a brand new 2017 15″ MacBook Pro, upgrading from an early 2013 15″ MacBook Pro (with Retina). I was able to migrate all my data in a matter of hours, and this is the process I followed (using Thunderbolt 2 to USB-C).

Read More

Apple, MacBook Pro, Migration

Cheat Sheet: Git Commands

0

Master the Git commands using this useful Cheat Sheet. Printable PDF version included, covering everything from creating a repo to make changes, and working with branches.

Read More

Cheat Sheet, Git, PDF

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
«‹23456›»

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 cPanel / WHM 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