Monday , 1 June 2020
Home > Whendy


Whendy Blog mengumpulkan beberapa Tutorial Website, PHP, AngularJS, JQuery, Laravel, Codeigniter dan lain-lain. ( jika sempat ) :)

How to automatically execute shell script at startup boot on systemd Linux ( Laravel php artisan queue: work )


The following config will discuss a basic example on how to execute shell script during a boot time on systemd Linux. There maybe various reason why you might want to execute shell script during Linux startup like for example to start a particular custom service, check disk space, create a backup etc. The following example below will serve as a ...

Read More »

Laravel Syntax error or access violation: 1071


Trying to migrate in Laravel. When run “$ php artisan migrate” get this error : [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes or Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes or PDOException::("SQLSTATE[42000]: Syntax error or access violation: ...

Read More »

How To Disable or Block Inspect Element in Browser/Website

In that page I want to block the user to perform below actions, Right Click F12 Ctrl + Shift + I Ctrl + Shift + J Ctrl + Shift + C Ctrl + U The below link, Disabled Right Click : add on your tag body html <body oncontextmenu="return false;"> Disabled Keys : document.onkeydown = function(e) { if(event.keyCode == ...

Read More »

Visual Basic .NET Notes for Professionals book

cover - VisualBasic_NETGrow.png

Chapters Getting started with Visual Basic .NET Language Declaring variables Introduction to Syntax Operators Conditions Short-Circuiting Operators (AndAlso – OrElse) Date Array Lists Enum Dictionaries Looping File Handling File/Folder Compression Connection Handling Type conversion ByVal and ByRef keywords Console Functions Recursion Classes Generics Disposable objects NullReferenceException Using Statement Option Strict Option Explicit Option Infer Error Handling OOP Keywords Extension methods ...

Read More »

VBA Notes for Professionals book

cover - VBAGrow.png

Chapters Getting started with VBA Declaring Variables Scripting.FileSystemObject Procedure Calls Naming Conventions Creating a procedure Flow control structures Comments Arrays Error Handling Recursion Conditional Compilation Data Types and Limits String Literals – Escaping, non-printable characters and line-continuations Declaring and assigning strings Converting other types to strings Searching within strings for the presence of substrings Substrings Measuring the length of strings ...

Read More »

TypeScript Notes for Professionals book

Chapters Getting started with TypeScript Importing external libraries Classes Strict null checks Using Typescript with React (JS & native) Functions Interfaces Using TypeScript with webpack Generics TypeScript Core Types Integrating with Build Tools Publish TypeScript definition files Class Decorator tsconfig.json Mixins Enums TypeScript with AngularJS TypeScript with SystemJS Unit Testing TSLint – assuring code quality and consistency TypeScript basic examples ...

Read More »

Swif Notes for Professionals book

Chapters Getting started with Swift Language Switch Reading & Writing JSON Enums Protocols Optionals Structs Closures Error Handling Arrays Dictionaries Strings and Characters Extensions Sets Working with C and Objective-C Functions Numbers Classes Conditionals Variables & Properties Tuples Booleans Memory Management Generics Advanced Operators Access Control Associated Objects Loops Reflection OptionSet Method Swizzling Concurrency Initializers Getting Started with Protocol Oriented ...

Read More »

SQL Notes for Professionals book

Chapters Getting started with SQL Identifier Data Types NULL Example Databases and Tables SELECT GROUP BY ORDER BY AND & OR Operators CASE LIKE operator IN clause Filter results using WHERE and HAVING SKIP TAKE (Pagination) EXCEPT EXPLAIN and DESCRIBE EXISTS CLAUSE JOIN UPDATE CREATE Database CREATE TABLE CREATE FUNCTION TRY/CATCH UNION / UNION ALL ALTER TABLE INSERT MERGE cross ...

Read More »

Ruby Notes for Professionals book

Chapters Getting started with Ruby Language Casting (type conversion) Arrays Classes Hashes Blocks and Procs and Lambdas Inheritance Control Flow Strings Symbols Exceptions Thread Methods method_missing Numbers Iteration Regular Expressions and Regex Based Operations Comparable Gem Usage Design Patterns and Idioms in Ruby Loading Source Files Range Comments Operators Operators Special Constants in Ruby Modules Ruby Version Manager Gem Creation/Management ...

Read More »

Ruby on Rails Notes for Professionals book

Chapters Getting started with Ruby on Rails Routing ActiveRecord Views ActiveRecord Migrations Rails Best Practices Naming Conventions ActionCable ActiveModel User Authentication in Rails ActiveRecord Associations ActiveRecord Validations ActiveRecord Query Interface ActionMailer Rails generate commands Configuration I18n – Internationalization Using GoogleMaps with Rails File Uploads Caching ActionController Configuration Safe Constantize Rails 5 Authorization with CanCan Mongoid Gems Change default timezone Asset ...

Read More »