Skip to content

Instantly share code, notes, and snippets.

View rhettl's full-sized avatar

Rhett Lowe rhettl

View GitHub Profile

Instructions for Modded Client Setup

With Optional: Optifine Integration, Client Side Carpet Mod, and World Edit

Setup MultiMC Launcher

  1. In Windows, you may need to download 64bit Java. Have run into issues with built in 32bit version
  2. Download and install client from https://multimc.org/#Download
  3. Open MultiMC
  4. Add Minecraft Account (if it doesn't ask for this, use account icon in top right)
  5. Recommended: In settings > Java, set Minimum Memory Allocation to 2048MB and Maximum to 2048MB or 3072MB. This will allow more operating space for MC to move about in memory.
---- Minecraft Profiler Results ----
// Now with less numbers
Version: 1.16.1
Time span: 34421 ms
Tick span: 364 ticks
// This is approximately 10.57 ticks per second. It should be 20 ticks per second
--- BEGIN PROFILE DUMP ---
@rhettl
rhettl / controllers.application.js
Last active January 10, 2018 21:46
Bootstrap Theme Test
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@rhettl
rhettl / components.expand-all-toggle.js
Created January 9, 2018 23:51 — forked from onechiporenko/components.expand-all-toggle.js
Ember Models Table with Semantic UI
import Ember from 'ember';
export default Ember.Component.extend({
actions: {
collapseAllRows() {
Ember.get(this, 'collapseAllRows')();
},
expandAllRows() {
Ember.get(this, 'expandAllRows')();
}
@rhettl
rhettl / controllers.application.js
Last active November 30, 2017 00:12
one-to-many
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@rhettl
rhettl / Change.js
Last active October 18, 2017 22:04
/**
* Anaonymous function to scrape and reform data.
* @params {jQuery} $
*/
(function ($) {
/**
* Make an object where keys are years and values
* are sorted arrays of people and hrefs.
$font-base: 12px;
$red: #d80000;
$dkbrown: #2b1d0e;
$eggshell: #F0EAD6;
$tan: #D2B48C;
body {
font-size: $font-base;
background-color: $eggshell;
color: $dkbrown;
@rhettl
rhettl / books.php
Created November 27, 2015 22:26
Example of xml parsing of RSS with simpleXML and CDATA workaround
<?php
/**
* Created by PhpStorm.
* User: rhett
* Date: 11/27/15
* Time: 1:43 PM
*/
/**
$ npm install
> dtrace-provider@0.6.0 install /home/rhett/services/to-csv/node_modules/restify/node_modules/dtrace-provider
> node scripts/install.js
> mmmagic@0.4.0 install /home/rhett/services/to-csv/node_modules/mmmagic
> node-gyp rebuild
$ npm install dtrace-provider --verbose
npm info it worked if it ends with ok
npm verb cli [ 'node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'install',
npm verb cli 'dtrace-provider',
npm verb cli '--verbose' ]
npm info using npm@2.14.1
npm info using node@v0.12.7
npm verb install initial load of /Users/rhett/Projects/kim-processing/package.json