Skip to content

Instantly share code, notes, and snippets.

@jision
jision / README.md
Created July 31, 2016 16:46 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Index:

apt-get install php-redis
@jision
jision / .env file
Created March 20, 2017 11:46
Laravel 5.2 env for resque
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=password
REDIS_PORT=6379
REDIS_DB = 2
<?php
/**
*
* Created By : Prasenjit CHowdhury
* Description : MY own resque terminal for more control over the chrisboulton Libary
* credits = chris boulton ####Php-Resque creator ####
*/
$path = getcwd();
$ds = DIRECTORY_SEPARATOR;
if($path != ''){
#!/usr/bin/env php
<?php
/**
*
* Created By : Prasenjit CHowdhury
* date : !st August
* updated On : 29th August 2016
* Description : Created To drop jobs on resque workers for forking for redis monitories and data management
*/
<?php
/**
*
* Created By : Prasenjit CHowdhury
* Description : Creating a single interface for acting with the redis no need of third party code single wntry for redis monitories and data management
*/
namespace App\Console\Commands;
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class MailConsole extends Command
{
/**
* The name and signature of the console command.
@jision
jision / gist:1f5953ffb72126e2856a29838605de91
Last active February 14, 2019 06:23
Touchpad is not working lenovo ideapad for ubuntu 18.04
Solution: You need to upgrade kernel to minimum 4.19.15-041915-generic . From this kernal version, the touchpad drivers are present in the kernal.
So just download the kernal files and upgrade. Visit https://kernel.ubuntu.com/~kernel-ppa/mainline/ to choose a kernal version
If you want to download 4.19.15, try the steps
First download the files
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.15/linux-headers-4.19.15-041915_4.19.15-041915.201901130432_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19.15/linux-headers-4.19.15-041915-generic_4.19.15-041915.201901130432_amd64.deb