반응형
반응형

https://sdc-james.gitbook.io/onebook/

 

한곳에서 끝내는 파이썬 & 머신러닝 & 딥러닝 - OneBook(Python & Deep Learning)

이 문서는 초보자들이 쉽게 딥러닝 및 파이썬을 공부하기 위해 만든 문서 입니다. 제가 이 공부를 체계없이 시작하여 많은 오류를 범하였고, 또한 이곳 저곳을 돌아다니며 여러 자료들을 참고

sdc-james.gitbook.io

이 문서는 초보자들이 쉽게 딥러닝 및 파이썬을 공부하기 위해 만든 문서 입니다. 제가 이 공부를 체계없이 시작하여 많은 오류를 범하였고, 또한 이곳 저곳을 돌아다니며 여러 자료들을 참고 하느라 많은 시간이 걸려서 다른 분들은 한곳에서 쉽게 접근 할 수 있도록 제 나름대로 체계를 잡은 것입니다.
제 지식이 미천하여 많은 내용 오류가 있습니다. 오류에 대한 지적은 권경혁( onebook2james@gmail.com )로 이메일을 주시면 성실히 답하겠습니다. 또한 여러 싸이트에서 발췌한 자료가 많이 있습니다만 제가 정리하면서 원본 인용 표기가 누락된 곳도 있을 것이니 양해해 주시기 바랍니다.
 
계속 읽으시려면 아래 → 화살표를 누르시면 됩니다.
 
이 문서는 GitBookGitHub 에서 읽을 수 있습니다.
반응형

'프로그래밍 > Python' 카테고리의 다른 글

[python] matplotlib - pip install matplotlib  (0) 2023.07.09
[python] 점프 투 파이썬 book  (0) 2023.07.07
[python] iPad에서 파이썬 하기  (0) 2023.07.04
[python] pandas get started  (0) 2023.06.11
[python] simple-colors  (0) 2023.06.09
반응형

 

scrollHeight 가져오기

<textarea id="ele">
  a
  bc
  def
  ghij
  klmno
</textarea>
<br>
<button onclick="getScHeight();">getScrollHeight</button>

getScHeight = function() {
  var scHeight = $('#ele').prop('scrollHeight');
  console.log(scHeight);
};
반응형
반응형

https://play.google.com/store/apps/details?id=com.instagram.barcelona 

 

Threads, an Instagram app - Google Play 앱

텍스트로 아이디어와 트렌드를 공유하세요

play.google.com

 

https://apps.apple.com/us/app/threads-an-instagram-app/id6446901002

 

‎Threads, an Instagram app

‎Say more with Threads — Instagram’s text-based conversation app Threads is where communities come together to discuss everything from the topics you care about today to what’ll be trending tomorrow. Whatever it is you’re interested in, you can f

apps.apple.com

Threads, an Instagram app 12+

Share ideas & trends with text

Instagram, Inc.

  •  

반응형
반응형

[python] iPad에서 파이썬 하기

https://apps.apple.com/kr/app/carnets-jupyter/id1450994949

 

‎Carnets - Jupyter

‎Jupyter notebooks are a powerful tool used in education and research. You can write small snippets of Python code and observe the result on screen, combine with paragraphs of text, using Markdown. Carnets provides a complete, stand-alone, implementation

apps.apple.com

Jupyter 노트북은 교육 및 연구에 사용되는 강력한 도구입니다. Python 코드의 작은 스니펫을 작성하고 Markdown을 사용하여 화면에서 결과를 관찰하고 텍스트 단락과 결합할 수 있습니다.

Carnets는 Jupyter 노트북의 완전한 독립 실행형 구현을 제공합니다. 임베디드 Python 인터프리터를 사용하여 모든 것이 장치에서 실행됩니다. 인터넷 연결이 필요하지 않습니다. 설정을 사용하여 Jupyter 노트북과 고급 Jupyterlab 중에서 선택할 수 있습니다.

 

