Skip to content

Instantly share code, notes, and snippets.

View btopro's full-sized avatar
🃏
Innovating

Bryan Ollendyke btopro

🃏
Innovating
View GitHub Profile
@btopro
btopro / week-1.md
Created September 3, 2024 12:54 — forked from Cory-Z/week-1.md
Week 1 Homework - Zavod

The Back end was responsible for the bug since it was a data type issue that didn't save the order

Languages used in the video:

  • HTML
  • JavaScript
  • PHP
  • 1 additional that I have not seen before

Some tools I see used that are common across web development are CMS which helps to build and manage a website, as well as dev sites for adding/editing code and also the outline designer.

Provide a Link to your fork of the codepen

The top of the JS code says import .... what is this doing? Is this vanilla?

  • important is a java keyword. This declares the class that you are creating so it can then be used else where in your code.
  • It is Vanilla

The bottom says export { MemeMaker }; what do you think this does? Is this vanilla?

  • I think that this is what puts what ever your created through the different parts of code and pushs it to show up in the field below.
  • I believe that this isn't vanilla as it is something that was created through the code.

Look at the constructor() what does this do? Does this remind you of anything?

  • This constructor is laying out how you need to set up the information.
@btopro
btopro / pandoras_vox.mdown
Created March 31, 2021 14:34 — forked from kolber/pandoras_vox.mdown
pandora’s vox: on community in cyberspace

pandora’s vox: on community in cyberspace

by humdog (1994)

when i went into cyberspace i went into it thinking that it was a place like any other place and that it would be a human interaction like any other human interaction. i was wrong when i thought that. it was a terrible mistake.

the very first understanding that i had that it was not a place like any place and that the interaction would be different was when people began to talk to me as though i were a man. when they wrote about me in the third person, they would say “he.” it interested me to have people think i was “he” instead of “she” and so at first i did not say anything. i grinned and let them think i was “he.” this went on for a little while and it was fun but after a while i was uncomfortable. finally i said unto them that i, humdog, was a woman and not a man. this surprised them. at that moment i realized that the dissolution of gender-category was something that was happening everywhere, and perhaps it was only just very obvious on the ne

@btopro
btopro / langoliers.rb
Created July 7, 2019 21:10 — forked from robinsloan/langoliers.rb
Tweet delete script
require "rubygems"
require "twitter"
require "json"
# things you must configure
TWITTER_USER = "your_username"
MAX_AGE_IN_DAYS = 1 # anything older than this is deleted
# get these from dev.twitter.com
CONSUMER_KEY = "your_consumer_key"
@btopro
btopro / INSTALLV8JS.md
Last active March 23, 2019 19:03 — forked from koriym/INSTALLV8JS.md
How to install PHP 7.2 and V8Js on Ubuntu sorta...
sudo apt update
sudo apt upgrade -y
sudo apt-get install -y software-properties-common
sudo apt-get install -y dirmngr
sudo add-apt-repository -y ppa:ondrej/php 
sudo add-apt-repository -y ppa:pinepain/libv8-archived
sudo apt update
sudo apt-get install php-pear php7.3 php7.3-curl php7.3-mbstring php7.3-zip php7.3-mysql libv8-dev
pecl channel-update pecl.php.net
# Grav Specific
accounts/*
!accounts/.*
data/*
!data/.*
plugins/*
!plugins/.*
themes/*
!themes/.*
@btopro
btopro / dropback.sh
Last active October 30, 2021 01:22 — forked from deekayen/.sparkleshare
Automate conversion of Drupal modules to Backdrop with bash utilities.
#!/usr/bin/env bash
# Bash 4 required.
# brew install bash
USAGE=$(cat <<EOF_USAGE
USAGE: ${SCRIPT} <options>
The following options are supported:
/* Color contrast script for http://webaim.org/resources/contrastchecker/
Authored by Jared Smith.
Nothing here is too earth shattering, but if you're reading this, you must be interested. Feel free to steal, borrow, or use this code however you would like.
The color picker is jscolor - http://jscolor.com/
*/
function checkcontrast() {
var normal = document.getElementById("normal");
var big = document.getElementById("big");
var contrastratio = document.getElementById("contrastratio");
#!/bin/sh
base='/var/www/html'
owner='root'
webgroup='webdev'
wwwuser='apache'
# UPDATE DRUPAL CORE
#yes | drush up drupal
# UPDATE MODULES
#yes | drush up --no-core

#Prepare CentOS 7.0 Server for Learning Locker LRS

###Assumptions:

  • CentOS 7.0 x64 is installed (default install from DigitalOcean Droplet Manager)
  • Logged in via ssh key with root privileges
  • Using MongoDB as database

Install Remi Collet Repository: