Skip to content

Instantly share code, notes, and snippets.

View CheezItMan's full-sized avatar

Chris M CheezItMan

View GitHub Profile
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
SYMBOLS = ["@", "%", "&", "*"]
has_special_character = false
has_number = false
long_enough = false
until has_number && long_enough && has_special_character
puts "Please enter your password."
puts "Your password must have a number,"
const captainMarvel = {
givenName: 'Carol Danvers',
nickname: 'Vers',
age: 41,
sideburns: false,
affiliations: ["The Avengers", "S.H.I.E.L.D.", "The Starjammers"],
fly() {
console.log('zoom!');
console.log('swish!');
console.log('fweeee!');
@CheezItMan
CheezItMan / translated_me.js
Created May 21, 2019 15:21 — forked from dHelmgren/translated_me.js
Finished JS Translation From Ruby
const coffeePrice = function coffeePrice(isIced, size, flavorArray){
let price = 2.50;
if(size == 0){
;
} else if (size == 1) {
price += 1;
} else {
price *= 2;
}
@CheezItMan
CheezItMan / translate_me.rb
Created May 21, 2019 15:20 — forked from dHelmgren/translate_me.rb
Js Translation from Ruby snippet
def coffee_price is_iced, size, flavor_array
price = 2.50
if size == 0
elsif size == 1
price += 1
else
price *= 2
end
@CheezItMan
CheezItMan / my_example.md
Last active May 14, 2019 23:18
Fun example

Jumpstart

Environment Setup

Creating a Gist Directly From VS Code

This lesson is optional. It walks you through how to create a gist directly from VS Code.

Part 1 Install Gist Extension

First we'll install an extension which can let us post code samples to github.

Jumpstart

Environment Setup

Creating a Gist Directly From VS Code

This lesson is optional. It walks you through how to create a gist directly from VS Code.

Part 1 Install Gist Extension

First we'll install an extension which can let us post code samples to github.

Jumpstart

Environment Setup

Creating a Gist Directly From VS Code

This lesson is optional. It walks you through how to create a gist directly from VS Code.

Part 1 Install Gist Extension

First we'll install an extension which can let us post code samples to github.