This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import numpy as np | |
| #=========================================== | |
| #%% Index and element wise operation | |
| #=========================================== | |
| #%% logical indexing | |
| data = np.random.randn(7,4) | |
| names = np.array(['Bob', 'Joe', 'Will', 'Bob', 'Will', 'Joe', 'Joe']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| match.py | |
| replace.py | |
| search.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Easiest | |
| // Mydata.json.js defines a variable | |
| <script src="mydata.json.js"></script> | |
| //? work | |
| fetch("test.json") | |
| .then(response => response.json()) | |
| .then(json => console.log(json)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export LC_ALL=en_US.UTF-8 | |
| export LANG=en_US.UTF-8 | |
| export CLICOLOR=1 | |
| export TERM=xterm-color | |
| export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' | |
| export CLICOLOR=1 | |
| export HISTFILESIZE=100000 | |
| export HISTSIZE=100000 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Variable, type and functions https://github.com/PacktPublishing/Julia-1.0-Programming-Cookbook/tree/master/Chapter05 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE courses_question q | |
| SET video = '' | |
| FROM courses_questioncategory qc | |
| WHERE qc.category = 'recordingVoiceImageOnly' | |
| AND q.question_category_id = qc.id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1_matplotlib | |
| # 2_seaborn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try: | |
| func() | |
| except IOError as exc: | |
| print(exc) | |
| raise exc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # xml document | |
| # edit.py | |
| # encode.py | |
| # extract.py | |
| # namespace.py | |
| # search.py |
OlderNewer