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 PokerChipForum Viewed Listings Tracker | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description Grey out viewed listings on PokerChipForum marketplace | |
| // @author You | |
| // @match https://www.pokerchipforum.com/* | |
| // @grant none | |
| // ==/UserScript== |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>3D Poker Chip Renderer</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/build/cannon.min.js"></script> | |
| <style> | |
| body { |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>3D Poker Chip Renderer</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> | |
| <style> | |
| body { | |
| margin: 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
| ### Keybase proof | |
| I hereby claim: | |
| * I am dylan-chong on github. | |
| * I am dylanchongspoke1 (https://keybase.io/dylanchongspoke1) on keybase. | |
| * I have a public key ASBDqAf3Jipzu14Y7U2K4v7febrathxf1iVI8LAdJO7HaAo | |
| To claim this, I am signing this object: |
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
| console.log(Array.from(document.querySelectorAll('tr')).map(tr => Array.from(tr.getElementsByTagName('td')).map(td => td.innerText).join('\t')).join('\n')) |
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
| IO.puts "Reading activity monitor data from clipboard:" | |
| {activity_monitor_data, 0} = System.cmd("pbpaste", []) | |
| memory_grouped_by_name = | |
| activity_monitor_data | |
| |> String.split("\n") | |
| |> Enum.filter(fn line -> | |
| match? [_name, _size | _], String.split(line, "\t") | |
| end) | |
| |> Enum.map(fn line -> |
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 pattern = /\b(SEARCHTERM)\b/ | |
| Array | |
| .from(document.getElementsByClassName("manhattan--container--1lP57Ag")) | |
| .forEach(con => | |
| con | |
| .querySelector("h1") | |
| .innerHTML | |
| .match(pattern) | |
| || con.remove() | |
| ) |
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
| find . -type f | while read file; do echo "$(date -r "$file" "+%s %Y-%m-%d %H:%M:%S")" " $file"; done > filechangedates | |
| cat filechangedates | sort -n |
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
| sudo fs_usage -f filesys | grep my-directory |
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
| nvim test/hello.exs -c 'execute "normal! gg/use ExUnit.Case\<CR>A, async: true\<Esc>:wq\<CR>"' -u NONE --headless |
NewerOlder