Skip to content

Instantly share code, notes, and snippets.

Avatar

Rhett Lowe rhettl

View GitHub Profile
View README.md

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.
View gist:931859be7d370d7c4007e7049da30487
---- 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 ---
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
View components.expand-all-toggle.js
import Ember from 'ember';
export default Ember.Component.extend({
actions: {
collapseAllRows() {
Ember.get(this, 'collapseAllRows')();
},
expandAllRows() {
Ember.get(this, 'expandAllRows')();
}
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
View Change.js
/**
* 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.
View SASS Example.SCSS
$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 Nov 27, 2015
Example of xml parsing of RSS with simpleXML and CDATA workaround
View books.php
<?php
/**
* Created by PhpStorm.
* User: rhett
* Date: 11/27/15
* Time: 1:43 PM
*/
/**
View Command
$ 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
View npm install dtrace-provider
$ 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