TECH |
Engadget Japanese |
Windows史に見る"11"の立ち位置。Vistaの末裔なのか?(本田雅一) |
https://japanese.engadget.com/windows-103000902.html
|
Windows史に見るquotquotの立ち位置。 |
2021-06-22 10:30:00 |
TECH |
Engadget Japanese |
電子ペーパー「クアデルノ」2年ぶり刷新、ワコム技術で書きやすさ向上 |
https://japanese.engadget.com/fccl-eink-digital-paper-quaderno-101715264.html
|
quaderno |
2021-06-22 10:17:15 |
IT |
ITmedia 総合記事一覧 |
[ITmedia エンタープライズ] 「NVIDIA Jetson」のSDKに複数の脆弱性 影響は数百万台か |
https://www.itmedia.co.jp/enterprise/articles/2106/22/news150.html
|
itmedia |
2021-06-22 19:48:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 働く女性の57%が「2年以内の退職」を検討 |
https://www.itmedia.co.jp/business/articles/2106/22/news151.html
|
itmedia |
2021-06-22 19:09:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] 三菱ふそう、大型トラック「スーパーグレート」などリコール 5車種1万6719台が対象 |
https://www.itmedia.co.jp/business/articles/2106/22/news153.html
|
itmedia |
2021-06-22 19:08:00 |
IT |
MOONGIFT |
Boring Avatars - React製のアバター生成ライブラリ |
http://feedproxy.google.com/~r/moongift/~3/rc2znXbxWkA/
|
BoringAvatarsReact製のアバター生成ライブラリ認証の伴うWebサイトではプロフィール用のアイコンをアップロードするのが一般的です。 |
2021-06-22 21:00:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【IOS】Iphoneの設定画面のアプリ一覧に表示されない |
https://teratail.com/questions/345505?rss=all
|
【IOS】Iphoneの設定画面のアプリ一覧に表示されない開発環境・Unitynbsp・ターゲットプラットフォームをiOSに向けてビルド・ipaファイルをDeployGate経由で実機にダウンロードしている問題・ダウンロードしたアプリが端末の「設定画面のアプリ一覧」に表示されない・「Siriと検索」の中のアプリ一覧には表示されている・同じ開発環境の別のアプリは設定画面に表示されている・Xcodeから直で端末にビルドしてみたが表示されなかった・再起動、端末容量、バージョンが最新であるか。 |
2021-06-22 19:56:10 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【Docker】VSCodeの拡張機能Remote-Containersで稼働中のコンテナに入るとプロキシ認証でエラーが発生する |
https://teratail.com/questions/345504?rss=all
|
【Docker】VSCodeの拡張機能RemoteContainersで稼働中のコンテナに入るとプロキシ認証でエラーが発生する環境WindowsDockernbspDesktopnbspFornbspWindowsVisualStudioCode拡張機能RemoteContainersnbspmsvscoderemoteremotecontainers社内プロキシ環境下です。 |
2021-06-22 19:54:08 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
FFFTPで動画のアップロードが出来ません |
https://teratail.com/questions/345503?rss=all
|
ffftp |
2021-06-22 19:52:44 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
lambda内でfile_get_contentsが出来ない |
https://teratail.com/questions/345502?rss=all
|
lambda内でfilegetcontentsが出来ない表題の通りなのですが、lambdaをphpnbsplaravelnbspで使用しております。 |
2021-06-22 19:39:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
wordPress header.phpに貼る固定ページへのリンク記載方法 |
https://teratail.com/questions/345501?rss=all
|
wordPressheaderphpに貼る固定ページへのリンク記載方法お世話になっております。 |
2021-06-22 19:19:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
JavaScriptの非同期処理?の方法について。 |
https://teratail.com/questions/345500?rss=all
|
JavaScriptの非同期処理の方法について。 |
2021-06-22 19:13:40 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【Excel VBA】新規ブックにマクロをコピーする際の、編集画面非表示化 |
https://teratail.com/questions/345499?rss=all
|
【ExcelVBA】新規ブックにマクロをコピーする際の、編集画面非表示化前提・実現したいこと新しいブックに現在のブックThisWorkbookの標準モジュールからコードをコピーする際、画面の更新を停止しているにもかかわらず、その工程に入るとVBA編集画面MicrosoftnbspVisualnbspBasicnbspfornbspApplicationsが表示されてしまいます。 |
2021-06-22 19:12:58 |
海外TECH |
DEV Community |
Create PDF documents in Django - Tutorial for Beginners |
https://dev.to/sm0ke/django-create-pdf-148f
|
Create PDF documents in Django Tutorial for BeginnersHello Coders This article explains how to generate PDF documents in Django using different techniques via Django Shell generate the document using a GET parameter and pull an image from the internet and use it to build a new PDF document For newcomers Django is an open source web framework designed by experienced developers that we can use to code from simple one page projects to complex APIs and eCommerce platforms Thanks for reading Content provided by App Generator Topics covered in this tutorialBuilt a new Django AppConfigure Django to activate the new appAdd explain code for each caseGenerate the PDF using Django CLIGenerate a simple dynamic PDF in a new pageGenerate a dynamic PDF using an imageMention a few open source Django Templates Create PDF using Django CLIThis tutorial assumes the audience have already a Django project and we will add a new app that implements the PDF generation process Complete beginners without a working project might find useful a dedicated Django tutorial that covers the Django basics Django for Beginners Install dependencies using a Virtual Environment virtualenv env create a VENV source env bin activate activate VENV pip install reportlabreportlab is the library that brings all the PDF magic to our app Let s use it and create a simple PDF document right in the Django shell python manage py shell start Django CLI gt gt gt gt gt gt import reportlab import the library gt gt gt from reportlab pdfgen import canvas import modules gt gt gt p canvas Canvas pdf Init a PDF object gt gt gt p drawString Hello world Draw a simple String gt gt gt p showPage Create the PDF gt gt gt p save Clean UP the library usageOnce all instructions are executed we should see a new PDF file created in the root of our Django project Let s open the file without leaving the Django shell gt gt gt import os sys gt gt gt os startfile pdf open The startfile helper should open the PDF file using the default handler registered in the operating system Create the new Django app Current Dir ROOT of the Django project python manage py startapp pdf appCode a simple PDF generator File contents app pdf views py partial content from reportlab pdfgen import canvasfrom reportlab lib utils import ImageReaderfrom datetime import datetime def pdf dw request Create the HttpResponse object response HttpResponse content type application pdf This line force a download response Content Disposition attachment filename pdf READ Optional GET param get param request GET get name World Generate unique timestamp ts datetime utcnow strftime Y m d H M S f p canvas Canvas response Write content on the PDF p drawString Hello get param Dynamic PDF ts Close the PDF object p showPage p save Show the result to the user return responseThis simple PDF generator will set a few properties to the HttpResponse object returned to the user read an optional GET parameter and generate a timestamp saved in the PDF Once the new PDF is saved in memory we can return the contents to the user Sample Usage http localhost pdf dw name Bill Gates Generate PDF with an ImageUsing the same reportlab library we can generate PDF documents with embedded images without much effort Let s see the code File contents app pdf views py partial content from reportlab pdfgen import canvasfrom reportlab lib utils import ImageReaderfrom datetime import datetime def pdf img request Create the HttpResponse object with the appropriate PDF headers response HttpResponse content type application pdf Create the PDF object using the response object as its file p canvas Canvas response my image ImageReader p drawImage my image mask auto Close the PDF object p showPage p save Show the result to the user return responsemy image object is the Google logo downloaded from a public address and used in our PDF via drawImage directive Sample output served by http localhost pdf img Once we save the code Django settings must be updated in order to activate the new app Update Django Settings py INSTALLED APPS django contrib admin django contrib auth django contrib contenttypes django contrib sessions django contrib messages django contrib staticfiles app pdf Update Project Routingurlpatterns path admin admin site urls path include app pdf urls lt NEW Thanks for Reading For questions related Django and PDF generation process feel free to AMA in the comments section More Django TemplatesThe open source samples presented in this section might help beginners and not only to code faster a new project in Django by reusing codebase and provided features Black Dashboard DjangoBlack Dashboard Django features over individual components giving you the freedom of choosing and combining This means that there are thousands of possible combinations All components can take variations in color that you can easily modify using SASS files You will save a lot of time going from prototyping to full functional code because all elements are implemented We thought about everything so this dashboard comes with versions Dark Mode and Light Mode Django Codebase is crafted using a simple modular structure that follows the best practices and provides authentication database configuration and deployment scripts for Docker and Gunicorn Nginx stack Any developer with a basic Django Python knowledge by following the product documentation should be able to compile and use the app by typing only a few lines in the terminal Black Dashboard Django LIVE DemoBlack Dashboard Django product page Argon Dashboard DjangoArgon Dashboard is built with over individual components giving you the freedom of choosing and combining All components can take variations in color that you can easily modify using SASS files You will save a lot of time going from prototyping to full functional code because all elements are implemented This Dashboard is coming with pre built examples so the development process is seamless switching from our pages to the real website is very easy to be done Argon Dashboard Django LIVE DemoArgon Dashboard Django product page Material Dashboard DjangoMaterial Dashboard makes use of light surface and movement The general layout resembles sheets of paper following multiple different layers so that the depth and order is obvious The navigation stays mainly on the left sidebar and the content is on the right inside the main panel Material Dashboard Django LIVE DemoMaterial Dashboard Django product pageThank you Feel free to AMA in the comments section |
2021-06-22 10:36:23 |
海外TECH |
DEV Community |
Introduce myself |
https://dev.to/raquelsartwork/introduce-myself-42ld
|
Introduce myself Hi my name is Raquel Santos also known as RS coding I have a bachelor s degree in Visual Design and have worked for many years in the field but as I took a specialization course in front end web development in at the end of I decided to quit my previous job moving to Amsterdam The Netherlands with my boyfriend and started studying code in my spare time while working at clothing stores to have money to pay the bills In middle of I decided that my free time was not enough to learn so I talked to my boyfriend we agreed that I would give up working in stores and would just dedicate myself to studying javaScript reviewing HTML and CSS and learning the new frameworks on the market My self taught front end journey started in late starting in and I m still learning JavaScript and started learning Vue js right now I m not ashamed of my path Nothing is perfect and there are always ups and downs in professional and personal life So I decided to present myself with truth and not give a perfect resume without empty breaks in between We re not robots we re human and that s why we do great things in the world I decided to come here to write every day what I am doing my struggles my accomplishments and things that I feel important in my journey of learning to find a job in what I love |
2021-06-22 10:34:43 |
海外TECH |
DEV Community |
Route traffic to a subdirectory using Cloudflare Workers |
https://dev.to/kactus/route-traffic-to-a-subdirectory-using-cloudflare-workers-i65
|
Route traffic to a subdirectory using Cloudflare WorkersIf you re working on a project or a company where SEO has a certain degree of importance for acquisition there s a great deal of chance you ve already asked yourself this question Should I route traffic to the remotely hosted blog faq documentation as a subdomain blog kactus com or as a subdirectory of my main domain kactus com blog Deep down we d love the answer to be as a subdomain set a CNAME record pointing to kactus blogprovider io and voilà But doing so could be detrimental to your overall domain SEO performance as it would suffer from backlink and keyword dilution In a nutshell it means that keyword matches and backlinks to your blog would not benefit your main domain as from Google perspective they are two different entities So subdirectory or subfolder strategy it is we want to route all traffic from kactus com blog to our remotely hosted blog kactus blogprovider io Starting for our needs what are our options Using a Reverse ProxyIf you have access to your Web Server configuration there s a great deal of chance you can perform the operation directly there For instance for those using NGINX one might configure the desired behavior as location blog proxy pass request uri At Kactus we are a Ruby and Rails shop using Heroku to host our applications and thus we do not have access to the web server configuration When the problem arised approximately years ago at the time of this writing we didn t have many options apart from reverse proxying from the application server directly We used a Ruby gem called rack reverse proxy which implements a Rack middleware used to proxy requests to a foreign service use Rack ReverseProxy do reverse proxy blog timeout preserve host true endIt worked Pretty well actually However as traffic grow up and the business got traction in the past couple of years handling the proxy directly prove to be quite draining performance wise Some weeks reverse proxying to our blog accounted for close to of server time which put into a more economic perspective means we spent close to of our server costs serving our blog pages from a remote server Average response time was also quite bad with an average of ms with peaks close to a second We needed a new solution to scale Enter Cloudflare WorkersAbout a year ago we setup Cloudflare as our edge server and CDN All requests pass through it and are optimized to deliver a top notch experience to our users Since Cloudflare sits in front of our application server we wondered if there was any way we could route incoming requests to different endpoints and stumbled upon Cloudflare Workers Workers are serverless environments that can execute code on the Cloudflare network Cloudflare docs have great examples of applications for this however the one that interests us is proxying requests As said before all requests to our application servers pass through Cloudflare To proxy requests to our blog we need to Catch incoming request starting with blog Fetch the corresponding blog page on kactus blogprovider ioReturn the response to to the userThe first step is quite step forward We set up a route pattern upon which our worker will be triggered direclty on our workers dashboard If you are on the free plan you might want to update the request limit failure mode option to Fail open In that case if you overshoot your worker invocation quota request will simply follow through to your origin We kept our Rack ReverseProxy implementation as a fallback on our end in the case workers broke down Now onto the code Our blog proxy worker is a javacript script that listens to the fetch event trigger workers respond to only one other event which is scheduled for scheduled CRON workers A fetch event is triggered for every incoming request matching the previously set route pattern We respond to this event by fetching the blog page and returning the response to the user const blog hostname kactus blogprovider io async function handleRequest request returns an empty string or a path if one exists const formatPath url gt const pruned url pathname split filter part gt part return pruned amp amp pruned length gt pruned join const parsedUrl new URL request url const targetPath formatPath parsedUrl return fetch https blog hostname targetPath addEventListener fetch event gt event respondWith handleRequest event request The worker editor has a great interface to test and debug your workers before deploying them and making sure everything runs smoothly That s it now our blog is served directly from our main domain as a subdirectory and we can rip all the benefits from a strong SEO setup and improved performances Useful Links and ResourcesCloudflare SEO best practices with workers seriesCloudflare Workers docsPhoto by JoséMartín Ramírez Carrasco |
2021-06-22 10:06:32 |
Apple |
AppleInsider - Frontpage News |
One in four cellphones sold in 2020 were bought online |
https://appleinsider.com/articles/21/06/22/one-in-four-cellphones-sold-in-2020-were-bought-online?utm_medium=rss
|
One in four cellphones sold in were bought onlineNew research says that the coronavirus prompted online orders of smartphones to increase to of phone sales worldwide Apple s iPhone Prompted by COVID the number of cellphones bought online instead of in store increased during On average of all phone handset sales were online with the US seeing while the UK saw and of India s phones were ordered online Read more |
2021-06-22 10:41:02 |
海外TECH |
Engadget |
London's Tube will offer full mobile coverage by the end of 2024 |
https://www.engadget.com/london-tube-full-mobile-coverage-104000309.html?src=rss_b2c
|
connectivity |
2021-06-22 10:40:00 |
海外TECH |
CodeProject Latest Articles |
Azure IoT with Arduino UNO Board to Turn On/Off LED using a .NET Core Console Application |
https://www.codeproject.com/Articles/5306044/Azure-IoT-with-Arduino-UNO-Board-to-Turn-On-Off-LE
|
application |
2021-06-22 10:26:00 |
海外TECH |
WIRED |
47 Best Amazon Prime Day Deals for $50 or Less (Day 2) |
https://www.wired.com/story/best-prime-day-deals-under-50-2021-2
|
amazon |
2021-06-22 10:18:00 |
ニュース |
BBC News - Home |
Poorer white pupils let down and neglected - MPs |
https://www.bbc.co.uk/news/education-57558746
|
committee |
2021-06-22 10:33:18 |
ニュース |
BBC News - Home |
Mason Mount and Ben Chilwell out of England's Euro 2020 clash with Czech Republic |
https://www.bbc.co.uk/sport/football/57564682
|
Mason Mount and Ben Chilwell out of England x s Euro clash with Czech RepublicEngland s Mason Mount and Ben Chilwell are out of Tuesday s game with the Czech Republic as they self isolate because of a risk of Covid exposure |
2021-06-22 10:42:10 |
ニュース |
BBC News - Home |
NHS data strategy: Hancock defends data sharing plan |
https://www.bbc.co.uk/news/uk-57564355
|
health |
2021-06-22 10:27:56 |
ニュース |
BBC News - Home |
Bumble closes to give 'burnt-out' staff a week's break |
https://www.bbc.co.uk/news/business-57562230
|
burnout |
2021-06-22 10:27:32 |
ニュース |
BBC News - Home |
British and Irish Lions: Eight debutants to face Japan |
https://www.bbc.co.uk/sport/rugby-union/57567198
|
japan |
2021-06-22 10:17:46 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日経平均株価の“暴落&急回復”は、FRBの金融政策に 振り回されただけで下値は限定的!「リフレトレードの 巻き戻し」が続くので「グロース系ハイテク株」を狙え! - 成り上がり投資術 |
https://diamond.jp/articles/-/274784
|
|
2021-06-22 19:40:00 |
北海道 |
北海道新聞 |
「個室の在り方考える」 立てこもり事件で国家公安委員長 |
https://www.hokkaido-np.co.jp/article/558505/
|
国家公安委員長 |
2021-06-22 19:18:16 |
北海道 |
北海道新聞 |
釧路管内で1人感染 新型コロナ |
https://www.hokkaido-np.co.jp/article/558474/
|
新型コロナウイルス |
2021-06-22 19:14:32 |
北海道 |
北海道新聞 |
美浜原発3号機、23日に再稼働 関電、国内初の40年超運転 |
https://www.hokkaido-np.co.jp/article/558508/
|
美浜原発 |
2021-06-22 19:14:11 |
北海道 |
北海道新聞 |
夫婦別姓、最高裁23日再び判断 桜井元判事「国会議論後押しを」 |
https://www.hokkaido-np.co.jp/article/558512/
|
東京都内 |
2021-06-22 19:02:00 |
北海道 |
北海道新聞 |
森友問題、組織的改ざん実態判明 「赤木ファイル」開示 |
https://www.hokkaido-np.co.jp/article/558513/
|
森友学園問題 |
2021-06-22 19:06:00 |
北海道 |
北海道新聞 |
最低賃金議論、労使に隔たり 審議会、引き上げ幅が争点 |
https://www.hokkaido-np.co.jp/article/558516/
|
中央最低賃金審議会 |
2021-06-22 19:04:00 |
北海道 |
北海道新聞 |
旭川医大学長選考会議 「解任妥当」と判断 |
https://www.hokkaido-np.co.jp/article/558496/
|
吉田晃敏 |
2021-06-22 19:05:41 |
北海道 |
北海道新聞 |
競歩の勝木「自分のレースする」 鈴木の代表辞退で五輪へ |
https://www.hokkaido-np.co.jp/article/558515/
|
優勝候補 |
2021-06-22 19:04:00 |
北海道 |
北海道新聞 |
阿部一二三「豪快な一本を」 柔道パーク24勢が決意 |
https://www.hokkaido-np.co.jp/article/558514/
|
日本代表 |
2021-06-22 19:04:00 |
ニュース |
Newsweek |
野心露わな中国の宇宙開発、ISSに代わる宇宙ステーションは中国のものに? |
https://www.newsweekjapan.jp/stories/world/2021/06/iss-4.php
|
|
2021-06-22 19:26:00 |
ニュース |
Newsweek |
トルコの海を覆い尽くす「海の鼻水」...茶色い粘液の正体は? |
https://www.newsweekjapan.jp/stories/world/2021/06/post-96556.php
|
大量発生 |
2021-06-22 19:11:00 |
IT |
週刊アスキー |
日本語マニュアルを多言語に自動翻訳ナレッジ管理アプリ「toaster team」新機能 |
https://weekly.ascii.jp/elem/000/004/059/4059974/
|
toasterteam |
2021-06-22 19:30:00 |
IT |
週刊アスキー |
Switchで"ヴァリスの戦士"優子が復活!?「ヴァリス復活応援プロジェクト」クラウドファンディングがスタート! |
https://weekly.ascii.jp/elem/000/004/059/4059994/
|
makuake |
2021-06-22 19:26:00 |
IT |
週刊アスキー |
“おうちで七夕”インスタグラムで参加しよう! 横浜ロイヤルパークホテル、6月23日からオンラインイベントを開催 |
https://weekly.ascii.jp/elem/000/004/059/4059981/
|
instagram |
2021-06-22 19:10:00 |
コメント
コメントを投稿