Skip to content

Instantly share code, notes, and snippets.

Landan lmj0011

Block or report user

Report or block lmj0011

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lmj0011
lmj0011 / my.cnf
Last active May 27, 2018 — forked from chrisjlee/my.cnf
my.cnf file optimized for InnoDB 64bit setups
View my.cnf
# forked from https://gist.github.com/chrisjlee/2973469
[client]
#password = [your_password]
#port = 3306
#socket = /tmp/mysqld.sock
# *** Application-specific options follow here ***
#
@lmj0011
lmj0011 / RDS-Aurora-CloudFormation-Example.yaml
Created Aug 30, 2017 — forked from sjparkinson/RDS-Aurora-CloudFormation-Example.yaml
A basic CloudFormation template for an RDS Aurora cluster.
View RDS-Aurora-CloudFormation-Example.yaml
---
AWSTemplateFormatVersion: 2010-09-09
Description: A basic CloudFormation template for an RDS Aurora cluster.
Parameters:
DatabaseInstanceType:
Default: db.r3.large
AllowedValues:
- db.r3.large
- db.r3.xlarge
- db.r3.2xlarge
@lmj0011
lmj0011 / 0_reuse_code.js
Created Dec 26, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@lmj0011
lmj0011 / gitCheck.md
Last active Apr 23, 2019 — forked from mzabriskie/README.md
Check git status of multiple repos
View gitCheck.md

Usage:

gitCheck [directory]

This will run git status on each repo under the directory specified. If called with no directory provided it will default to the current directory.


Changes

@lmj0011
lmj0011 / jquery-scroll-bottom.js
Created Jun 19, 2016 — forked from toshimaru/jquery-scroll-bottom.js
Detect the scrolling to bottom of the page using jQuery.
View jquery-scroll-bottom.js
$(window).on("scroll", function() {
var scrollHeight = $(document).height();
var scrollPosition = $(window).height() + $(window).scrollTop();
if ((scrollHeight - scrollPosition) / scrollHeight === 0) {
// when scroll to bottom of the page
}
});
You can’t perform that action at this time.