Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
Content Warning: JavaScript

Stepan Bolotnikov Stopa

🙃
Content Warning: JavaScript
View GitHub Profile
@verrev
verrev / poverty.js
Last active Feb 27, 2020
praad.ee poverty filter | put this in the link part of a boomark and click the bookmark on praad.ee
View poverty.js
javascript:(() =>{
s = document.createElement("script");
s.type = "text/javascript";
s.innerHTML = `(maxPrice =>
[...document.getElementsByClassName("meal")].forEach(offer => {
const foods = document.evaluate(
"div[2]/div/div[2]",
offer,
null,
XPathResult.FIRST_ORDERED_NODE_TYPE,
@tanelj
tanelj / voog_migrator.rb
Last active Mar 18, 2019
Small script to migrate content between websites that are build with Voog CMS (www.voog.com). Read more about Voog API www.voog.com/developers/api
View voog_migrator.rb
#!/usr/bin/env ruby
# voog_migrator.rb
#
# Small script to migrate content between websites that are build with Voog CMS.
# This tool is using Ruby client of the Voog API: https://github.com/Voog/voog.rb.
#
# Read more about Voog API http://www.voog.com/developers/api.
# This tools allows to analyze source and target host (default action when running this script without any parameters)
@JohnBunka
JohnBunka / embed-pdf-google-viewer.php
Created Aug 16, 2013
Embed PDFs with Google PDF viewer
View embed-pdf-google-viewer.php
<iframe src="http://docs.google.com/gview?url=http://example.com/mypdf.pdf&embedded=true" style="width:100%; height:1000px;" frameborder="0"></iframe>