Skip to content

Instantly share code, notes, and snippets.

View Alex-Keyes's full-sized avatar
🎯
Focusing

Alex Keyes Alex-Keyes

🎯
Focusing
View GitHub Profile
@Alex-Keyes
Alex-Keyes / wp-rocket-custom.php
Created May 1, 2017 22:10 — forked from glueckpress/wp-rocket-custom.php
[WordPress][WP Rocket] Boilerplate for a custom functionality (MU) plugin.
<?php
/**
* Plugin Name: Your Custom Functionality Plugin
* Description: Short description of your plugin here.
* Author: your name here
* License: GNU General Public License v3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
// Basic security, prevents file from being loaded directly.
@Alex-Keyes
Alex-Keyes / custom-apppresser.php
Last active April 21, 2018 23:59
custom-apppresser.php
<?php
/*
Plugin Name: AppPresser Custom Push Notifications
Plugin URI: http://apppresser.com
Description: Code for extending AppPresser functionality
Version: 1.0.0
Author: Alex Keyes
Author URI: http://thinkmerlin.com
License: GPLv2
*/
@Alex-Keyes
Alex-Keyes / appp-push.php
Created December 6, 2016 22:50
this is the appPush core file
<?php
/*
Plugin Name: AppPush
Plugin URI: http://apppresser.com
Description: Push Notifications for AppPresser
Text Domain: apppresser-push
Domain Path: /languages
Version: 2.4.2
Author: AppPresser Team
Author URI: http://apppresser.com
/* Queue - Circular Array implementation in C++*/
#include<iostream>
using namespace std;
#define MAX_SIZE 101 //maximum size of the array that will store Queue.
// Creating a class named Queue.
class Queue
{
private:
int A[MAX_SIZE];

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.