Skip to content

Instantly share code, notes, and snippets.

View kelsS's full-sized avatar
๐Ÿต

Kelsey S. kelsS

๐Ÿต
View GitHub Profile
@murtaugh
murtaugh / eems-droplet-for-EE2.md
Last active October 27, 2021 03:33
Set up a DigitalOcean droplet for ExpressionEngine

(This is an updated version of Clearfire's tutorial, which is excellent, but has become slightly outdated as Digital Ocean updates their applications.)

  1. Create your droplet. Name it, select your size and location, then hit the Applications tab and select (as of this writing) "LAMP on 14.04". Add your SSH key if you want, and submit.
  2. SSH into your new droplet, and maybe check to make sure the following PHP modules have been installed: (In my recent experience, these have all been installed automatically, but that could change, and it takes 10 seconds to check.)

    apt-get install php5-gd

    apt-get install php5-mysql

    apt-get install php5-curl

  3. Make sure mod_rewrite is enabled, with a2enmod rewrite.
  4. If you like, increase PHP's upload_max_filesize and post_max_filesize values by editing the php.ini file, with this: nano /etc/php5/apache2/php.ini
  5. Give Apach
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 23, 2026 22:51
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

export CLICOLOR=1
function settitle() { echo -ne "\033]0;$@\007";}
alias untar=โ€™tar xvzfโ€™
alias push='git push origin'
alias pull='git pull origin'
alias restart='sudo /usr/local/apache2/bin/apachectl restart'
alias stop='sudo /usr/local/apache2/bin/apachectl stop'
alias pkill='~/pkill.sh'
@danyaljj
danyaljj / terminal.sh
Last active May 12, 2017 17:12
terminal gist
Bash / Terminal / Shell notes
================================
* Script header
#!/bin/bash
* Decompression:
$ tar -zxvf filename.tgz
$ tar -zxvf filename.tar.gz
alias tunnel='/home/stunt/sshuttle/sshuttle --dns -r ahd@xx.xx.xx.xx 0/0'
alias e='exit'
alias c='clear'
alias p='ping 4.2.2.3'
alias art='php artisan'
alias ga='git add'
alias gc='git commit -am'
alias desktop='cd ~/Desktop'
alias downloads='cd ~/Downloads'
alias documents='cd ~/Documents'
@vargheseraphy
vargheseraphy / linux_commands.md
Created April 12, 2015 11:55
usefull linux terminal commands
@zither
zither / terminal.php
Created March 18, 2015 11:04
terminal
#!/usr/bin/env php
<?php
$terminal = new Terminal();
$terminal->saveTTY();
$terminal->initTTY();
$player = new Player($terminal, array("x" =>10, "y" => 27));
$valid = false;
@primozcigler
primozcigler / class-pt-customize-control-range.php
Created March 17, 2015 10:07
Footer widgets layout customizer control.
<?php
/**
* Range Control Class
*/
class WP_Customize_Range_Control extends WP_Customize_Control {
/**
* @access public
* @var string

Folder Structure

Please note

While this gist has been shared and followed for years, I regret not giving more background. It was originally a gist for the engineering org I was in, not a "general suggestion" for any React app.

Typically I avoid folders altogether. Heck, I even avoid new files. If I can build an app with one 2000 line file I will. New files and folders are a pain.

@roachhd
roachhd / README.md
Last active July 14, 2026 09:30
EMOJI cheatsheet ๐Ÿ˜›๐Ÿ˜ณ๐Ÿ˜—๐Ÿ˜“๐Ÿ™‰๐Ÿ˜ธ๐Ÿ™ˆ๐Ÿ™Š๐Ÿ˜ฝ๐Ÿ’€๐Ÿ’ข๐Ÿ’ฅโœจ๐Ÿ’๐Ÿ‘ซ๐Ÿ‘„๐Ÿ‘ƒ๐Ÿ‘€๐Ÿ‘›๐Ÿ‘›๐Ÿ—ผ๐Ÿ”ฎ๐Ÿ”ฎ๐ŸŽ„๐ŸŽ…๐Ÿ‘ป

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. โœˆ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: ๐Ÿ˜„