Skip to content

Instantly share code, notes, and snippets.

View jasonraimondi's full-sized avatar

Jason Raimondi jasonraimondi

View GitHub Profile
@jasonraimondi
jasonraimondi / slackpost
Last active August 14, 2019 18:09 — forked from dopiaza/slackpost
Post a message to a Slack channel via bash 2019
#!/usr/bin/env bash
#
# Post a message to a Slack channel via bash
#
# source: https://gist.github.com/dopiaza/6449505#gistcomment-2915161
#
# Usage: slackpost -w <webhook_url> -c <channel> -u <username> -m <message> [-a <alert_type>]
# Usage: echo <message> | slackpost -w <webhook_url> -c <channel> -u <username> [-a <alert_type>]
#
@jasonraimondi
jasonraimondi / redis.md
Created March 8, 2017 04:21 — forked from Masa331/redis.md
Basic redis commands

Basic Redis commands

CLI

redis-cli

Basic CLI commands

  • info keyspace
  • keys * for all keys
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Request;
use View;
use App;
abstract class ApplicationsServiceProvider extends ServiceProvider
{
public function register()