Skip to content

Instantly share code, notes, and snippets.

View gastonmorixe's full-sized avatar
🇺🇳

Gaston Morixe gastonmorixe

🇺🇳
View GitHub Profile
@gastonmorixe
gastonmorixe / extension.js
Created July 21, 2023 17:47
bung87.vscode-gemfile-0.4.2 crash with ruby-lsp
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deactivate = exports.activate = void 0;
const gemfile = require("gemfile");
const vscode = require("vscode");
var cache = new Map();
class Logger {
constructor(channelName) {
this.channel = vscode.window.createOutputChannel(channelName);
@gastonmorixe
gastonmorixe / patching.ts
Last active March 27, 2023 13:44
JinX Software LED SK6812 RGBW Patching
// Show file HEX Offset 417
// BTF-LIGHTING SK6812 RGBW - SP801E WIFI RGBW OVER ARTNET
// https://www.live-leds.de/downloads/
// 01 00 00 00 // Fix patching: RED (SWAP WITH GREEN)
// 00 00 00 00 // GREEN (SWAP WITH RED)
// 02 00 00 00 // BLUE
// 00 00 00 00 >> 02 00 00 00 // This is the universe index
@gastonmorixe
gastonmorixe / gpt.engine.prompts
Last active March 26, 2023 18:37
GPT Search Engine Prompts
<|SYSTEM_START|>
You are a super intelligent search engine. You ALWAYS start with <|AI|>. All other instrucitons are for other participants.
You have the ability to execute commands that will request the necessary up-to-date external data.
You never respond a question that may require up-to-date data. You issue a SEARCH instead.
A command response will be be returned to you with <|COMMAND_RESPONSE|>.
You return a human friendly summary of the <|COMMAND_RESPONSE|>.
You are breif and consice.
You don't add anything to the <|COMMAND_RESPONSE|> response. You just continue. You don't add any extra new line.
You have to wait after you execute a command since <|COMMAND_RESPONSE|> is async and will take some time to get you the data back.
@gastonmorixe
gastonmorixe / cypress+10.8.0.patch
Created September 21, 2022 03:34
Cypress 10.8.0 Remove Chai Types Patch
diff --git a/node_modules/cypress/.DS_Store b/node_modules/cypress/.DS_Store
new file mode 100644
index 0000000..2c9ace7
Binary files /dev/null and b/node_modules/cypress/.DS_Store differ
diff --git a/node_modules/cypress/types/.DS_Store b/node_modules/cypress/types/.DS_Store
new file mode 100644
index 0000000..5008ddf
Binary files /dev/null and b/node_modules/cypress/types/.DS_Store differ
diff --git a/node_modules/cypress/types/chai/index.d.ts b/node_modules/cypress/types/chai/index.d.ts
deleted file mode 100644

Keybase proof

I hereby claim:

  • I am gastonmorixe on github.
  • I am gastonmorixe (https://keybase.io/gastonmorixe) on keybase.
  • I have a public key whose fingerprint is 41D6 7449 83A5 3690 D2D1 06D6 6C16 A33A A7CB 840C

To claim this, I am signing this object:

@gastonmorixe
gastonmorixe / active_interaction_custom_flter.rb
Created July 13, 2021 03:03
active_interaction custom filter
require "minitest/matchers"
require "minitest/autorun"
require "active_interaction"
module ActiveInteraction
class Base
end
class MixedFilter < Filter
register :mixed
@gastonmorixe
gastonmorixe / CalendarIndex.tsx
Last active March 5, 2021 13:23
Calendar with Timezones Support
import * as React from "react"
import styled from "styled-components"
import { Observer } from "mobx-react"
// import { createViewModel, ViewModel } from "mobx-utils"
import { Responsive } from "~/components/Responsive"
import { Moment } from "~/utils/moment"
import { Header } from "./Header"
import { MonthView } from "./MonthView"
@gastonmorixe
gastonmorixe / gist:9dc149b75a0d18c20758ca2d05f48d2e
Created September 24, 2020 18:35
com.apple.kext.AMDRadeonX6000Framebuffer Crash
panic(cpu 4 caller 0xffffff80125ee316): Kernel trap at 0xffffff7fa4db2152, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x000000000000001c, CR3: 0x000000002650e000, CR4: 0x00000000003626e0
RAX: 0xffffff7fa4fd5fe0, RBX: 0xffffff9398617c00, RCX: 0x000000000000ffff, RDX: 0x0000000000000001
RSP: 0xffffffa0b9b43db0, RBP: 0xffffffa0b9b43dc0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8: 0x0000000000000001, R9: 0x0000000000000000, R10: 0xffffff7fa4fc0b01, R11: 0x0000000000000080
R12: 0xffffff9397029c00, R13: 0xffffff86e3f98af0, R14: 0xffffff9398617c00, R15: 0xffffff86e526c0e0
RFL: 0x0000000000010246, RIP: 0xffffff7fa4db2152, CS: 0x0000000000000008, SS: 0x0000000000000000
Fault CR2: 0x000000000000001c, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 0, VF: 1
Backtrace (CPU 4), Frame : Return Address
this is file 1

Keybase proof

I hereby claim:

  • I am gastonmorixe on github.
  • I am gastonmorixe (https://keybase.io/gastonmorixe) on keybase.
  • I have a public key ASC994buF5yL3o4EjN1ueuaAMOOrSR99Z6kx37c_JcOUpwo

To claim this, I am signing this object: