Repository: detailyang/awesome-cheatsheet Branch: master Commit: e7507591b93e Files: 10 Total size: 23.3 KB Directory structure: gitextract_eomwxm1g/ ├── .editorconfig ├── .github/ │ └── PULL_REQUEST_TEMPLATE.md ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── requirements.txt └── tests/ └── url_validate.py ================================================ FILE CONTENTS ================================================ ================================================ FILE: .editorconfig ================================================ # EditorConfig helps developers define and maintain consistent # coding styles between different editors and IDEs # editorconfig.org root = true [*] # Change these settings to your own preference indent_style = space indent_size = 2 # We recommend you to keep these unchanged end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false ================================================ FILE: .github/PULL_REQUEST_TEMPLATE.md ================================================ Hello! Before sending a PR please note the following: - make sure the adding cheat-sheet is not in README.md :rocket: Thanks! ================================================ FILE: .travis.yml ================================================ language: python python: - "2.7" install: "pip install -r requirements.txt" script: - make test ================================================ FILE: CODE_OF_CONDUCT.md ================================================ # Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at detailyang@gmail.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/ ================================================ FILE: CONTRIBUTING.md ================================================ # Contributing 1. Fork the repository. 2. Add your cheat sheet 3. Commit changes. 4. Push your commit. 5. Create a Pull Request. ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2018 detailyang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: Makefile ================================================ test: python tests/url_validate.py ================================================ FILE: README.md ================================================ awesome # Awesome Cheatsheet [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) ![Branch master](https://img.shields.io/badge/branch-master-brightgreen.svg?style=flat-square) [![Build Status](https://api.travis-ci.org/detailyang/awesome-cheatsheet.svg)](https://travis-ci.org/detailyang/awesome-cheatsheet) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/detailyang/awesome-cheatsheet/master/LICENSE) > List of useful cheatsheets Inspired by [@sindresorhus](https://github.com/sindresorhus) [awesome](https://github.com/sindresorhus/awesome) and improved by these **[amazing contributors](https://github.com/detailyang/awesome-cheatsheet/graphs/contributors)**. #### *If you see a link here is not fit, you can fix it or provide a better link by submitting a [PR](https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdetailyang%2Fawesome-cheatsheet%2Fedit%2Fmaster%2FREADME.md) to improve this file. Thank you!* ## Table of Contents - [Platforms](#platforms) - [Programming Languages](#programming-languages) - [Software Testing](#Software-Testing) - [Front-End Development](#front-end-development) - [Back-End Development](#back-end-development) - [Big Data](#big-data) - [Theory](#theory) - [Editors](#editors) - [Tools](#tools) - [Databases](#databases) - [Media](#media) - [Security](#security) - [Project Management](#project-management) - [Miscellaneous](#miscellaneous) ## Platforms - [Android-Cheatsheet-For-Graphic-Designers](https://web.archive.org/web/20130429071222/http://petrnohejl.github.io/Android-Cheatsheet-For-Graphic-Designers/) - [Arduino_Cheat_Sheet.pdf](https://static.sparkfun.com/learn/materials/8/Arduino_Cheat_Sheet.pdf) - [docker](https://github.com/wsargent/docker-cheat-sheet) - [dockerfiles](https://github.com/jessfraz/dockerfiles) - [ios-cheat-sheet](https://github.com/Avocarrot/ios-cheatsheet) - [iOS-App-Performance-Cheatsheet](https://github.com/danielamitay/iOS-App-Performance-Cheatsheet) - [UI-Testing-Cheat-Sheet](https://github.com/joemasilotti/UI-Testing-Cheat-Sheet) - [saltstack](https://github.com/saltstack/salt/wiki/Cheat-Sheet) - [nginx-cheatsheet](https://github.com/SimulatedGREG/nginx-cheatsheet) ## Programming Languages - [Ada-cheat-sheet](https://web.archive.org/web/20110706133825/http://www.digilife.be/quickreferences/QRC/Ada%20Syntax%20Card.pdf) - [assembly-cheat-sheet](http://www.jegerlehner.ch/intel/) - [coffeescript_cheatsheet](https://github.com/icebob/coffeescript_cheatsheet/) - [c-ansi-cheat-sheet](https://web.archive.org/web/20110706133825/http://www.digilife.be/quickreferences/qrc/c%20reference%20card%20(ansi)%202.2.pdf) - [c#-cheat-sheet ](https://www.slideshare.net/ileshR/core-c-sharpandnetquickreference) - [cpp-cheat-sheet](https://isocpp.org/blog/2012/12/c11-a-cheat-sheet-alex-sinyakov) - [clojure-cheat-sheet](https://clojure.org/cheatsheet) - [clojurescript-cheat-sheet](http://cljs.info/cheatsheet/) - [dart-cheat-sheet](https://dart.dev/resources/dart-cheatsheet) - [delphi-cheat-sheet](http://www.cheat-sheets.org/saved-copy/dquick.pdf) - [dotnet-cheat-sheet](https://dzone.com/refcardz/coredotnet) - [elixir-cheat-sheet](https://media.pragprog.com/titles/elixir/ElixirCheat.pdf) - [elm-cheat-sheet](https://github.com/izdi/elm-cheat-sheet) - [erlang-cheat-sheet](http://www.cheat-sheets.org/saved-copy/Erlang.CheatSheet(1.0).pdf) - [emoji-cheat-sheet](https://www.webfx.com/tools/emoji-cheat-sheet/) - [f#-cheat-sheet](https://web.archive.org/web/20210920081335/http://dungpa.github.io/fsharp-cheatsheet/) - [flow-cheat-sheet](https://devhints.io/flow) - [golang-cheat-sheet](https://github.com/a8m/go-lang-cheat-sheet) - [Cheat sheet for some of the common concurrent flows in Go](https://github.com/rakyll/coop) - [Go crash course cheatsheet - Devhints](https://devhints.io/go) - [java-cheat-sheet](http://introcs.cs.princeton.edu/java/11cheatsheet/) - [java8-cheat-sheet](https://github.com/BafS/Java8-CheatSheet) - [javascript-cheat-sheet](http://www.cheatography.com/davechild/cheat-sheets/javascript/) - [es6-cheatsheet](https://github.com/DrkSephy/es6-cheatsheet) - [javascript-design-pattern](https://github.com/nnupoor/js_designpatterns) - [npm-vs-yarn-cheat-sheet](https://shift.infinite.red/npm-vs-yarn-cheat-sheet-8755b092e5cc#.91l58dovs) - [npm-vs-yarn-cheat-sheet](https://github.com/areai51/yarn-cheatsheet) - [lisp-cheat-sheet](http://faculty.smcm.edu/acjamieson/s13/LispCheatSheet.pdf) [(click here if the previous link does not work for you)](https://web.archive.org/web/20230524013206/http://faculty.smcm.edu/acjamieson/s13/LispCheatSheet.pdf) - [lua-cheat-sheet](https://web.archive.org/web/20210427044434/http://lua-users.org/files/wiki_insecure/users/thomasl/luarefv51single.pdf) - [objective-c-cheat-sheet](https://github.com/iwasrobbed/Objective-C-CheatSheet) - [ocaml-cheat-sheet](http://ocaml.org/docs/cheat_sheets.html) - [python-cheat-sheet](http://www.cheatography.com/davechild/cheat-sheets/python/) - [Python Cheat Sheet](https://perso.limsi.fr/pointal/_media/python:cours:mementopython3-english.pdf) - [Python Cheat Sheet](https://docs.google.com/file/d/0B9VT_L2CDnKvODYyNTc5NjktYmMyOC00NDFkLTliNTctMzQzMTAzYjUyYmYy/view?pli=1) - [Python Crash Course - Cheat Sheets](http://ehmatthes.github.io/pcc/cheatsheets/README.html) - [python future](https://github.com/PythonCharmers/python-future) - [Python Basics For Data Science Cheat Sheet](https://www.datacamp.com/community/tutorials/python-data-science-cheat-sheet-basics) - [php-cheat-sheet](http://www.cheatography.com/davechild/cheat-sheets/php/) - [PHP7-Reference](https://github.com/tpunt/PHP7-Reference) - [perlcheat](http://perldoc.perl.org/perlcheat.html) - [r-cheat-sheet](http://cran.r-project.org/doc/contrib/Baggott-refcard-v2.pdf) - [R Cheat Sheets](https://www.rstudio.com/resources/cheatsheets/) - [racket-cheat-sheet](http://docs.racket-lang.org/guide/) - [ragel-cheat-sheet](https://github.com/calio/ragel-cheat-sheet) - [rebol-cheat-sheet](https://web.archive.org/web/20210918070336/https://rebol.desajn.net/cheatsheet.html) - [ruby-cheat-sheet](https://github.com/brennovich/cheat-ruby-sheets) - [A collection of Ruby Net::HTTP examples](https://github.com/augustl/net-http-cheat-sheet) - [rust-cheat-sheet](https://static.rust-lang.org/doc/0.9/complement-cheatsheet.html) - [Rust Language Cheat Sheet](https://cheats.rs/) - [scala-cheat-sheet](http://docs.scala-lang.org/cheatsheets/) - [scheme-cheat-sheet](http://courses.cs.washington.edu/courses/cse341/02wi/scheme/cheat-sheet.html) - [shell-cheat-sheet](https://github.com/NisreenFarhoud/Bash-Cheatsheet) - [bash cheat sheet](https://learncodethehardway.org/unix/) - [awesome-bash](https://github.com/awesome-lists/awesome-bash) - [bash redirections](https://github.com/pkrumins/bash-redirections-cheat-sheet) - [fish](https://fishshell.com/docs/current/commands.html) - [awesome-shell](https://github.com/alebcay/awesome-shell) - [oh-my-zsh cheatsheet](https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet) - [Shell scripting cheatsheet - Devhints](https://devhints.io/bash) - [solidity](https://github.com/manojpramesh/solidity-cheatsheet/) - [smalltalk-cheat-sheet](http://stephane.ducasse.free.fr/Teaching/0809Turino/st-cheatsheet.pdf) - [swift cheatsheet](https://github.com/iwasrobbed/Swift-CheatSheet) - [Playgrounds](https://github.com/uraimo/Awesome-Swift-Playgrounds) - [swift design patterns](https://github.com/ochococo/Design-Patterns-In-Swift) - [tcl-cheat-sheet](http://wiki.tcl.tk/10710) - [typescript-cheat-sheet](http://www.typescriptlang.org/Handbook/) ## Software Testing - [software testing and verification](https://github.com/mrexodia/free-software-testing-books/blob/master/free-software-testing-books.md) ## Front-End Development - [angular2](https://angular.io/guide/cheatsheet) - [angularjs](http://www.cheatography.com/proloser/cheat-sheets/angularjs/) - [SCSS cheatsheet](https://web.archive.org/web/20130630013236/http://sass-cheatsheet.brunoscopelliti.com/) - [CSS Flex Box](https://jonitrythall.com/images/flexboxsheet.pdf) - [sass/SCSS functions cheatsheet](https://gist.github.com/AllThingsSmitty/3bcc79da563df756be46) - [ember-js](http://www.cheatography.com/mwore/cheat-sheets/ember-js/) - [es6-cheatsheet](https://github.com/DrkSephy/es6-cheatsheet) - [font-awesome](http://fontawesome.io/cheatsheet/) - [jquery](https://oscarotero.com/jquery/) - [jquery-cheatsheet]([http://lab.abhinayrathore.com/jquery-cheatsheet/](https://web.archive.org/web/20181029034237/http://lab.abhinayrathore.com/jquery-cheatsheet/)) - [react-cheatsheet](https://reactcheatsheet.com/) - [react-native-cheat-sheet](https://github.com/refinery29/react-native-cheat-sheet) - [react-native-styling-cheat-sheet](https://github.com/vhpoet/react-native-styling-cheat-sheet) - [redux](https://devhints.io/redux) - [underscore-cheat-sheet](https://appletree.or.kr/quick_reference_cards/JavaScript/Underscore.js%20API%20Cheat%20sheet.pdf) - [webpack](https://github.com/petehunt/webpack-howto) - [\ Cheat Sheet](https://web.archive.org/web/20160802212809/http://gethead.info/) - [page-load Cheat Sheet](https://developers.google.com/speed/docs/insights/about) - [Bootstrap 4](https://hackerthemes.com/bootstrap-cheatsheet/) - [Bootstrap 5 Cheatsheet](https://bootstrap-cheatsheet.themeselection.com/) - [jest-cheat-sheet](https://github.com/sapegin/jest-cheat-sheet) - [flexbox-cheatsheet](http://vudav.github.io/flexbox-cheatsheet/) - [vue-cheatsheet](https://devhints.io/vue) ## Back-End Development - [laravel-cheatsheet](https://github.com/jesseobrien/laravel-cheatsheet) - [ror](http://www.cheatography.com/davechild/cheat-sheets/ruby-on-rails/) - [web2py](http://web2py.com/examples/static/web2py_cheatsheet.pdf) - [nodejs](https://gist.github.com/LeCoupa/985b82968d8285987dc3) - [django-cheatsheet](https://github.com/lucrae/django-cheat-sheet) - [syscall-cheatsheet](https://web.archive.org/web/20200620014648/http://syscalls.kernelgrok.com/) - [express-cheatsheet](https://quickref.me/express.html) ## Big Data - [machine-learning-cheat-sheet](https://github.com/soulmachine/machine-learning-cheat-sheet) - [data-structure](https://www.scaler.com/topics/data-structures) ## Databases - [CouchDB Cheatsheet](https://www.howtodojo.com/couchdb-cheatsheet/) - [Db2 CheatSheet for development](https://github.com/angoca/db2-cheat-sheet/blob/master/Db2CheatSheetForDev.pdf) - [Elasticsearch](http://elasticsearch-cheatsheet.jolicode.com) - [MongoDb-cheat-sheet](https://github.com/leojavier/MongoDb-cheat-sheet) - [mysql-cheat-sheet](http://www.cheatography.com/davechild/cheat-sheets/mysql/) - [Oracle_Programming](https://en.wikibooks.org/wiki/Oracle_Programming/SQL_Cheatsheet) - [postgresql](https://dzone.com/refcardz/essential-postgresql) (open in a new tab if it doesn't work for you) - [sql-join-cheat-sheet](http://coolshell.cn/articles/3463.html) - [SQL](http://www.sql-tutorial.net/sql-cheat-sheet.pdf) ## Theory - [acm-cheat-sheet](https://github.com/soulmachine/acm-cheat-sheet) - [bigo](http://bigocheatsheet.com/) - [Theoretical Computer Science Cheat Sheet](http://www.tug.org/texshowcase/cheat.pdf) - [regular-expression-cheat-sheet](https://github.com/niklongstone/regular-expression-cheat-sheet) - [rest-foundations-restful](https://web.archive.org/web/20240616014206/https://dzone.com/refcardz/rest-foundations-restful) - [Computer-Networks-Last-Minute-Notes](https://www.geeksforgeeks.org/last-minute-notes-computer-network/) - [Operating-System-Notes](https://www.geeksforgeeks.org/last-minute-notes-operating-systems/) ## Editors - [a_vi_vim_graphical_cheat_sheet_tutorial](http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html) - [Vim Quick Reference Card](https://michaelgoerz.net/refcards/vimqrc.pdf) - [A really easy to read and comprehensive guide on vim.](https://vim.rtorr.com/) - [GNU Emacs](https://www.gnu.org/software/emacs/refcards/pdf/refcard.pdf) - [Paredit Cheatsheet](https://www.emacswiki.org/emacs/PareditCheatsheet) - IntellJ IDEA - [Windows/Linux](https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf) - [Mac OS X](https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf) - [MarkDown Cheat Sheet](https://github.com/lifeparticle/Markdown-Cheatsheet) - [Eclipse](https://github.com/pellaton/eclipse-cheatsheet) - [Atom](https://github.com/nwinkler/atom-keyboard-shortcuts) - [NetBeans](https://www.jrebel.com/blog/netbeans-shortcuts) - [Sublime Text 3](https://www.shortcutfoo.com/app/dojos/sublime-text-3-win/cheatsheet) - [PHPStorm - Mac/Win](https://resources.jetbrains.com/storage/products/phpstorm/docs/PhpStorm_ReferenceCard.pdf) - [Notepad++](https://drive.google.com/file/d/1r4rPmYQ-dMz_9UNUKKH9F6KyWDLSlwke) - [VSCode](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf) - [Windows VSCode shortcuts](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf) - [MacOS VSCode shortcuts](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf) - [Linux VSCode shortcuts](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf) ## Tools - [awk-nawk-and-gawk-cheat-sheet](http://www.catonmat.net/blog/awk-nawk-and-gawk-cheat-sheet/) - [curl](https://github.com/bagder/curl-cheat-sheet) - [dtrace and stap](http://myaut.github.io/dtrace-stap-book/dtrace-stap-cheatsheet.pdf) - [GDAL/OGR command-line tools](https://github.com/dwtkns/gdal-cheat-sheet) - [Git Cheat Sheet and Git Flow](https://github.com/arslanbilal/git-cheat-sheet) - [git_cheat_sheet](http://rogerdudler.github.io/git-guide/files/git_cheat_sheet.pdf) - [github-cheat-sheet](https://github.com/tiimgreen/github-cheat-sheet) - [git-style-guide](https://github.com/agis/git-style-guide) - [git-flow-cheatsheet](https://github.com/danielkummer/git-flow-cheatsheet) - [interactive git cheat sheet](https://web.archive.org/web/20230609010002/http://the-awesome-git-cheat-sheet.com/) - [Kafka](https://github.com/Landoop/kafka-cheat-sheet) - [latexsheet](http://wch.github.io/latexsheet/) - [mac-command-line-cheatsheet](https://github.com/herrbischoff/awesome-osx-command-line) - [matlab-cheatsheet](http://web.mit.edu/18.06/www/Spring09/matlab-cheatsheet.pdf) - [Mobaxterm](https://mobaxterm.mobatek.net/documentation.html) - [Octave-cheatsheet](http://ais.informatik.uni-freiburg.de/teaching/ss14/robotics/etc/cheatsheet.pdf) - [rspec](https://gist.github.com/dnagir/663876) - [RSpec cheatsheet](https://github.com/eliotsykes/rspec-rails-examples) - [svn](http://www.abbeyworkshop.com/howto/misc/svn01/) - [sed-stream-editor-cheat-sheet](http://www.catonmat.net/blog/sed-stream-editor-cheat-sheet/) - [terminal-mac-cheatsheet](https://github.com/0nn0/terminal-mac-cheatsheet) - [tmux](https://gist.github.com/andreyvit/2921703) - [Unix Toolbox](https://web.archive.org/web/20210916210855/http://cb.vu/unixtoolbox.xhtml) - [sysadmin](https://github.com/kahun/awesome-sysadmin) - [systemtap-cheat-sheet](https://github.com/calio/systemtap-cheat-sheet) - [Zypper Command Line Tool Cheatsheat](https://en.opensuse.org/images/1/17/Zypper-cheat-sheet-1.pdf) ## Media - [favicon-cheat-sheet](https://github.com/audreyr/favicon-cheat-sheet) ## Security - [HTML5 Security Cheatsheet](https://github.com/cure53/H5SC) - [Security Tools Cheatsheets](https://github.com/andrewjkerr/security-cheatsheets) - [oauthsecurity](https://sakurity.com/oauth) - [OWASP Cheat Sheets](https://cheatsheetseries.owasp.org/) ## Project Management - [Agile Cheatsheet](https://web.archive.org/web/20200309045627/http://cheatsheetworld.com/programming/agile-development-cheat-sheet/) - [Scrum Cheatsheet](https://www.axosoft.com/Downloads/Scrum_Diagram.pdf) - [Kanban Cheatsheet](https://teamhood.com/wp-content/uploads/2022/11/Kanban-Cheat-Sheet.png) - [Lean Cheatsheet](https://web.archive.org/web/20190206092349/https://www.cheatography.com/davidpol/cheat-sheets/lean-methodology/pdf_bw/) - [A set of metodologies in one Cheatsheet (waterfall, agile, lean, xp, etc)](https://www.cheatography.com/nataliemoore/cheat-sheets/system-development-methodologies/pdf_bw/) ## Miscellaneous - [easings.net](https://github.com/ai/easings.net) - [math-as-code](https://github.com/Jam3/math-as-code) - [MobileApp-Pentest-Cheatsheet](https://github.com/tanprathan/MobileApp-Pentest-Cheatsheet) - [Network-related cheatsheets](https://web.archive.org/web/20240612064952/https://packetlife.net/library/cheat-sheets/) - [api-cheat-sheet](https://github.com/RestCheatSheet/api-cheat-sheet) - [cheatsheets-ai](https://github.com/kailashahirwar/cheatsheets-ai) - [Systems Programming Cheat Sheet](https://github.com/jstrieb/systems-programming-cheat-sheet) - [Video Streaming Cheatsheet](https://github.com/robert-will-brown/video-streaming-cheatsheet) ================================================ FILE: requirements.txt ================================================ requests==2.32.2 ================================================ FILE: tests/url_validate.py ================================================ #!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: detailyang # @Date: 2016-02-25 11:23:59 # @Last Modified by: detailyang # @Last Modified time: 2016-06-05 22:26:44 import re import sys import os from requests import get from requests.exceptions import ConnectionError, MissingSchema url_re = re.compile('.*\[.*\]\((.*)\)') current_dir = os.path.dirname(os.path.realpath(__file__)) headers = {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'} file = '{current_dir}/../README.md'.format(current_dir=current_dir) with open(file) as f: for line, content in enumerate(f): m = re.match(url_re, content) if m is None: continue try: result = get(m.group(1), headers=headers) if result.status_code >= 400: print('{file} line #{line} {url} return {code}'.format(file=file, line=line, url=m.group(1), code=result.status_code)) sys.exit(1) print('{file} line #{line} {url} pass'.format(file=file, line=line, url=m.group(1))) except ConnectionError: print('{file} line #{line} {url} cannot connect'.format(file=file, line=line, url=m.group(1))) except MissingSchema: print('{file} line #{line} {url} missing schema'.format(file=file, line=line, url=m.group(1)))