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"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
#header { |
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
# frozen_string_literal: true | |
source "http://rubygems.org" | |
gem "asciidoctor" | |
gem "asciidoctor-pdf" | |
gem "asciidoctor-pdf-cjk" | |
gem "coderay" | |
gem "asciidoctor-diagram" | |
gem "concurrent-ruby" | |
gem "filewatcher" |
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 -E gem install rubygems-update --source http://rubygems.org/ |
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
proxy = "http://IP:" | |
insecure |
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
const links = await page.$$eval('a', (list) => { | |
return list.map(e => [e.textContent, e]); | |
}); |
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
const links = (await page.$$('a')); | |
for (let i in links) { | |
const link = links[i]; | |
const link_title = await (await link.getProperty('textContent')).jsonValue(); | |
console.log(link_title); | |
} |
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
xrandr --addmode VIRTUAL1 1024x768 | |
xrandr --output VIRTUAL1 --mode 1024x768 --left-of HDMI3 |
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
const puppeteer = require('puppeteer'); | |
async function get_proxies() { | |
const browser = await puppeteer.launch({ | |
headless: true, | |
// slowMo: 300, | |
// devtools: true, | |
}); | |
const page = await browser.newPage(); | |
await page.goto('http://www.cybersyndrome.net/search.cgi?q=JP'); |
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
code . --ignore-certificate-errors |
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
import re | |
from markdown.preprocessors import Preprocessor | |
from markdown.extensions import Extension | |
import csv | |
import os | |
class CsvTablePreprocessor(Preprocessor): | |
def run(self, lines): |