Numpy, Sympy, Matplotlib, Pandas, lxml, bokeh, nbextensions(ipywidgets 포함) 및 기타 여러 패키지가 사전 설치되어 있습니다. 설치된 패키지의 전체 목록을 보려면 코드 창에 "%pip list"를 입력하십시오. "%pip install packageName"을 사용하여 더 많은 패키지를 추가할 수 있지만 순수 Python인 경우에만 가능합니다.

 

scipy, seaborn 또는 scikit-learn이 필요한 경우 다른 앱인 "Carnets - Jupyter(with scipy)"를 사용하십시오.

 

다른 앱과 노트북을 공유하고 다른 앱에서 관리하는 노트북이나 디렉토리를 열 수도 있습니다.

 

설치된 패키지의 일부 목록: astropy, babel, bokeh, cryptography, cvxopt, Fiona, geopandas, geopy, lxml, matplotlib, numpy, openCV, pandas, pillow, pyFFTW, pyproj, rasterio, regex, shapely, sympy, wordcloud.

 

 

https://apps.apple.com/kr/app/pythonista-3/id1085978097

 

‎Pythonista 3

‎Pythonista is a complete scripting environment for Python 3.10, running right on your iPad or iPhone, so you can develop and run Python scripts on the go. Like Python itself, "batteries are included" – from popular third-party modules like requests, n

apps.apple.com

Pythonista는 iPad 또는 iPhone에서 바로 실행되는 Python 3.10을 위한 완벽한 스크립팅 환경이므로 이동 중에도 Python 스크립트를 개발하고 실행할 수 있습니다.

Python 자체와 마찬가지로 요청, numpy, matplotlib, pandas(및 기타)와 같은 인기 있는 타사 모듈에서 iOS용으로 맞춤 제작된 모듈에 이르기까지 "배터리가 포함되어 있습니다". Pythonista를 사용하면 스크립트에서 센서/위치 데이터, 사진 라이브러리, 연락처, 미리 알림, 클립보드 등에 액세스할 수 있으므로 Python과 iOS의 잠재력을 최대한 활용할 수 있습니다.

 

Pythonista는 사용자 친화적인 인터페이스로 설계되어 기술 수준에 관계없이 누구나 쉽게 코딩을 시작할 수 있습니다. 전체 Python 설명서는 앱에서 오프라인으로 읽을 수도 있습니다.

 

Pythonista는 Python을 배우고 연습하기 위한 것일 뿐만 아니라 여러 앱 확장으로 iOS를 자동화하는 강력한 도구이기도 합니다. 거의 모든 앱의 공유 시트 또는 사용자 지정 시스템 키보드에서 직접 스크립트를 호출하고 스크립트를 Shortcuts 및 Siri와 통합할 수 있습니다. Pythonista를 사용하면 다른 앱 간에 전환할 필요 없이 필요할 때마다 스크립트를 쉽게 실행할 수 있습니다.

 

특징:

 

> 구문 강조 표시, 코드 완성 및 스크립팅 지원 기능이 있는 강력한 코드 편집기

 

> 코드 완성, 명령 기록 및 이미지 표시 지원이 포함된 대화형 프롬프트

 

> 통합 시각적 디버거 및 개체 검사기

 

> 편집기에서 직접 빠르게 조회하여 오프라인 문서 작성 완료

 

> 다양하고 아름다운 명암 테마와 나만의 테마 편집기

 

> 빠른 프로토타이핑을 위한 UI 편집기

 

> 통합 PEP 8 스타일 검사기 및 코드 포맷터

 

> 대부분의 Python 표준 라이브러리와 그래픽, 사운드 및 iOS 통합을 위한 추가 모듈(예: 클립보드, 연락처, 미리 알림, 사진, UI...)을 지원합니다.

 

> 요청, numpy, matplotlib, pandas, Pillow...와 같은 많은 인기 있는 타사 모듈 포함

 

> 포함된 많은 예제

 

> iPad 및 iPhone용 범용 앱

 

