Skip to content

Instantly share code, notes, and snippets.

View ichii731's full-sized avatar
Holiday

Ichii ichii731

Holiday
View GitHub Profile
root@118-27-8-55:~# cd ytd && php dl.php
object(YouTube\DownloadOptions)#29 (2) {
["formats":"YouTube\DownloadOptions":private]=>
array(18) {
[0]=>
object(YouTube\Models\StreamFormat)#10 (11) {
["itag"]=>
int(18)
["mimeType"]=>
<?php
set_time_limit(0);
require_once('lib/Phirehose.php');
require_once('lib/OauthPhirehose.php');
class FilterTrackConsumer extends OauthPhirehose
{
public function enqueueStatus($status)
{
<html>
<head>
<meta charset="UTF-8">
<!-- モバイル最適化 -->
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- CDN読み込み -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
来月、来るか…!?
ソニーの「WF-1000XM3」は、初めてヘッドホン級のアクティブノイズキャンセリング(ANC)機能を搭載したワイヤレスイヤホンでした。しかし、発売から2年が経過し、アップデートが必要になってきたのも事実。
「WF-1000XM3」は今でも素晴らしいサウンドを提供していますが、Master&Dynamics「MW08」や、Jabra「Elite 85t」のような他社の最新モデルと比較すると、ノイキャンに遅れが見え始めています。「WF-1000XM3」は過去1年間に発売された同様の性能を持つANCワイヤレスイヤホンの中でもかなり大ぶりで、アップデートだけでなくデザインの見直しが必要だと思います。
今年2月には試作品と思われる画像がリークされましたが、週末にThe Walkman Blogが追加の画像を発見したとのこと。公開された画像を見る限り左右両サイドから見た新しいワイヤレスイヤホンと充電ケースの姿が確認できます(以下、「WF-1000XM4(仮)」と呼びます)。
「WF-1000XM4(仮)」は大幅に小型化&軽量化されているため、耳に装着しやすくなっていると思われます。下面には装着状態を検知する近接センサーと充電用の接点があり、上面にはマイク用の開口部が。大きな円形パッドは再生などの操作を行うタッチパッドで、「WF-1000XM3」から引き継がれたもの。一方で欠けていた防水性能が向上しているといいのですが。
<?php
// RSS取得&XMLをPurse
$rss = simplexml_load_file('https://0115765.com/feed');
$cnt = 0;
foreach($rss->channel->item as $val){
// HTML作成
echo "<a href='" . $val->link . "'>" . $val->title . "</a><br>";
echo date("Y年m月d日", strtotime($val->pubDate)) . "<br>";
$cnt++;
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scroll Down Button</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section id="sec-1">
<div class="container">
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-size: 40px;
font-family: "Montserrat";
scroll-behavior: smooth;
}
<?php
/*
日時関連でエラーが出た場合は↓みたいにデフォルトタームゾーンを指定してあげてください。
date_default_timezone_set("America/Los_Angeles");
*/
//YouTube API v3
$API_KEY = "***************************************";
// ユーザー名からチャンネルIDを取得(ID分かってるならスキップOK)
This file has been truncated, but you can view the full file.
[
{
"kind": "youtube#searchResult",
"etag": "cRtdkU1jXJ6Abga3q5S490FrsP0",
"id": {
"kind": "youtube#video",
"videoId": "0t8CH5BAgLY"
},
"snippet": {
"publishedAt": "2011-07-20T15:19:55Z",
At the heart of the fight is whether the tech giants should pay news organizations for the news articles that are shared on their networks. Under a proposed law from the Australian Competition and Consumer Commission, both Google and Facebook would be required to negotiate with media publishers and compensate them for the content that appears on their sites.
Facebook and Google have fought hard to prevent the Australian law — which is expected to pass this week or next — from forcing their hands. But on Wednesday, the two companies sharply diverged on how to head off that regulatory future.
Google began the day by unveiling a three-year global agreement with Rupert Murdoch’s News Corp to pay for the publisher’s news content, one of several such deals it has announced recently where it appears to be effectively capitulating to publishers’ demands. Hours later, Facebook took the opposite tack and said it would restrict people and publishers from sharing or viewing news links in Australia, in a move that was e