Skip to content

Instantly share code, notes, and snippets.

View poqudrof's full-sized avatar

Jeremy Laviole poqudrof

View GitHub Profile
@poqudrof
poqudrof / icon-method-generation.rb
Created July 29, 2020 11:08
RUBY - RAILS - Example on how to generate methods app-wide icons
# Example on how to generate methods app-wide icons
# FAS icons
names = %w[dealership profile home users user
ordered delivered
]
icons = %w[hotel user-circle home users user
box-open truck-loading
]
# Maintainer: Tassos Natsakis <7712382@eipieq.com>
# Packager: Tassos Natsakis <7712382@eipieq.com>
# Update to 2.1.3 Pouqdrof <poqudrof at gmail dot com>
pkgname="astra-sdk"
pkgver="2.1.3"
_pkgcsum="94bca0f52e"
_pkgtstamp="20210608T062039Z"
pkgrel=1
pkgdesc='SDK for the Astra Camera from Orbbec'
import fr.inria.papart.procam.*;
import fr.inria.papart.procam.camera.*;
import fr.inria.papart.depthcam.*;
import fr.inria.papart.depthcam.devices.*;
import fr.inria.papart.depthcam.analysis.*;
import tech.lity.rea.pointcloud.*;
import org.bytedeco.javacv.*;
import org.bytedeco.opencv.opencv_core.*;
// import org.bytedeco.javacpp.freenect;
@poqudrof
poqudrof / list.md
Last active November 2, 2022 15:37
Inkscape 92 on arch linux - November 2022

List of packages required

Install inkscape 0.92 on arch linux.

Dig these files from the archive

https://archive.archlinux.org/packages/

  • inkscape-0.92.5-2-x86_64.pkg.tar.zst
  • gsl-2.6-1-x86_64.pkg.tar.xz
@poqudrof
poqudrof / best_in_place.js
Last active January 25, 2023 23:17
Best in place for Rails 6 and Turbo
/*
* BestInPlace (for jQuery)
* version: 3.0.0.alpha (2014)
*
* By Bernat Farrero based on the work of Jan Varwig.
* Examples at http://bernatfarrero.com
*
* Licensed under the MIT:
* http://www.opensource.org/licenses/mit-license.php
*
@poqudrof
poqudrof / highlight_sidebar_controller.js
Last active October 17, 2023 22:30
Stimulus controller we created to replace ActiveLink .
// src/controllers/highlight_sidebar_controller.js
import { Controller } from "stimulus"
export default class extends Controller {
onCurrentController() {
let activeLinks = this.data.get("active-on"));
return activeLinks == App.controller;
}