Skip to content

Instantly share code, notes, and snippets.

Avatar
🐼
PANDAS!

Jason L Perry ambethia

🐼
PANDAS!
View GitHub Profile
@usirin
usirin / tsm-battlepets.txt
Created Oct 10, 2018
TSM4 Battle pets with operations including BfA
View tsm-battlepets.txt
^1^T^Soperations^T^SMailing^T^S#Default^T^Srestock^b^SmaxQty^N10^SkeepQty^N0^Starget^S^SrestockSources^T^Sguild^b^Sbank^b^t^SmaxQtyEnabled^b^t^t^SAuctioning^T^SBattle~`Pets^T^SaboveMax^SmaxPrice^SnormalPrice^Smax(250%~`avgbuy/.95,~`ifgt(DBRegionMarketAvg,~`2500g,~`min(100%~`DBMarket,~`100%~`DBRegionMarketAvg),~`min(85%~`DBMarket,~`70%~`DBRegionMarketAvg)))^Sduration^N24^SmatchStackSize^b^SkeepQuantity^N0^SpostCap^N1^SbidPercent^N1^SstackSizeIsCap^b^SmaxPrice^Smax(500%~`avgbuy/.95,~`ifgt(DBRegionMarketAvg,~`2500g,~`max(200%~`DBMarket,~`200%~`DBRegionMarketAvg),~`max(125%~`DBMarket,~`125%~`DBRegionMarketAvg)))^SignoreLowDuration^N0^SstackSize^N1^SkeepPosted^N0^Sundercut^S1c^SmaxExpires^N0^SpriceReset^Snone^ScancelRepostThreshold^S1g^ScancelRepost^B^ScancelUndercut^B^SminPrice^Sfirst(105%~`avgbuy/.95,~`ifgt(DBRegionMarketAvg,~`2500g,~`min(80%~`DBMarket,~`60%~`DBRegionMarketAvg),~`min(70%~`DBMarket,~`50%~`DBRegionMarketAvg)))^SkeepQtySources^T^t^Sblacklist^S^t^SVendor~`Items~`Singles~`x~`5^T^SaboveMax^SmaxPrice^S
@JoshCheek
JoshCheek / generating_bytecode.rb
Created Jul 22, 2017
Generating Bytecode from an AST
View generating_bytecode.rb
def cancel
authorize OrderIssue
order_issue = OrderIssue.find(params[:id])
order_issue.cancel!
render_results(:results => order_issue,
:status => :ok,
:serializer => OrderIssueSerializer)
end
code = File.read(__FILE__).lines[0...__LINE__-1].join
View mindset.md

Crystal's Essay

The aspects of the Growth and Fixed mindset that I can identify in my personal history would be surrounding my relationships. When I was younger, I figured that the man of my dreams could/would whisk me away to a fairytale land and we would ride off into the sunset. Our relationship would be perfect and easy, only arguing over who loves the other more. He would worship the ground that I walked on and be a Thomas Crowne-like mind-reader. As maturity set in, I realized that that wasn’t at all what it was about. I was transitioning from a fixed mindset to a growth mindset here. When I met my (now) husband, we set out to sharpen each other and to help the other grow. We choose to love each other where we’re at, and not where we want to be or where we want the other person to be. We are present with each other and remind ourselves that it’s about the journey, not the destination. We argue.. or (ahem) “discuss”.. whether brand is better than generic and who deserves t

@klockey
klockey / FizzBuzz.md
Last active Mar 22, 2017
Description of Javascript
View FizzBuzz.md

Javascript is exciting because of its ability to manipulate and control aspects of the user experience of the web. It is a lightweight scripting language that will control the html elements and css selectors. Every website you go to probably has some javascript working in the background on the browser.

Web Development is powerful because it contains two components. A front end which houses Javascript and a backend which holds a backend language such as php, Java or Ruby. The back end languages typically manipulate important information to be stored in a database like MySql. They are more concerned with moving data backward to the database and forward to the browser. The front end manipulates data at end user level and then might pass the data back to the backend.

Java script has some very interesting things in its language. For example if you write a variable in a function without declaring it, it is considered a global variable. Unlike other languages, === means that two variables are equal

