Skip to content

Instantly share code, notes, and snippets.

View elthariel's full-sized avatar

Elthariel elthariel

  • Various
  • Europe - France
  • 19:23 (UTC -12:00)
View GitHub Profile
export default {
// Target: https://go.nuxtjs.dev/config-target
target: 'static',
router: {
trailingSlash: true,
},
// Global page headers: https://go.nuxtjs.dev/config-head
head() {
@elthariel
elthariel / 00_wake_up_screen.sh
Last active November 5, 2020 13:51
Various notes about suspend/resume on GalliumOS on Syndra (HP Chromebook 15, nami board)
#!/bin/bash
# Place this file in /lib/systemd/system-sleep/screen
# It's a hack needed when resuming from a suspend triggered by the lid close.
# When you re-open the lib, the system resumes but the screen stays black and
# is reported as disconnected. This fixes it
case $1 in
post)
if [ -f /sys/class/drm/card0-eDP-1/status ]; then
# echo off > /sys/class/drm/card0-eDP-1/status
/*!
* jQuery JavaScript Library v1.12.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
{
"next": null,
"data": [
{
"created_at": 1574165197,
"config": {
"minute": null,
"policy": "local",
"month": null,
"redis_timeout": 2000,
#! /usr/bin/env ruby
# frozen_string_literal: true
require 'ruby-jmeter'
def api(path)
'http://api.dev.foodle.fr/api/v1' + path
end
CAT = %w(express vegetables exotics classics basic_meals).freeze
@elthariel
elthariel / vlc-media-center.md
Last active August 29, 2015 14:01
VLC Media Center / Browsing / Browsing Design Document/Discussion

Medias Center Design Document

Introduction

Let's start with a positive message

In this document i'll gather thoughts, use cases, design ideas about refactoring (and hardly simplifying) the VLC playlist code, as well as adding a new separate subsystem for handling media discovery, browsing and searching features.