Skip to content

Instantly share code, notes, and snippets.

View araguaci's full-sized avatar
🌎
coffeeing, praying & coding... 🧭✨

araguaci

🌎
coffeeing, praying & coding... 🧭✨
View GitHub Profile
@araguaci
araguaci / gitstars.json
Last active July 17, 2021 06:13
github stars manager for production
{"lastModified":1596503012295,"tags":[]}
@araguaci
araguaci / finished.js
Created July 17, 2021 06:12 — forked from adrianhajdin/finished.js
Amazon Scraper API
const express = require('express');
const request = require('request-promise');
const PORT = process.env.PORT || 5000;
const app = express();
app.use(express.json());
const returnScraperApiUrl = (apiKey) => `http://api.scraperapi.com?api_key=${apiKey}&autoparse=true`;
@araguaci
araguaci / canadian-aboriginal-0x1400-0x167f.markdown
Last active February 14, 2022 23:30
Canadian Aboriginal => 0x1400 - 0x167F
@araguaci
araguaci / 3d-triforce-with-threejs.markdown
Created February 25, 2022 01:11
3D Triforce with ThreeJS
@araguaci
araguaci / index.html
Created February 25, 2022 01:13
Multi Colored Text with CSS
<div class="wrapper">
<div class="container">
<h1>multi color text with css</h1>
</div>
</div>
const _ = require('lodash')
const actionTree = generateActionTree()
const steps = resolveDependencies(actionTree)
console.log(steps)
function resolveDependencies(cmds) {
const dependencies = fetchDependencies(actionTree)
const steps = chunkIntoSteps(dependencies)
return steps
@araguaci
araguaci / BTree.js
Created March 20, 2022 23:15 — forked from sebastianfdez/BTree.js
FINAL COMPLETE BTREE CLASS
export class BTreeNode {
constructor(isLeaf) {
/**
* @type {number[]} list of values in the node
*/
this.values = [];
/**
* @type {boolean} is a leaf
*/
this.leaf = isLeaf;
@araguaci
araguaci / findPrime.js
Created March 20, 2022 23:16 — forked from lancejpollard/findPrime.js
AKS + Miller Prime Test Combination in JavaScript
// function binomialCoeff(n, k) {
// if ((k === 0) || (k === n)) {
// return 1n
// } else {
// return binomialCoeff(n - 1n, k - 1n) + binomialCoeff(n - 1n, k)
// }
// }
// function isDivisible(value) {
@araguaci
araguaci / ArchLinuxWSL2.md
Created April 7, 2022 13:16 — forked from ld100/ArchLinuxWSL2.md
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Obsolete notice

This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.
@araguaci
araguaci / metronomy-s-small-world.markdown
Created May 27, 2022 02:23
Metronomy's Small World