> 거의 모든 앱에서 스크립트를 실행할 수 있는 공유 시트 확장

 

> 텍스트를 편집하는 모든 앱에서 Python을 사용하기 위한 스크립팅 가능한 시스템 전체 키보드

 

> 바로 가기 앱과의 고급 통합으로 Python 스크립트를 바로 가기 및 개인 자동화 작업으로 사용할 수 있습니다.

 

Pythonista는 컴파일된 언어(C/C++)로 작성된 추가 모듈을 설치하거나 다운로드할 수 있도록 설계되지 않았습니다. 널리 사용되는 많은 네이티브 라이브러리가 포함되어 있고 기본적으로 작동하지만 일반적으로 C/C++ 종속성이 있는 추가 모듈을 설치할 수 없습니다.

 

"Pythonista"라는 이름은 Python Software Foundation의 승인을 받아 사용됩니다.

반응형
반응형

[jQuery]  URL에서 해시 값 가져오기

1. 모든 URL에 대한 해시 값 가져오기

순수한 JavaScript를 사용하면 주어진 값에서 해시 값을 얻을 수 있습니다. indexOf() 그리고 substring(), 아래에 설명된 대로:

var url = "https://mail.google.com/mail/u/0/#inbox";
var index = url.indexOf("#");
if (index !== -1)
{
    var hash = url.substring(index + 1);
    console.log(hash);
}
 

 
당신은 또한 사용할 수 있습니다 split() 방법 pop() 방법은 아래와 같습니다.

var url = "https://mail.google.com/mail/u/0/#inbox";
var parts = url.split('#');
if (parts.length > 1) {
    console.log(parts.pop());
}
 

2. 현재 URL의 해시 값 가져오기

또는 현재 창 URL에 대한 해시 값이 필요한 경우 다음을 사용할 수 있습니다. window.location.hash, 다음을 포함하는 문자열을 반환합니다. '#', URL의 조각 식별자가 뒤따릅니다. URL에 조각 식별자가 없으면 빈 문자열을 반환합니다. "".

// 'https://www.techiedelight.com/#input'에 대해 '#input'을 반환합니다.
var hash = window.location.hash;
 

 
jQuery를 사용하면 다음을 사용할 수 있습니다. .prop()  location 해시를 얻기 위한 객체:

// 'https://www.techiedelight.com/#input'에 대해 '#input' 반환
var hash = $(location).prop('hash');
 

 
URL의 조각 식별자만 추출하려면 '#', 당신은 사용할 수 있습니다 substr() 다음과 같은 방법:

// 'https://www.techiedelight.com/#input'에 대한 'input'을 반환합니다.

// JavaScript로
var hash = window.location.hash.substr(1);

// jQuery로
var hash = $(location).prop('hash').substr(1);
 

 
다음은 다음을 사용하는 또 다른 솔루션입니다. window.location.href.

// 'https://www.techiedelight.com/#input'에 대한 'input'을 반환합니다.
window.location.href.split('#').pop();​
반응형
반응형

 

The days are long gone when a viewer’s attention is quickly captured by a simple and plain HTML website. The trend has changed and moved more towards animation and graphics with several upgrades to technology and design. When you develop a website, it requires both creative and technical skills. Things like layouts, animations, and graphics can greatly overhaul your website’s look and feel.

As you already know, Cascading Style Sheets, or CSS, is an ideal way to spice up your web design. It is a fundamental technology that allows developers to control their websites’ or web apps’ layout and visual appearance.

According to W3Techs, as of January 2023, approximately 96.9% of websites use CSS, which itself shows it is an integral part of modern web design.

As web development evolves, new CSS trends are emerging to help developers create more visually stunning websites. From responsive design and animation to new techniques and styling, CSS trends are constantly changing and adapting to meet the needs of modern web design. Since CSS trends are cyclical, it’s reasonable to assume that by 2023 there will be some new CSS trends in web development.

