TECH |
Engadget Japanese |
個性豊かなヒーローと一緒に弾幕へ飛び込め!東方風シューティング『弾幕ヒーローズ』:発掘!スマホゲーム |
https://japanese.engadget.com/danmaku-heros-211045331.html
|
豊か |
2022-03-28 21:10:45 |
Google |
カグア!Google Analytics 活用塾:事例や使い方 |
フォロワーを増やすよりも大事なトラストインプレッション |
https://www.kagua.biz/marke/business/20220329a1.html
|
露出 |
2022-03-28 21:00:52 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Amazon Web Services 基礎からのネットワーク&サーバー構築 改訂3版 のコマンドまとめ |
https://qiita.com/ichigobranding/items/16b103d12444958fa419
|
AmazonWebServices基礎からのネットワークサーバー構築改訂版のコマンドまとめ目的AmazonWebServices基礎からのネットワークサーバー構築改訂版で学習したコマンドを随時まとめていきます。 |
2022-03-29 06:30:57 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Amazon Web Services 基礎からのネットワーク&サーバー構築 改訂3版 のコマンドまとめ |
https://qiita.com/ichigobranding/items/16b103d12444958fa419
|
AmazonWebServices基礎からのネットワークサーバー構築改訂版のコマンドまとめ目的AmazonWebServices基礎からのネットワークサーバー構築改訂版で学習したコマンドを随時まとめていきます。 |
2022-03-29 06:30:57 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
EC2 Instance Connect を使用して接続ができない時の対処法 |
https://qiita.com/shun198/items/b0d71e6bf1b9724fc40f
|
以下のように東京のインスタンスを作成し、接続ボタンを押したらECインスタンスにECInstanceConnectを使用してSSH接続ができました。 |
2022-03-29 06:16:44 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Amazon Web Services 基礎からのネットワーク&サーバー構築 改訂3版 のコマンドまとめ |
https://qiita.com/ichigobranding/items/16b103d12444958fa419
|
AmazonWebServices基礎からのネットワークサーバー構築改訂版のコマンドまとめ目的AmazonWebServices基礎からのネットワークサーバー構築改訂版で学習したコマンドを随時まとめていきます。 |
2022-03-29 06:30:57 |
海外TECH |
MakeUseOf |
The 6 Best PDF Merger Platforms to Combine Documents |
https://www.makeuseof.com/best-pdf-merger-apps/
|
merger |
2022-03-28 21:30:14 |
海外TECH |
MakeUseOf |
Your Microsoft Defender Is Getting a Small (but Powerful) Upgrade |
https://www.makeuseof.com/microsoft-defender-small-powerful-upgrade/
|
drivers |
2022-03-28 21:25:24 |
海外TECH |
DEV Community |
Where all DEVs fail in Security |
https://dev.to/fand0mas/where-all-devs-fail-in-security-360b
|
Where all DEVs fail in SecurityIntroI have been in security for several years My work is to test an application or an infrastructure and try to break in If you are a developer the following is probably one of the vulnerabilities you may find in your applications If you are elite in security and dev then stop and close this thread Most developers lack of the proper knowledge of Information Security In this post I am talking about the access control issues Access ControlsWhen one designs an application roles and permissions may be given to users In most of the time i find vulnerabilities in user elevation This is a particular type of an access control issue where a low priv user can escalate to an admin Make sure ALL of the functions are protected so low priv users even though can load the UI do not have the permissions to execute any endpoint which requires higher privileges You may think that this may sound too dump But most of the applications suffer from such vulnerabilities Moreover such vulnerabilities can lead to account takeover IDORSAnother type of an access control issue is an IDOR one Many endpoints support numerical parameters An example is a pageid in a GET request Most of the time the endpoints have all sort of checks like for XSS or SQL Injections but the developers forget to check if the ID can be used to access information that doesn t belong to user Due to the incremental number of ID most of the time this kind of vulnerability is easy to exploit Make sure the users can access to information belongs to them by properly enforcing access control rules SummaryA great number of developers takes such vulnerabilities as low risk but the reality is that such issues are of a high risk Imagine the ID to be an order ID or the low priv users to be able to set the password of the admin or even become admin their self Such issues happen and I can confirm are happening more than often Take care and follow me for more tips |
2022-03-28 21:34:49 |
海外TECH |
DEV Community |
Django PostgreSQL Migration from SQLite |
https://dev.to/larymak/django-postgresql-migration-from-sqlite-5122
|
Django PostgreSQL Migration from SQLiteFull Article on SweetcodePostgreSQL is a powerful open source object relational database system that uses and extends the SQL language combined with many other features that safely store complicated data workloads The database comes with many features that not only help developers build applications but also help administrators protect data no matter how big or small the dataset is As developers we often work on different projects depending on the level of expertise As a beginner you worked on an app like a to do app which didn t require a heavy database mechanism to store records of tasks But as you advance the kind of projects you handle change with time A point will reach where you will need to build a production ready project which will need a database structure Usually a basic Django project will ship with a SQLite database as the default Even though this is the default database Django also supports other databases like PostgreSQLMySQLOracle In this article we will focus on PostgreSQL and how we can implement it on Django projects Why use PostgreSQLPostgreSQL comes with many features that not only help developers build applications but also help administrators protect data no matter how big or small the dataset is So why should you consider PostgreSQL over the others It is free to use and it s also an open source program which makes it easy to upgrade or extend PostgreSQL is highly extensible for example you can define your own data types build your own functions and even write code from different programming languages without having to recompile your database It supports many SQL features It also supports multiple programming languages like Python Java C C Ruby etc…Works on most popular Operating Systems It is not controlled by any cooperation meaning it is free Let s get started and see how to implement PostgreSQL Setting up Django projectNow for us to be able to make a database migration it means we need a project to work with Let s go ahead and create a new Django project As always the first step is to create a virtual environment which is accomplished in two steps pip install virtualenvwrapper winThis installs virtual a environment so the next step is to name the virtualenv mkvirtualenv name Naming it automatically activates the virtual environment Now since we are working on a Django project installing it is essential It will be installed in the virtual environmentpip install djangoNext we have to create our Django project in this case it can be named testproject django admin startproject testprojectThen we create an app within our project folder python manage py startapp projectAppFinally we can run the project so as to initialize the sqLite database with this command python manage py runserverWe will be using this simple Django application to perform the migration in the following steps Step Backup existing DatabaseThe first step we will need to create a backup of our current data which we are going to export into PostgreSQL later on To perform a data backup we use the following command python manage py dumpdata gt data jsonThis command will generate a data json file in the root of your project meaning you generated the dumpdata from SQLite and stored it in JSON format Step Installing PostgreSQL lt gt Read the rest of the article on SweetcodeI appreciate your time reading Your support will be really appreciatedConnect With me at Twitter GitHub YouTube LinkedIn |
2022-03-28 21:34:45 |
海外TECH |
DEV Community |
Install Hadoop on Mac – Ultimate Step by Step Guide |
https://dev.to/hellocodeclub/install-hadoop-on-mac-ultimate-step-by-step-guide-17be
|
Install Hadoop on Mac Ultimate Step by Step GuideIn this tutorial you will learn how to install the hadoop system in your mac machine including a brief reminder of what hadoop is and its architecture When talking about hadoop first idea that probably crosses your mind is big data Hadoop emerged with big data as there was a need to store massive amount of data Not only store it but analyse it and access it in a reliable scalable and affordable manner The hadoop system solves two key big data problems First problem what if one of the computer fails Traditionally if a machine fails all information stored is lost unless there is a backup The hadoop system have mechanisms to avoid this problem The second challenging problem was combining the information from different hard drives When you are analysing large amount of data saved in many hard drives accessing and combining this information can be a challenging Fortunately Hadoop also tackles this issue What is Hadoop Hadoop is an open source software optimised for reliable and scalable distributed computing What does that means Distributed computing means that instead of a single computer carrying out a processing task the task is performed by several machines Multiple computers all connected together to attempt one goal The Hadoop software includes mechanisms that avoid data loss And It is a scalable system meaning more computers can be added to the system as the data grows Hadoop is designed to handle large files Once you store a file in Hadoop the file will be split in smaller pieces and each piece stored in different a machine within the cluster Plus each file block is replicated in several machines to avoid data loss The whole system can be scaled up from one server to thousand of servers As a result the computation and storage power of each server is combined resulting in a really powerful system Learn more about Hadoop s architectureLearn about different installation modes Standalone installationAs we have seen you can install Hadoop on mac in three different mode One of them is standalone Standalone means that there are no separated daemons all Hadoop processes are running on the same JVM See below the steps to install Hadoop in standalone mode Step Check Java is installedHadoop is a software written in Java and behind the scenes is using Java Therefore first thing to do is indicating to hadoop where Java is installed To do so you need to set up the JAVA HOME enviroment variable on your machine export JAVA HOME Library Java JavaVirtualMachines jdk jdk Contents Home Then check that java is installed by running the following command java version Step Download HadoopYou can download hadoop from the following website Download HadoopSelect any of the mirrors then pick a version and download the file called hadoop X Y Z tar gz Step Set up Hadoop environment variablesNext step to install hadoop on mac is creating the hadoop environment variables You will need to create the HADOOP HOME environment variable which will point to the directory where you uncompressed the previous file You should also add this path the your PATH variable See below the command you should execute export HADOOP HOME sw hadoop x y zexport PATH PATH HADOOP HOME bin HADOOP HOME sbinRun Hadoop on Pseudo Distributed Mode |
2022-03-28 21:20:21 |
海外TECH |
DEV Community |
REST - Uma breve introdução |
https://dev.to/gabrielhsilvestre/rest-uma-breve-introducao-41i8
|
REST Uma breve introdução Tabela de ConteúdoRestRestrições RESTInterfaces uniformesCliente servidorStatelessCacheableLayered SystemCode on Demand Rest O que é Éum estilo de arquitetura de Software que possui um conjunto de restrições para a criação de APIs sendo controlado pelo WC Em palavras mais simples éum conjunto de regras que nossa aplicação deve seguir no momento de se comunicar com clientes sejam eles Browsers ou outras APIs Restrições REST Interface uniforme O que é Éa padronização sistemática e constante da interface de comunicação entre cliente e servidor Essa interface écomposta pelo endpoint tipo de retorno e verbos HTTP EndpointO endpoint deve identificar o recurso a ser acessado alterado de forma que o recurso fique explícito na URL Tipo de retornoOs retornos devem ser consistentes ou seja se enviarmos um requisição ao endpoint products e retornarmos um Array contendo os produtos o mesmo deve ser feito ao enviarmos uma requisição ao endpoint categories Array contendo as categorias Devemos construir os retornos padronizados para que seja possível deduzir o comportamento dos demais endpoints sem a necessidade de tentativa e erro Verbos HTTPToda a ação que vamos realizar deve ser identificada através de um verbo HTTP sendo os principais POST GET PUT e DELETE Reforçando que os verbos devem disparar ações correspondentes a seus significados logo uma requisição GET deve apenas retornar algum recurso sem alterar deletar nada Cliente servidor O que é Éa desacoplação entre Cliente e Servidor em outras palavras nossa API deve poder ser consumida a partir de qualquer cliente seja ele uma aplicação mobile web tv ou atémesmo Arduíno O princípio básico éa separação de responsabilidades o servidor deve se preocupar somente com armazenamento e acesso aos dados cache log e outras funcionalidades essenciais para o bom funcionamento da aplicação Stateless O que é O princípio Stateless significa que nossa aplicação não deve guardar informações em seu contexto Uma variável que guarda o login por exemplo Dessa forma todas as requisições enviadas ao servidor devem ser autossuficientes ou seja devem possuir todas as informações necessárias para a realização da requisição jáque a API não iráarmazenar nada Um exemplo fácil de entender éo de login Assim que uma pessoa usuária realiza o login em nosso site iremos gerar um token de autenticação para ela a partir daí todas as requisições que essa pessoa for realizar serápreciso enviar o token de autenticação junto pois nossa API não se lembrará da pessoa Cacheable O que é Nossa API deve ser capaz de informar ao cliente se determinada resposta pode ser cacheada e se puder por quanto tempo deveráser cacheada Nesse caso estamos nos referindo ao cache no lado do Cliente logo a função de nossa API éapenas informar as regras que precisam ser seguidas Layered System O que é Diferente da arquitetura MSC o princípio do Layered System não tem relação com a organização do código mas sim com a abstração da resposta da API Isso significa que o Cliente não precisa saber o que foi feito para a resposta ser montada apenas que recebeu uma resposta Code on Demand O que é Éa possibilidade do servidor enviar código ao cliente esse código pode ser JavaScript Python C C ou de qualquer outra linguagem que faça sentido Esse princípio éopcional na construção de uma API REST sendo assim podemos ter uma aplicação que não envia código ao servidor e continua sendo RESTful |
2022-03-28 21:09:59 |
海外TECH |
DEV Community |
Increase link clickability area - HTML/CSS |
https://dev.to/vadimfilimonov/increase-link-clickability-area-htmlcss-20j6
|
Increase link clickability area HTML CSSLet s say we have a page with news previews It is necessary to make a link not only to the subtitle but also to the picture There are three ways The Good the Bad and the Ugly The BadJust wrap both the title and the picture in a link lt div gt lt a href gt lt img src image jpg gt lt a gt lt h gt lt a href gt text lt a gt lt h gt lt div gt The UglyWrap everything in one link lt a href gt lt img src image jpg gt lt h gt text lt h gt lt a gt The GoodPlace the link in the header Extend the link area to the entire card with the before pseudo element lt div gt lt img src image jpg gt lt h gt lt a href gt text lt a gt lt h gt lt div gt lt style type text css gt div position relative a before content position absolute top left width height lt style gt Of course I m exaggerating and you can use any of these three options but my advice is to use the last one |
2022-03-28 21:08:12 |
ニュース |
BBC News - Home |
Ros Atkins on… the UK’s rising Covid infections |
https://www.bbc.co.uk/news/uk-60905199?at_medium=RSS&at_campaign=KARANGA
|
current |
2022-03-28 21:10:56 |
ニュース |
BBC News - Home |
P&O: Second ferry detained over safety concerns |
https://www.bbc.co.uk/news/business-60908750?at_medium=RSS&at_campaign=KARANGA
|
inspection |
2022-03-28 21:49:20 |
ニュース |
BBC News - Home |
Knoydart community owns Britain's remotest mainland pub |
https://www.bbc.co.uk/news/uk-scotland-highlands-islands-60907329?at_medium=RSS&at_campaign=KARANGA
|
peninsula |
2022-03-28 21:51:26 |
ニュース |
BBC News - Home |
Medvedev moves closer to top ranking with win over Martinez |
https://www.bbc.co.uk/sport/tennis/60906950?at_medium=RSS&at_campaign=KARANGA
|
miami |
2022-03-28 21:49:55 |
北海道 |
北海道新聞 |
ウィル・スミスさん「事件」調査 アカデミー賞主催団体 |
https://www.hokkaido-np.co.jp/article/662413/
|
映画芸術 |
2022-03-29 06:13:00 |
北海道 |
北海道新聞 |
英首相、対ロシアで圧力強化 ゼレンスキー氏と電話会談 |
https://www.hokkaido-np.co.jp/article/662412/
|
電話会談 |
2022-03-29 06:02:00 |
北海道 |
北海道新聞 |
武装集団襲撃で20人死亡 メキシコ、犯罪組織抗争か |
https://www.hokkaido-np.co.jp/article/662411/
|
武装集団 |
2022-03-29 06:02:57 |
北海道 |
北海道新聞 |
NY株続伸、94ドル高 インフレ加速懸念和らぐ |
https://www.hokkaido-np.co.jp/article/662410/
|
週明け |
2022-03-29 06:02:57 |
ビジネス |
東洋経済オンライン |
マンションで急増「宅配ロッカー」が突く新課題 宅配の再配達回避へ、設置台数増加が急務に | 不動産 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/577695?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
宅配ロッカー |
2022-03-29 06:50:00 |
ビジネス |
東洋経済オンライン |
アルピナ信奉者が驚いた「BMWへ商標譲渡」の意味 57年の関係を整理した先に2社各々の道筋が見える | 高級車 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/577759?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
有限合資会社 |
2022-03-29 06:30:00 |
マーケティング |
MarkeZine |
初めてのマス広告出稿、そのポイントは? |
http://markezine.jp/article/detail/38594
|
連載 |
2022-03-29 06:30:00 |
コメント
コメントを投稿