@maresThere
maresThere / fizzbuzz.md
Last active Mar 21, 2017
Essay on first Javascript assignment
View fizzbuzz.md

I have always been intrigued by programming. I always thought it was only for very smart people, and I was not one of them. I knew this because I had taken a couple of programming classes years ago and I was lost on day one. Several years later when the internet was gaining speed, I learned HTML and enjoyed the design aspect of it. It was also much less intimidating than “for loops” and “if else statements.”

As my patience in my almost 20 year career in property management was wearing thin, I was on the hunt for a change. My first attempt was Interior Design school where I learned the fundamentals of design. Interior Design also teaches the value of aesthetics and functionality. The idea of creating a space that is visually pleasing and everything in this has a practical use very much appealed to me.

This idea transfers beautifully to Web Design and Development. Websites today have to be functional and visually appealing for the user. Pretty efficiency excites me. When I go to a website I am always

View fizzbuzz.md

I like the idea of Javascript because interactive webpages are really the only ones I use anymore. Instagram, reddit, youtube. Everything requires some degree of user input and we've moved well past the age of simply scanning for information. I now input credit card info, phone numbers, and email addresses all the time. My goal in web development is to make things I'd actually like to use. I can't count the number of times I've checked someone's website for relevant information or a good user experience and come away thinking that I'm taking my money elsewhere. I was looking for a particular type of business in St. Pete and found that 3 of them were using literally identical templates. My end goal is to help those people adopt a website that doesn't make someone's eyes bleed.

  if ( i % 15 == 0){
      console.log('FizzBuzz')
    }else if (i % 3 ==0){
      console.log('Fizz')
View Blog1.md

Code to Perdition

I grew up with math. Specifically, I grew up with logic. I was on the math team in high school, spent my free time learning set theory and logic, and majored in Math with a focus on set theory in college. I still bristle when people use ‘inverse’ when they mean ‘converse’, but that’s mostly because I’m also an ass.

What excites me most about Javascript is being able to develop in a language that is logically and syntactically similar to modal logic. I am at home in conditional statements and JavaScript follows the same functional logic.

The praxis of Javascript, and the reorientation of my thinking into conditional statements, also, I believe, will help me think about programming going forward. I want to understand the reasons and logic behind programs, and gaining new insights into specific structures of programs is exciting.

The portfolio customization option enervated me: the practical application of seeing a new webpage form - actualizing a finished product - bores me. Learning

View mindset.md
# Homework 1
#### Fixed vs. Growth: The Two Basic Mindsets That Shape Our Lives
I think we as a culture have the idea that intelligence is a static quality of an individual. We are born with traits which make
us rise above the rest or keep us beneath others. While I think there are some fixed thresholds for each individual abilities, we
may never know this unless we give lots of effort into our endeavors. **Fixed mindsets** only focus on winning or losing and
critique themselves by these two qualities. **Growth mindsets** see learning and failure as growth opportunities. Growth mindsets
don't get discouraged by failure or hyper-elated by a win. There objective is to learn and grow.
I have felt fixed before as far as debugging code is concerned. Thoughts might rush through my head when I am working on a problem
@tatarjr
tatarjr / Icon.js
Last active Feb 2, 2017
Sample Icon Component
View Icon.js
import React from 'react';
const req = require.context('../assets/icons', false, /^\.\/.*\.svg$/);
const GLYPHS = (req.keys()).reduce((glyphs, key) => {
const filename = key.match(new RegExp(/[^/]+(?=\.svg$)/))[0];
return Object.assign({}, glyphs, { [filename]: req(key) });
}, {});
const DEFAULT_CLASS = 'ji-svg';
@cfsanderson
cfsanderson / TIY Pre-work Essay.md
Last active Nov 15, 2016
Pre-work Essay for November 2016 Front-End Engineering Cohort at The Iron Yard (Tampa, FL)
View TIY Pre-work Essay.md

#Caleb Frost Sanderson ##Pre-work Essay for Front-End Engineering Cohort ###9/9/2016

“The journey of a thousand miles begins with one step.” - Lao Tzu

This quote is a bit cliché, but still true for me. My journey into code began with a couple simple steps;

  • looking for a new career in a creative field,
  • a lifelong and almost nagging interest in how the heck computers do what they do,
  • talking with other converted musician-turned-coder friends, etc.