Skip to content

Instantly share code, notes, and snippets.

View ralexrdz's full-sized avatar

Raul Rodriguez ralexrdz

  • Vientos
  • Mexico City
View GitHub Profile
class Properties {
constructor (tableBuffer) {
this.tableBuffer = tableBuffer;
this.properties = [];
if (tableBuffer === null) return
this.tableHeaderLength = tableBuffer.readInt16LE(8);
this.recordLength = tableBuffer.readInt16LE(10);
@ralexrdz
ralexrdz / registerGroupRunnerWithCache.md
Created April 8, 2024 17:58
Gitlab Selfhosted Runner with Cache Configured

Have docker installed

https://docs.docker.com/engine/install/ubuntu/

Install gitlab runner

export arch=amd64
curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb"
dpkg -i gitlab-runner_${arch}.deb
@ralexrdz
ralexrdz / allow-paste.js
Created April 17, 2024 17:24
Allow Paste
(function(){var inputs=document.querySelectorAll('input');for(var i=0;i<inputs.length;i++){inputs[i].setAttribute('onpaste','');}console.log('onpaste attribute set on all input tags');})();