Skip to content

Instantly share code, notes, and snippets.

@adcar
adcar / Gruntfile.js
Last active September 13, 2017 20:32
post-css and sass template
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dist: {
files: {
'dist/css/main.css': 'src/scss/main.scss'
}
}
},
@adcar
adcar / lol.js
Created November 15, 2017 11:57
cawd nav fix
$("div.nav-container").ready(() => {
$("div.module-group").hide();
let expanded = false;
$(".module.widget-handle.mobile-toggle").click( () => {
if (expanded === false) {
$("div.module-group").show();
expanded = true;
🚨 Fatal Error: Could not load package "allegro" dlopen(/usr/local/EmojicodePackages/allegro-v0/allegro.so, 1): Library not loaded: /usr/local/opt/allegro/lib/liballegro.5.2.dylib
Referenced from: /usr/local/EmojicodePackages/allegro-v0/allegro.so
Reason: image not found.
fish: 'emojicode app.emojib' terminated by signal SIGABRT (Abort)
@adcar
adcar / getsy.js
Last active November 23, 2017 02:31
getsy v0.9.1 github.com/epiqueras/getsy
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.getsy = factory());
}(this, (function () { 'use strict';
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@adcar
adcar / Tutorial.md
Last active April 27, 2024 00:27
Tutorial: Setup Arch Linux Arm and Kodi on a Raspberry Pi (With a host machine running Linux)

Tutorial: Set up Arch Linux Arm + Kodi on a Raspberry Pi (With a host machine running Linux)

This tutorial will show how to, step by step, setup Arch Linux Arm and configure Kodi on a Raspberry Pi 3 Model B. Your host computer must be running Linux for this tutorial.

Prerequisites:

  • Raspberry Pi 3 Model B
  • 5V 2.1A Micro-usb Power Supply
  • Micro sdcard (I'd recommend at least 16GB)
  • USB Keyboard (for initial setup)
  • HDMI Cable
  • TV or Monitor with HDMI input
@adcar
adcar / codepen.js
Last active December 14, 2021 17:27
CodePen Social Media
window.addEventListener('load', () => {
// Template literal, for multiline CSS
let css = `
*, *:before, *:after {box-sizing: border-box;}
:root {
--tran: all 0.25s ease-out;
}
.social-icons {
position: fixed;
This file has been truncated, but you can view the full file.
webpackJsonp([0], {
"+0OL": function(e, t, i) {
"use strict";
e.exports = {
Action: {
None: 0,
Reload: 1,
UseItem: 2,
Revive: 3
},
@adcar
adcar / yay.svg
Last active July 11, 2019 14:49
SVG file header image
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / splash.svg
Last active July 9, 2019 23:42
Splash
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adcar
adcar / dialog.svg
Created July 10, 2019 00:15
Dialog thing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.