Skip to content

Instantly share code, notes, and snippets.


vitogit (Alvaro) vitogit

View GitHub Profile
View pgn
[Event "<1700 Rapid Arena"]
[Site ""]
[Date "2019.11.01"]
[White "PedrosF1"]
[Black "artemchampion"]
[Result "1-0"]
[UTCDate "2019.11.01"]
[UTCTime "08:47:32"]
[WhiteElo "1417"]
[BlackElo "1678"]
View move example for vue-chessboard
<div id="app">
<h1>Simple Chessboard with legal moves</h1>
<chessboard ref="cb"/>
import {chessboard} from 'vue-chessboard'
import 'vue-chessboard/dist/vue-chessboard.css'
vitogit / hn_seach_input_filter.js
Last active Feb 1, 2018 — forked from kristopolous/hn_seach.js
Add an input search to filter comments from Hacker News
View hn_seach_input_filter.js
/*Copy this code to the console in HN and it will show a Search filter that you can use to filter the posts from HN*/
function query() {
// HN is done with very unsemantic classes.
job_list ='.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')),
query_list =,
shown = 0, total = job_list.length;
// Traverses up the dom stack trying to find a match of a specific class