Skip to content

Instantly share code, notes, and snippets.

View ccjmne's full-sized avatar
⚗️
Experimenting

Éric NICOLAS ccjmne

⚗️
Experimenting
View GitHub Profile
@ccjmne
ccjmne / unite-logo.svg
Last active March 31, 2023 23:10
Animated Unite logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccjmne
ccjmne / bdo-enhancement-cost.html
Last active February 11, 2023 15:20
BDO Enhancement Cost Calculator
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PEN: Kzarka Longsword • Enhancement Cost</title>
</head>
@ccjmne
ccjmne / .eslintrc.js
Last active December 17, 2023 20:22
My .estlintrc config (TS)
/*
npm install --save-dev \
eslint \
eslint-config-airbnb-base \
eslint-config-airbnb-typescript \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser
*/
module.exports = {
@ccjmne
ccjmne / README.md
Last active February 9, 2022 15:08

Create a Personal Access Token

  1. Navigate to your Personal Access Tokens
  2. Create a new Access Token with the following authorisations:
    • read:packages
    • write:packages
    • delete:packages
$ echo "aiwi8esgykxcu1t686p_7ea_l6abwc76vue0kecq" | docker login ghcr.io -u ccjmne --password-stdin
@ccjmne
ccjmne / HOWTO.md
Last active November 12, 2021 17:36
Use TypeScript for your webpack config

1. Create a secondary TypeScript config for webpack only

Simply create a new tsconfig-webpack.json file with the following contents:

{
  "compilerOptions": {
    "module": "commonjs",
    "resolveJsonModule": true,
 "target": "es6",
@ccjmne
ccjmne / puppies.xml
Created January 21, 2021 19:28
Show me the puppies!
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2021-01-21T20:21:59.8544424</Date>
<Author>DESKTOP-H4OM6KP\Patricia</Author>
<URI>\Show me the puppies!</URI>
</RegistrationInfo>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
@ccjmne
ccjmne / AMHYDRO_SETUP.md
Last active October 24, 2022 19:38
Amhydro setup

Amhydro Setup

Procedure for deploying all the services that support Amhydro's administration website.

Prepare

  1. in EC2: launch an instance of type: Amazon Linux 2 AMI.
    • Make sure it has at least the ports 22, 80 and 443 open.
    • OPTIONAL: also open 3306 for direct database access.
  • OPTIONAL: in "Instance Details", set up its User Data as such:
@ccjmne
ccjmne / htmlpreview.github.user.js
Last active August 29, 2024 16:52
GitHub HTML Preview – Userscript
// ==UserScript==
// @name GitHub HTML Preview
// @namespace https://gist.github.com/ccjmne
// @version 2.0.0
// @description Viualise any HTML content on GitHub
// @author ccjmne <[email protected]> (https://github.com/ccjmne)
// @include *://gist.github.com/*
// @include *://github.com/*
// @downloadURL https://gist.githubusercontent.com/ccjmne/82abdd715ca9cf96d86d9eaa4e6bb87e/raw/htmlpreview.github.user.js
// @grant none
// ==UserScript==
// @name Google Search Hotkeys
// @namespace https://gist.github.com/ccjmne
// @version 2.0.0
// @description Navigate results from Google seaches using arrow keys or numbers from 1 through 9, switch results tabs (Images, Videos, News...) using hotkeys, focus the search input field with forward-slash, and more! Use Shift-? for help.
// @author ccjmne <[email protected]> (https://github.com/ccjmne)
// @include *://www.google.tld/search*
// @downloadURL https://gist.githubusercontent.com/ccjmne/d1f25305d0fb437c4e922da7db840e27/raw/google-search-hotkeys.js
// @grant none
// ==/UserScript==
@ccjmne
ccjmne / kissanime-playback-rate-controls.js
Last active September 8, 2018 22:43
kissanime-playback-rate-controls
// ==UserScript==
// @name KissAnime playback rate controls
// @namespace https://gist.github.com/ccjmne
// @version 1.0.0-beta.4
// @description Adds playback rate control buttons to KissAnime. Also triggers on shift->, shift-<. Changes shift-left & shift-right to go back / go forward 3s instead of a full minute.
// @author ccjmne
// @include *://kissanime.tld/*
// @downloadURL https://gist.githubusercontent.com/ccjmne/2ad0343fdc74983f8ad636f9f67f71d4/raw/kissanime-playback-rate-controls.js
// @grant none
// ==/UserScript==