In this article, discover the best 15 CSS trends to look for in 2023. These trends will help you create visually stunning responsive designs by unleashing the power of CSS.

Also, don’t forget to read this tutorial about ServiceNow Testing, to know what it is, it’s benefits, types and test cases: https://www.lambdatest.com/learning-hub/servicenow-test-case-template

How does CSS help your website?

CSS stands for Cascading Style Sheet. It is a language for creating a Style Sheet that describes the layout and formatting of a document written in a markup language. It works with HTML to modify the look and feel of online pages and user interfaces. Any XML document type, including plain XML, SVG, and XUL, can be used with it.

With the help of CSS, you can make changes to old HTML-written documents or create a new style with the CSS codes. Here are some benefits CSS offers to your website.

  • Before, tags, such as font, color, background, etc., were repetitive in websites, and CSS was developed to solve this problem.
  • Help you create a consistent design across multiple web pages and offers reusability to use styling on different elements and websites.
  • CSS offers more specific attributes than plain HTML to define the website’s look and feel.
  • Provide visual cues to improve the website’s accessibility.
  • Boost website SEO by presenting the digital content clearly and concisely.

2023 CSS Trends to Follow

Now you have got a gist of CSS and its benefits, let’s start with our list of best CSS trends for 2023.

Note: The browser compatibility data herein have been taken from CanIUse.

1. CSS Grid

CSS Grid is a powerful layout module that allows you to create sophisticated responsive grid layouts. It’s fully supported by modern browsers and is gaining popularity among web developers. This amazing CSS trend can handle both rows or columns easily.

Subgrid is a handy feature that has been added to the Grid Layout. You can create a Subgrid using the Subgrid feature that will mimic the layout of its parent grid. The child grid chooses its dimensions and gaps when nested inside another grid display. The layout of the parent grid is applied to the Subgrid, although the Subgrid can still override certain parts if necessary.

Browser Support: 95.91%

Discover the top 90+ essential Shopify test cases to ensure your store’s functionality, performance, and customer experience. Download our comprehensive template now: https://www.lambdatest.com/learning-hub/shopify-test-case-template

2. CSS Writing Mode

Depending on the language, the CSS Writing Mode property adjusts the text’s alignment so that it can be read either from top to bottom or from left to right. Say, for instance, that we wish to add some text that is read from left to right and from top to bottom.

This is helpful for languages where the text is frequently positioned vertically, like Chinese, Japanese, or Korean. You’ll likely want to employ this quality in English for aesthetic reasons with the help of this CSS trend.

Browser Support: 97.7%

3. Scroll Snap Behavior

To control a web browser’s CSS scroll snap behavior, CSS offers a valuable collection of attributes. Some of this functionality has been there for extended, but more recent browser versions are just now getting access to others. The best thing about this CSS trend is that just one-third of CSS users know about it.

Using the scroll-snap-type property, you can modify the scroll position on a container in various ways. Developers gain greater precision while end users enjoy a smoother, more controllable user experience.

Browser Support: 95.89%

4. Container Queries

CSS has not yet fully established container queries, though they will. They’ll have a significant influence on how we perceive responsive design. The fundamental notion is that you can specify a breakpoint depending on the size of a parent container in addition to the viewport and media.

It will include adjusting a layout based on the dimensions of various containers that appear throughout the nested layers of a user interface. Rather than a CSS trend, CSS Container Queries is a significant move that will probably spark a wave of UI enhancements.

Browser Support: 76.94%

Do check, Our tutorial on Website Builder Test Case Templates offers comprehensive guide for effective website testing. Start optimizing your website’s quality today: https://www.lambdatest.com/learning-hub/website-builder-test-case-template

5. New Color Palettes

CSS practitioners are already using RGB to beautify web pages. Recently CSS introduced three new color pallets HWB, LAB, and LCH.

HWB: It is an acronym for Hue, Whiteness, and Blackness. It’s an easy feature for people to read: you choose a color and then add white and black. Recent releases of Chrome, Firefox, and Safari all support it.

