Skip to content

Instantly share code, notes, and snippets.

View explorier's full-sized avatar
💾
Insert Disk 2

Paloma Matchett explorier

💾
Insert Disk 2
View GitHub Profile
#!/bin/bash
# Ensure the script is run as root
if [ "$EUID" -ne 0 ]; then
echo "Please run as root"
exit 1
fi
# Check if the repository URL is provided as an argument
if [ -z "$1" ]; then
@explorier
explorier / ejs-chapter-14.js
Created September 14, 2018 17:08
eloquen javascript chapter 14
<h1>Mountains</h1>
<div id="mountains"></div>
<script>
const MOUNTAINS = [
{name: "Kilimanjaro", height: 5895, place: "Tanzania"},
{name: "Everest", height: 8848, place: "Nepal"},
{name: "Mount Fuji", height: 3776, place: "Japan"},
{name: "Vaalserberg", height: 323, place: "Netherlands"},
@explorier
explorier / gist:b352c6b423b3fcedc5a6919af96ea2ab
Created May 19, 2018 03:18
Customizable Gutenberg Cover Image Block - in progress
/**
* BLOCK: fgd-blocks
*
* Registering a basic block with Gutenberg.
* Simple block, renders and saves the same content without any interactivity.
*/
// Import CSS.
import './style.scss';
import './editor.scss';
@explorier
explorier / .gitignore
Created September 18, 2017 21:22 — forked from salcode/.gitignore
See https://salferrarello.com/wordpress-gitignore/ for the latest version of my WordPress .gitignore file
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20150227
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore