This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // ==UserScript== | |
| // @name Factory Taker | |
| // @version 1 | |
| // @grant none | |
| // @match *://*/* | |
| // @namespace bersLucas/AngularJSFactoryTaker | |
| // ==/UserScript== | |
| window.onload = () => { | |
| setTimeout(() => { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | * { | |
| color: orange !important; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| Source: https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#can-i-install-extensions-or-themes-from-the-chrome-webstore | |
| Change the flag chrome://flags/#extension-mime-request-handling to Always prompt for install. | |
| Then when using the CRX URL from the omnibox or the custom search engine, the browser will prompt for installation. | |
| */ | |
| // LastPass | |
| https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion=73.0&x=id%3Dhdokiejnpimakedhajhdlcegeplioahd%26installsource%3Dondemand%26uc | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export default function liljs(elem, data = {}, methods = {}) { | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var pako = require('pako'); | |
| var fs = require('fs'); | |
| fs.readFile('INPUT_FILENAME', (err, data) => { | |
| var compressedFile = pako.gzip(data); | |
| fs.writeFile('OUTPUT_FILENAME', compressedFile, (err) => { | |
| console.log('Unable to gzip file!'); | |
| }); | |
| }); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //Please be nice to me | |
| let day1 = (input) => { | |
| return input.split('\n').reduce((acc, cur) => { | |
| return parseInt(acc) + parseInt(cur) | |
| }, 0); | |
| } | |
| let day2 = (input) => { | |
| let lines = []; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | let W = 90, | |
| H = 150, | |
| a = []; | |
| for (var x = 0; x <= W; x++) { | |
| a[x] = []; | |
| for (var y = 0; y <= H; y++) { | |
| a[x][y] = 0 | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // ==UserScript== | |
| // @name Tracklist Auto-fill for RateYourMusic.com | |
| // @version 1.0.3 | |
| // @grant none | |
| // @match https://rateyourmusic.com/releases/ac | |
| // @match https://rateyourmusic.com/releases/ac?* | |
| // @namespace bersLucas/RYM | |
| // ==/UserScript== | |
| const searchURL = (url, scraper) => { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | navigator.geolocation.getCurrentPosition( | |
| //success | |
| function(response){console.log(response)}, | |
| //fail | |
| function(response){console.log(response)}, | |
| {enableHighAccuracy: false, maximumAge: 15000, timeout: 30000} | |
| ); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function randomBgAndText(contrast){ | |
| var r = Math.round(Math.random() * 255); | |
| var g = Math.round(Math.random() * 255); | |
| var b = Math.round(Math.random() * 255); | |
| var rText = r + 127 * (contrast / 100); | |
| var gText = g + 127 * (contrast / 100); | |
| var bText = b + 127 * (contrast / 100); | |
| if (rText > 255){ |