Browser Support: 87.71%

LAB: It is created from CIA LAB color theory and is considered the most theoretically complex of new color spaces. It is a bold claim that the LAB color descriptor includes all colors humans can perceive. Only Safari is now compatible with this CSS trend, just like LCH.

LCH: It stands for Lightness, Chroma, and Hue and is renowned for broadening the palette of colors that are accessible. Safari only supports LCH.

Browser Support: 15.38%

6. CSS Variables

CSS Variables, also known as CSS Custom Properties, has been a popular CSS trend in the market since 2015 and are now getting more and more attention from CSS users. CSS Variables allow you to store and use a value elsewhere in the HTML code. It helps to remove redundancy in codes, flexibility, and improve the readability of codes.

Browser Support: 95.81%

Over 57 different e-commerce websites and application test cases are covered to guarantee a flawless and secure purchasing experience for customers: https://www.lambdatest.com/learning-hub/ecommerce-test-cases

7. Viewport Units

Setting viewport units is a hassle for everyone who has attempted to code a website for Safari on iOS. The mobile browser shows containers set to a size in the unit vh as being smaller than they should be.

You need to use a script that automatically resizes the container to get around this bug. Other than the inconvenience of loading a new script, some workarounds harm Chrome users.

Thank goodness CSS now supports new relative lengths and viewport specifications. A few of these are “vw”, “svw”, “lvw”, and “dvw”. These measurements are 1% of the width of the small, large, and dynamic viewport sizes and the UA-default viewport size.

Browser Support: 97.53%

8. Cascade Layers

If the next element in the cascade has a greater level of specificity, CSS overrides style changes to the first element. Due to the vast codebase, this problem is always present in large projects. Here CSS Cascade Layers come in.

Cascade Layers give developers better flexibility over themes, frameworks, and designs to utilize the cascading system fully. Cascade Layers provide direct manipulation and administration of the underlying cascade logic, in contrast to the original cascading centered around heuristics.

This CSS trend will ensure that the components won’t always adhere to the base styles by adding a second layer to the cascade to define style variants. Instead, components are produced in accordance with the rules written on the layer and the established hierarchy of the layers.

Browser Support: 87.57%

Our Gaming Platform Test Case Templates tutorial offers a step-by-step guide for effective test scenarios. Improve your game’s quality and performance today: https://www.lambdatest.com/learning-hub/gaming-platform-test-case-template

9. Content Visibility

Content Visibility property in CSS helps to speed up the rendering of content on the web page so users can interact with the content while the rest of the page is loading. With the help of this property, developers can command browsers which part of the page has isolated content. In return, it helps browsers to optimize web page content with delayed calculation.

Content Visibility is dependent on the CSS Containment Spec’s primitives. So far, only Chromium 85 supports content-visibility property; however, the CSS Containment Spec is supported on all major browsers.

Browser Support: 71.40%

10.Gap

Gap property is an emerging CSS trend that helps to define a gap between a row and a column, formally known as a grid gap. It serves as an alternative for the following characteristics.

  • Row-gap
  • Column-gap

We utilize the gap attribute with a single value to indicate the same space between rows and columns. If there is a difference in the distance between the rows and the columns, we utilize the gap function with two values, first defining the distance between the rows and then the columns. You can utilize two properties, row-gap, and column-gap, to make the code more transparent and understandable.

Before the gap property, the designer needs to use the margin property with certain limitations, such as adding an indent between the element and the edge of the container. In contrast, the gap attribute allows you to specify the indentation between items without using such hacks and gimmicks and instead merely relying on the language’s fundamental constructs.

Browser Support: 93.29%

CMS testing is required to ensure a content management system’s functionality, performance, security, and usability remain smooth:https://www.lambdatest.com/learning-hub/cms-test-case-template

11. Object View Box

