Skip to content

Instantly share code, notes, and snippets.

@sco-tt
sco-tt / java-mincraft-commands
Last active November 8, 2023 01:01
Minecraft Commands for Java 1.19.3
# see https://beebom.com/useful-best-minecraft-commands/
#
# Minecraft java version 1.19.3 - 1.21.x
# Syntax: <some-text> indicates text that will be replaced (brackets included)
# Example:
# /teleport <player-to-be-teleported> @s
# If the player to be teleported was named ArnoldSchoenberg, then the final command would be:
# /teleport ArnoldSchoenberg @s
# Summon a flying pig
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:CCS HS Baseball
X-WR-TIMEZONE:America/Chicago
X-WR-CALDESC:
BEGIN:VEVENT
DTSTART:20200307T003000Z
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
html,body{margin:0;font-family:'Montserrat','helvetica neue',sans-serif!important}
html,body{background-color: black;overflow-x: hidden}
.screenreader-only,.screenreader-only a {position: absolute;opacity: 0;z-index: -10;}
/* header */
#div_Header,#gdbHeaderWrapper,.topSection,.bottomSection,#ProcessForm {width:100%;float:left;clear:both}
#div_Header{margin-top:1em}
.bottomSection ul li {width:90%;text-align:right;color:#EE2669;font-size:1.1em}
.bottomSection ul li a {text-decoration: none;color: #fff}
.bottomSection ul li a:hover {color: #00ade1!important;}
<?php
namespace App\Http\Controllers;
/**
* Written in a Laravel controller for ease of development.
* Nullable type hints (PHP 7.1 and up) in use.
*/
class TestController extends Controller
{
@sco-tt
sco-tt / acqoponline.js
Created August 15, 2018 22:51
ACQ Op Online
function __acqOp() {
$(document).ready(function () {
var acqOpVideos = {
/*
———————————————————————————————————————————————————————————————————————————————————————————————
|
| PROPERTIES
|
@sco-tt
sco-tt / laravel-php-7
Last active November 8, 2019 19:11
Setting Up Scotchbox for Laravel on PHP 7
# Props to @Mizener on https://github.com/scotch-io/scotch-box/issues/157
sudo apt-get update
sudo add-apt-repository ppa:ondrej/php
sudo apt-get install php7.0
sudo apt-get update
sudo apt-get install php7.0-mysql libapache2-mod-php7.0
sudo a2dismod php5
sudo a2enmod php7.0
@sco-tt
sco-tt / README.md
Last active August 29, 2015 14:20 — forked from mbostock/.block
@sco-tt
sco-tt / README.md
Last active August 29, 2015 14:20 — forked from mbostock/.block
#!/bin/bash
# Script to do security updates only in Drupal 6 and Drupal 7 using drush version 6.2.0
# Note: drush up --security-only updates modules as well as core
# run `which drush` to find this path
drush='/usr/bin/drush'
# where your drupal sites live
site_dir='/var/www'
echo "Scanning sites directory for drupal installations"
cd $site_dir