IT |
気になる、記になる… |
2018年に噂された安価なドングル版「Apple TV」、世に出ることはなさそう |
https://taisy0.com/2021/09/11/145247.html
|
theinformati |
2021-09-11 02:54:17 |
TECH |
Engadget Japanese |
EpicのApp Store裁判、アップルには決済システム強制禁止の判決。一方でEpicの規約違反も認定 |
https://japanese.engadget.com/apple-epic-games-lawsuit-025024275.html
|
appstore |
2021-09-11 02:50:24 |
TECH |
Engadget Japanese |
カシオ G-SHOCKが最大34%オフ:Amazonセール9月13日まで |
https://japanese.engadget.com/g-shock-020515245.html
|
amazon |
2021-09-11 02:05:15 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】GooglePhotosAPIで写真・動画のバックアップを取得する方法 |
https://qiita.com/tokkun5552/items/38b4d678ccc3e2f796fa
|
shellモジュールでも冪等性が担保されるように、installrequirepackagepipwithshellconfirmでインストールされているかどうかを確認し、installrequirepackagepipwithshellinstallでインストールされていないパッケージのみインストールしています。 |
2021-09-11 11:04:58 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
kintone 日付 to 日付の重複チェック |
https://qiita.com/zackey_/items/ba93f0f219ae225f766f
|
ダメな例借用者Aand本番号and日付or日付orこうなると、最初の日だけ、借用者と本番号の指定があり、以降は日付がのすべてのレコードを参照することになる。 |
2021-09-11 11:56:01 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Laravelの認証のコントローラーの場所がわかりません。 |
https://teratail.com/questions/358914?rss=all
|
Laravelの認証のコントローラーの場所がわかりません。 |
2021-09-11 11:54:04 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
JavaScriptで二次元配列の文字列でソート |
https://teratail.com/questions/358913?rss=all
|
JavaScriptで二次元配列の文字列でソート前提・実現したいこと二次元配列を文字列でソートしたい。 |
2021-09-11 11:53:49 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Admobのイベント設定でエラーが出る |
https://teratail.com/questions/358912?rss=all
|
Admobのイベント設定でエラーが出る僕は自分のUnityアプリにadmobを使ったリワード広告を実装しようとして、その際イベントを組み込もうとしたところエラーに見舞われました。 |
2021-09-11 11:46:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
テーマで自動生成されるcanonicalを消したい |
https://teratail.com/questions/358911?rss=all
|
テーマで自動生成されるcanonicalを消したい前提・実現したいことWordpressでystandardというテーマを利用しています。 |
2021-09-11 11:46:08 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Docker laravel composer create で RuntimeExceptionエラー |
https://teratail.com/questions/358910?rss=all
|
DockerlaravelcomposercreateでRuntimeExceptionエラーMicrosoftnbspAzurenbspの仮想マシンnbspUbuntunbspにDockerをインストールして作成したコンテナ内でcomposercreateprojectlaravellaravelpreferdistlaravelappコマンドを実行。 |
2021-09-11 11:44:43 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ターミナルでwordpressをインストールしたいが、エラー発生 |
https://teratail.com/questions/358909?rss=all
|
ターミナルでwordpressをインストールしたいが、エラー発生awsを利用しwordpressを構築しているのですが、wordpressをインストール最中にtarnbspzxvfnbsplatestjatargzでエラーが出てしまってググってみたものの解決質問させてもらっています。 |
2021-09-11 11:43:35 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
gem install が進みません |
https://teratail.com/questions/358908?rss=all
|
mecabは正常に作動します。 |
2021-09-11 11:41:29 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
discord.py で音量変更 |
https://teratail.com/questions/358907?rss=all
|
discordpyで音量変更前提・実現したいことdiscordpynbspで音量調節をコマンドできるようになりたい。 |
2021-09-11 11:37:17 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Javaでスケジュール管理を行うLINEbot作成をしたいが、予定削除がうまくいかない |
https://teratail.com/questions/358906?rss=all
|
Javaでスケジュール管理を行うLINEbot作成をしたいが、予定削除がうまくいかない前提・実現したいことjavaでスケジュール管理を行うLINEbotを作成しているのですが、予定の登録・確認まではうまくできるようになったのですが、予定の削除を行うことがうまくいきません。 |
2021-09-11 11:26:05 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
alertを2回経由しないと中身が呼び出されません. |
https://teratail.com/questions/358905?rss=all
|
|
2021-09-11 11:23:08 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ListView でCheckBoxを特定の行だけ表示する |
https://teratail.com/questions/358904?rss=all
|
ListViewでCheckBoxを特定の行だけ表示するandroidのListViewnbspでCheckBoxを条件を付された特定の行にだけ表示するのにはどうしたらいいですか。 |
2021-09-11 11:12:10 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
(MAC)PATHは設定できていますが、ターミナルで「open アプリ名.app」でアプリが起動できない。 |
https://teratail.com/questions/358903?rss=all
|
MACPATHは設定できていますが、ターミナルで「openアプリ名app」でアプリが起動できない。 |
2021-09-11 11:07:25 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
タイマーを複数クライアントで共有できるWebアプリをつくりたい |
https://teratail.com/questions/358902?rss=all
|
タイマーを複数クライアントで共有できるWebアプリをつくりたいタイマーを複数クライアントで共有できるWebアプリケーションをPHPJavaScriptMySQL等で作りたいと考えています。 |
2021-09-11 11:02:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Android StudioでSHA1を確認したい |
https://teratail.com/questions/358901?rss=all
|
AndroidStudioでSHAを確認したいプログラミング初心者です。 |
2021-09-11 11:00:44 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS SSMでFTPソフトを使用して、ローカルマシンからPrivate EC2へファイル転送 |
https://qiita.com/namely_/items/ab62421954402ce749c9
|
動作検証はしてませんが早速やってみたIAMロールを作成AmazonSSMManagedInstanceCoreポリシーを含むロールを作成ECへアタッチする先ほど作成したロールをECにアタッチします。 |
2021-09-11 11:34:04 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Amazon s3 にIPアドレス制限をかけるときの注意点 |
https://qiita.com/aikohki/items/522b4f51360c48f14820
|
私の場合はまさにルートユーザでの操作ができないタイプのサービスでしたので、バケットがずーっと残ったままになっていますorzオンプレNASからSへの接続設定NASの機種によると思いますが、必要なのはたいていアクセスキーIDシークレットアクセスキーバケット名くらいかと思われます。 |
2021-09-11 11:27:07 |
golang |
Goタグが付けられた新着投稿 - Qiita |
【Go】シングルクォーテーションとダブルクォーテーションの型 |
https://qiita.com/obr-note/items/a3b81e258494dbf470b3
|
|
2021-09-11 11:35:38 |
Linux |
CentOSタグが付けられた新着投稿 - Qiita |
【Python】GooglePhotosAPIで写真・動画のバックアップを取得する方法 |
https://qiita.com/tokkun5552/items/38b4d678ccc3e2f796fa
|
shellモジュールでも冪等性が担保されるように、installrequirepackagepipwithshellconfirmでインストールされているかどうかを確認し、installrequirepackagepipwithshellinstallでインストールされていないパッケージのみインストールしています。 |
2021-09-11 11:04:58 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
パブリックプレビューの Azure Private Link NSG を試してみた |
https://qiita.com/mnrst/items/cdfaaa17303e025884fd
|
パブリックプレビューのAzurePrivateLinkNSGを試してみた背景と目的クローズドなVNET環境からAzureのサービスへ接続する時は、サービスエンドポイントをサブネットに適用して利用する事が一般的だと思います。 |
2021-09-11 11:28:58 |
海外TECH |
DEV Community |
Supabase Storage CDN and Transformation with Serverless function (Unofficial) |
https://dev.to/zernonia/supabase-storage-cdn-and-transformation-with-serverless-function-unofficial-go
|
Supabase Storage CDN and Transformation with Serverless function Unofficial This tutorial is just a temporary alternative while Supabase team is working hard to ship more and more features where Storage CDN and Transformation is in their pipeline source On that note congratulations Supabase team on raising M as an open source backend as a service startup Get started Take note We will be using Vercel Serverless function to make this magic happens the code might be different but the logic is the same We will be serving and transforming Public bucket only If you wish to see how to implement these magic with Supabase Auth for RLS remember to follow me for more tutorial With that said we will go through just a few simple steps to implement this magic on our Supabase Storage s images Getting Image bucket amp nameWe will be using bucket name and file name variable to call the serverless function instead of the full public url If not your image link would be super duper long and unneccessary Here are some of the way you could prepare the bucket name and or file name If you are allowing your users to upload static content to Public bucket then take note of the bucket name and file name users keyed in const bucket name static your bucket nameconst file name avatar png name for the fileconst avatarFile event target files const data error await supabase storage from avatars upload bucket name file name avatarFile cacheControl upsert false You can get use from list to retrieve the images you want in a bucket In this case I will simply just list everything in my bucket name bucket const data error await supabase storage from bucket name list const file names data map item gt item names If you already have the public URL fetch together in another query with link such as then you can quickly get the bucket name and file name usinglet link let bucket name file name link split public split Alright now we have our appropriate variable we can start construct our new link to slot into lt img gt tag Construct new linkBecause we are using Vercel serverless function we need to wrap our img url around the api route If you are using Vercel for your current project you can simply use the following code to generate new link for your lt img gt const params new URLSearchParams f file name b bucket name params we haven t mentioned const new link window location origin api resize params toString If you are not using Vercel as deployment you can easily forked this repo that I created for this tutorial You just have to follow the steps and setup your env on Vercel If you wanted to learn more on how this function works continue follow along Serverless functionThis part is where the magic happens let s create a new file in your project root named api resize ts be default Vercel will convert all files in api folder into serverless function Then you have to install a few packages I m using yarn and typescript you can use npm and plain Javascript if you likeyarn add sharp axiosyarn add D vercel node types sharpNext create a basic function as such import VercelRequest VercelResponse from vercel node import sharp from sharp import axios from axios export default async req VercelRequest res VercelResponse gt res end Hi To quickly test out the api run vercel dev to spin up Vercel Development Server Then visit http localhost api resize it should response with Hi After that replace the function with this export default async req VercelRequest res VercelResponse gt const query w h f b q req this tricks to deconstruct all the nested query into it s own variable parameters w width pixel h height pixel f file name b bucket name q quality to res end Hi Remember we have created a new link for the image just now Now we have to construct it back to original url then convert it to Buffer Thankfully axios make this job so easy export default async req VercelRequest res VercelResponse gt check if bucket name and file name are available else return error if f amp amp b const url process env SUPABASE URL storage v object public b f const buffer await axios url responseType arraybuffer data as Buffer res statusCode res setHeader Content Type image png res end buffer else res statusCode res setHeader Content Type text html res end lt h gt Internal Error lt h gt lt p gt Sorry there was a problem lt p gt You can now test this api endpoint as such http localhost api resize f avatar png amp b static Of course you need to have the image in your bucket to see if your image is generated If it works let continue on the longest script in this tutorial where we use sharp to transfrom our image to the desire width height or quality export default async req VercelRequest res VercelResponse gt if f amp amp b here we create a new params object to convert string to number and also set default value const new params w w set default px h h null set to null if not provided so that Sharp automatically keep the aspect ratio q q set default quality here s where the Transformation happens sharp buffer resize new params w new params h jpeg quality new params q change to webp if you want to serve as webp toBuffer then data gt here s where set the cache I set to cache the media for week seconds minutes hours days remove setHeader Cache Control if you wish not to cache it res statusCode res setHeader Cache Control public immutable no transform s maxage max age res setHeader Content Type image jpeg res end data else res statusCode res setHeader Content Type text html res end lt h gt Internal Error lt h gt lt p gt Sorry there was a problem lt p gt That s it Just a few line of codes and you have your own CDN and Transformation for Supabase Storage ready to go But Don t forget the new link we created at our frontend Lastly This is the last step for this tutorial we generated new link previously but now it is ready to add more parameter Set a few width so that cache is more efficient and need not to create so many cache when different browser visit your website let windowWidth if window innerWidth gt windowWidth else if window innerWidth gt windowWidth else windowWidth const params new URLSearchParams f file name b bucket name w windowWidth h null set to null to keep image s aspect ratio q const new link window location origin api resize params toString set the src to new linkdocument getElementById myImg src new link And we are DONE All source code for this tutorial can be found here ShowcaseCheck out Made With Supabase and inspect the lt img gt you will see the similar code there with slight minor change What is Made With Supabase It is a collection of projects that made with Supabase Feel free to submit your Supabase project share the awesome ness of Supabase with the world Before you goIf you find this tutorial helpful and wish to lean more then follow me here and follow my Twitter Zernonia zernonia If you are using supabase for your project remember to madewithsupabase or submit your project at the madewifsupabase website ya twitter com madewifsupabas… PM Aug Made With Supabase madewifsupabase We have some new projects listed on madewithsupabase Hooray Check out at or you can see them at the tweet below |
2021-09-11 02:47:45 |
Apple |
AppleInsider - Frontpage News |
Apple TV+ signs John Lithgow to cast of 'Sharper' ahead of filming next week |
https://appleinsider.com/articles/21/09/11/apple-tv-signs-john-lithgow-to-cast-of-sharper-ahead-of-filming-next-week?utm_medium=rss
|
Apple TV signs John Lithgow to cast of x Sharper x ahead of filming next weekActor John Lithgow is set to star alongside Julianne Moore and Sebastian Stan in Apple TV original film Sharper produced by Apple Films and A Lithgow will take an as yet unannounced role in the film which is scheduled to start principal photography on Monday reports Deadline Sharper is based on The Black List spec script by Brian Gatewood and Alessandro Tanaka and follows the exploits of a con artist Moore as she navigates the upper echelons of New York City The film s plot has not been fully disclosed though the report says the story winds its way from the penthouses of Fifth Avenue to the shadowy corners of Queens Read more |
2021-09-11 02:06:59 |
Apple |
AppleInsider - Frontpage News |
Prototype reveals Apple considered cellular Apple Watch Series 2 |
https://appleinsider.com/articles/21/09/10/prototype-reveals-apple-considered-cellular-apple-watch-series-2?utm_medium=rss
|
Prototype reveals Apple considered cellular Apple Watch Series A supposed Apple Watch Series prototype reveals Apple was working to introduce a cellular version of its wearable in and experimenting with gold stainless steel casings Apple debuted cellular capable variants of Apple Watch in with the launch of Apple Watch Series but earlier rumblings claimed the company planned to introduce the technology with Apple Watch Series It appears that Apple was indeed working toward integration of LTE in a second generation device as evidenced by photos and information of a prototype unit shared on Twitter by DongleBookPro The user is known for their collection of prototype and unreleased Apple devices and has in the past shed light on previously unknown or rumored internal projects Read more |
2021-09-11 02:15:06 |
Apple |
AppleInsider - Frontpage News |
Apple stock closes down 3% on news of Epic ruling |
https://appleinsider.com/articles/21/09/10/apple-stock-closes-down-3-on-news-of-epic-ruling?utm_medium=rss
|
Apple stock closes down on news of Epic rulingApple s stock price dipped more than at the end of trading Thursday after a mixed ruling was handed down in the Epic v Apple court case Shares of Apple closed down or to hit at the bell the stock s worst performance in months Trading peaked at before suffering a precipitous decline shortly after a m Eastern around the time when news of the Epic case decision broke In a ruling today U S District Judge Yvonne Gonzalez Rogers found Epic did not demonstrate that Apple s control of the App Store constitutes a monopoly but did require tech giant to offer alternative payment methods for in app purchases The decision s wording leaves wiggle room for interpretation and people familiar with Apple s thinking believe developers will only be allowed to include links to outside payment options not implement third party systems in app CNET reports Read more |
2021-09-11 02:04:59 |
ニュース |
BBC News - Home |
9/11 anniversary: Biden calls for unity as US prepares to mark attacks |
https://www.bbc.co.uk/news/world-us-canada-58524715?at_medium=RSS&at_campaign=KARANGA
|
anniversary |
2021-09-11 02:27:35 |
LifeHuck |
ライフハッカー[日本版] |
私がまったくお財布を使わなくなった理由 |
https://www.lifehacker.jp/2021/09/use-smartphone-instead-of-wallet.html
|
財布 |
2021-09-11 12:00:00 |
北海道 |
北海道新聞 |
バス車体に「海上保安官募集」 1管本部、コンサドーレとコラボ |
https://www.hokkaido-np.co.jp/article/588111/
|
海上保安官 |
2021-09-11 11:13:19 |
北海道 |
北海道新聞 |
中谷潤人、4回TKOで初防衛 WBOフライ級 |
https://www.hokkaido-np.co.jp/article/588112/
|
世界ボクシング機構 |
2021-09-11 11:13:00 |
北海道 |
北海道新聞 |
筒香は3打数1安打 チームは逆転サヨナラ勝ち |
https://www.hokkaido-np.co.jp/article/588110/
|
逆転 |
2021-09-11 11:01:00 |
コメント
コメントを投稿