何故オブジェクト指向はクソなのか by Joe Armstrong(Erlangの作者)
このドキュメントは http://www.bluetail.com/~joe/vol1/v1_oo.html で行われたオリジナルの講演のコピーである
このドキュメントは http://www.bluetail.com/~joe/vol1/v1_oo.html で行われたオリジナルの講演のコピーである
const puppeteer = require('puppeteer'); | |
(async () => { | |
const browser = await puppeteer.launch() | |
const page = await browser.newPage() | |
const navigationPromise = page.waitForNavigation() | |
await page.setViewport({ width: 1920, height: 1103 }) | |
await page.goto('https://www.yahoo.co.jp/') | |
await page.click('form > #srchfield > #srchbd > p > #srchbtn') | |
await navigationPromise | |
await page.click('#WS2m > .w:nth-child(1) > .hd > h3 > a') |
for file in *.m4a; do ffmpeg -qscale 0 -i "$file" "${file%.m4a}.mp3"; done | |
#128kに変換するなら-abを使う | |
for file in *.m4a; do ffmpeg -aq 100 -i "$file" "${file%.m4a}.mp3"; done |
import static org.junit.jupiter.api.Assertions.assertEquals; | |
import org.junit.jupiter.api.Test; | |
class ThreePhaseTest { | |
@Test | |
void firstTest() { | |
// Arrange | |
pandoc title.txt intro/index.md object/general.md object/prototype.md object/hasownproperty.md object/forinloop.md function/general.md function/this.md function/closures.md function/arguments.md function/constructors.md function/scopes.md array/general.md array/constructor.md types/equality.md types/typeof.md types/instanceof.md types/casting.md core/eval.md core/undefined.md core/semicolon.md core/delete.md other/timeouts.md -o Javascript-Garden.epub |
# -*- coding: utf-8 -*- | |
require 'nokogiri' | |
require 'open-uri' | |
require "FileUtils" | |
target = "http://twelve-factor-ja.herokuapp.com" | |
html = Nokogiri::HTML(open(target)) | |
top_article = html.css(".abstract") |
require 'nokogiri' | |
require 'open-uri' | |
require "FileUtils" | |
target = "http://www.iij-ii.co.jp/lab/techdoc/coqt/" | |
html = Nokogiri::HTML(open(target)) | |
url_list = html.css("#home-main ol li a").collect{|a| target + a["href"]} | |
require 'nokogiri' | |
require 'open-uri' | |
require "FileUtils" | |
html = Nokogiri::HTML(open("http://peta.okechan.net/blog/llvm%E3%81%AB%E3%82%88%E3%82%8B%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E%E3%81%AE%E5%AE%9F%E8%A3%85")) | |
url_list = html.css("article li a").collect{|a| a["href"]} | |
article_list = url_list.collect{|url| | |
article_doc = Nokogiri::HTML(open(url)) |
[Environment]::SetEnvironmentVariable(“temp”, “D:\temp”, “User”) |
<Window x:Class="FodyPractice.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="MainWindow" Height="350" Width="525"> | |
<Grid> | |
<TextBox HorizontalAlignment="Left" Height="23" Margin="29,25,0,0" TextWrapping="Wrap" Text="{Binding FirstName}" VerticalAlignment="Top" Width="120"/> | |
<TextBox HorizontalAlignment="Left" Height="23" Margin="199,25,0,0" TextWrapping="Wrap" Text="{Binding FamilyName}" VerticalAlignment="Top" Width="120"/> | |
<TextBlock FontSize="40" HorizontalAlignment="Left" Margin="29,80,0,0" TextWrapping="Wrap" Text="{Binding DisplayName}" VerticalAlignment="Top" Height="60" Width="290"/> | |
</Grid> |