Skip to content

Instantly share code, notes, and snippets.

View messified's full-sized avatar
:octocat:

Jesse Reese messified

:octocat:
View GitHub Profile
@messified
messified / vscode_reduce_cpu_usage.md
Created October 30, 2019 18:15
VSCode Reduce CPU Usage

VSCode Reduce CPU Usage

Update your settings.json with the code below, then restart vscode:

{
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
 "**/.hg": true,

Service Repo Name

Brief description about the service

Depenancies:

  • Something

Table of Contents

  1. Routes
  2. Services
@messified
messified / The Technical Interview Cheat Sheet.md
Last active August 29, 2015 14:28 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

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.
@messified
messified / nginx.conf
Last active August 29, 2015 14:14 — forked from denys281/nginx.conf
server {
listen 80;
# Server name being used (exact name, wildcards or regular expression)
server_name dev.scrum-master.com;
client_max_body_size 20M;
# Document root, make sure this points to your Symfony2 /web directory
root /var/www/scrum-master/path/web;
{
"name" : "freelance/new-client",
"description" : "New client base website",
"authors" : [
{
"name" : "Jesse Reese",
"email" : "jesse.c.reese@gmail.com",
"homepage": "http://www.jessereese.com/"
}
],
@messified
messified / wp_migrate.md
Last active May 4, 2016 16:12
WordPress DB Migration Queries

Useful WordPress Queries

Site / Home URLs

UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com') WHERE option_name = 'home' OR option_name = 'siteurl';

Update content Guid

1. Install needed repositories

  • Remi Dependency on CentOS 6 and Red Hat (RHEL) 6

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

  • Remi Dependency on CentOS 5 and Red Hat (RHEL) 5

rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

@messified
messified / php-interview.md
Last active July 1, 2024 05:15
PHP Engineer Interview: What you should know

PHP Developer Interview: What you should know

1. What’s the difference between " self " and " this " ?

Use $this to refer to the current object. Use self to refer to the current class. In other words, use $this->member for non-static members, use self::$member for static members.

Source: When to use self vs this -stackoverflow

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Composer