This file contains 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
// samayo/country-json/country-by-flag.json | |
// node | |
const fs = require('fs'); | |
const {optimize} = require('svgo'); | |
// const filename = '2-countries-by-flag.json'; | |
const filename = 'country-by-flag.json'; |
This file contains 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('adding window.viewportsByNumber'); | |
window.viewportsByNumber = [ | |
{ 'w': 390, 'h': 670, 'n': 8691 }, { 'w': 393, 'h': 666, 'n': 4800 }, | |
{ 'w': 375, 'h': 635, 'n': 4618 }, { 'w': 390, 'h': 664, 'n': 2503 }, | |
{ 'w': 393, 'h': 660, 'n': 2318 }, { 'w': 414, 'h': 721, 'n': 2130 }, | |
{ 'w': 375, 'h': 641, 'n': 1890 }, { 'w': 428, 'h': 752, 'n': 1692 }, | |
{ 'w': 375, 'h': 559, 'n': 1643 }, { 'w': 375, 'h': 629, 'n': 1393 }, | |
{ 'w': 430, 'h': 746, 'n': 1231 }, { 'w': 412, 'h': 783, 'n': 824 }, | |
{ 'w': 390, 'h': 663, 'n': 766 }, { 'w': 393, 'h': 722, 'n': 577 }, | |
{ 'w': 414, 'h': 715, 'n': 565 }, { 'w': 390, 'h': 669, 'n': 543 }, |
This file contains 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
alert('XSS!'); | |
console.log('XSS!'); |
This file contains 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
http://www.youtube.com/?feature=player_embedded&v=dQw4w9WgXcQ | |
http://www.youtube.com/?v=dQw4w9WgXcQ | |
http://www.youtube.com/e/dQw4w9WgXcQ | |
http://www.youtube.com/embed/tmY-G6sngk8 | |
http://www.youtube.com/embed/tmY-G6sngk8?rel=0 | |
http://www.youtube.com/v/-wtIMTCHWuI?version=3&autohide=1 | |
http://www.youtube.com/v/0zM3nApSvMg?fs=1&hl=en_US&rel=0 | |
http://www.youtube.com/v/dQw4w9WgXcQ | |
http://www.youtube.com/watch?feature=player_embedded&v=dQw4w9WgXcQ | |
http://www.youtube.com/watch?v=-wtIMTCHWuI |
This file contains 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
#!/usr/bin/env python3 | |
# -*- coding: UTF-8 -*- | |
print('Starting...', flush=True) | |
import logging | |
logging.basicConfig(level=logging.DEBUG, | |
filename='/home/pi/lora/mapping.log', | |
filemode='a', | |
format='[%(asctime)s] %(message)s') |