Another CSS trend in our list is the object-view-box property. It enables a web page only to show the designated area of an image or video. It has a result that is roughly comparable to the viewBox SVG attribute. The object-view-box property will come in handy when you only show a piece of an image or video for distinct elements or at different resolutions. Additionally, it can be used to pan and zoom pictures and movies.

Before the object-view-box property, cropping problems with images or videos had to be solved by placing and resizing the content inside a wrapper element with the “overflow: hidden;” attribute. It can be done by adding the top, bottom, left, and right values within the code.

Browser Support: 66.99%

12.Inset

The Inset property helps to set the distance between the element and the parent element. It replaces the four properties: Top, Right, Left, and Bottom, and allows you to see the inset of the elements from all four sides in a single command. CSS Inset property requires adding all four commands for positioning.

Browser Support: 90.29%

A comprehensive end-to-end Testing tutorial that covers what E2E Testing is, its importance, benefits, and how to perform it with real-time examples: https://www.lambdatest.com/learning-hub/end-to-end-testing

13. Variable Fonts

Variable Fonts allow many variations of a typeface to be integrated into a single file Instead of having a separate font file for each width, weight, or style. It is an evolved version of the OpenType font specification.

Although Variable Fonts can be used just like regular ones, they have much more to offer. The font-weight property for standard fonts accepts values from 100 to 900, while for Variable Fonts, it accepts any integer between 1 and 999.

While the font-style property for regular fonts accepts two values for normal and italic, for variable fonts, you can specify an oblique angle ranging from -90 degrees to 90 degrees for variable fonts. Variable Fonts have a font-stretch feature that ranges from 50% (for narrow typefaces) to 200% (for broad typefaces), where the standard proportion is 100%. The font-optical-sizing attribute, which alters a font’s appearance based on size, is another.

Browser Support: 94.89%

14. Text Overflow

In CSS, the text-overflow property is used to indicate that specific text has overflowed and is now hidden. When you add this property, overflowed content will be trimmed, and a custom string or ellipsis will get visible on display.

One thing to keep in mind while using the text-overflow property is white space property must be nowrap and the overflow property set for hidden.

Browser Support: 98.95%

New Selenium IDE supports cross browser testing and parallel tests for automation along with record and replay function. Here’s why you shouldn’t miss out on it: https://www.lambdatest.com/blog/selenium-ide-what-is-it-why-is-it-must-for-every-qa/

15. Comparison Functions

Comparison functions are used to build a responsive website with fewer codes. It has functions such as “clamp(),” “min(),” and “max()” used to define upper- and lower-bound values, compute and compare the values of the inputs supplied to the function, and then apply the calculated value to the property.

  • clamp() function: This function requires three parameters: a central, preferred, and maximum value. clamp() compute the value of a property based on central value.
  • min() and max() function: The min() determines and applies the value from the range that is the smallest. Similarly, The max() function determines and applies the greatest value from the range of values given.

Browser Support: 92.26%

How to test CSS properties for browser compatibility?

As the CSS library is launching new features and properties, it brings new daily challenges for web developers to make website browsers compatible. It is essential to check that every CSS property you use for your website is working and supported in every browser.

Cloud-based cross browser testing platform like LambdaTest allows you to test your website and mobile apps and their associated CSS properties for cross browser compatibility on over 3000+ real browsers, devices, and OS.

 

With the LambdaTest platform, you can:

If you are keen to learn about different CSS properties, check out this CSS Cheat Sheet.

Automated Functional Testing tests helps to ensure that your web app works as it was intented to. Learn more about functional tests, and how automating them can give you a faster release cycle: https://www.lambdatest.com/blog/automated-functional-testing-what-it-is-how-it-helps/

 

Automated Functional Testing: What it is & How it Helps?

Automated Functional Testing tests helps to ensure that your web app works as it was intented to. Learn more about functional tests, and how automating them can give you a faster release cycle!

www.lambdatest.com

 

https://medium.com/@mehulgadhiya001/best-15-css-trends-to-watch-for-2023-f6f9a777458c

 

반응형

+ Recent posts