Playing with Paper.js, combining symbols and groups to form tessellated patterns.
Also here: https://github.com/bstevens/Stellar
A Pen by Ben Stevens on CodePen.
Playing with Paper.js, combining symbols and groups to form tessellated patterns.
Also here: https://github.com/bstevens/Stellar
A Pen by Ben Stevens on CodePen.
| ## Edit your ~/.bash_profile and add this code: | |
| constantly(){ | |
| rm -rf ~/Library/Developer/Xcode/DerivedData | |
| echo "Removed all derived data." | |
| } | |
| ## Apply new added command by |
| property open_folder : true | |
| property touch_file : false | |
| property time_fmt : 1 | |
| property bring_to_front : true | |
| property organized_folder : "" | |
| property ignore_kinds : {"Safari download", "Finder Document"} | |
| -- Add suffixes to ignore. don't include the '.' | |
| property ignore_suffix : {"nzb", "torent"} | |
| property date_fmt : "+%Y-%m-%d" -- | |
| (* |
| !pip install kaggle | |
| api_token = {"username":"USERNAME","key":"API_KEY"} | |
| import json | |
| import zipfile | |
| import os | |
| with open('/content/.kaggle/kaggle.json', 'w') as file: | |
| json.dump(api_token, file) | |
| !chmod 600 /content/.kaggle/kaggle.json | |
| !kaggle config set -n path -v /content | |
| !kaggle competitions download -c jigsaw-toxic-comment-classification-challenge |
| /usr/local/share/jupyter/nbextensions/google.colab/ | |
| #make your path = | |
| /nbextensions/google.colab/ | |
| !cp /content/drive/My\ Drive/Colab\ Notebooks/yourfiles/yourJavaScript.js \ | |
| /usr/local/share/jupyter/nbextensions/google.colab/ | |
| @register_cell_magic | |
| def dojs(line, src): |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from matplotlib import animation, rc | |
| from IPython.display import HTML | |
| # animate over some set of x, y | |
| x = np.linspace(-4, 4, 100) | |
| y = np.sin(x) | |
| # First set up the figure, the axes, and the plot element |
| from tensorflow.python.client import device_lib | |
| device_lib.list_local_devices() | |
| !cat /proc/meminfo | |
| !cat /proc/cpuinfo | |
| add question mark (?) see functions | |
| #!/bin/bash | |
| TEXT_RESET='\e[0m' | |
| TEXT_YELLOW='\e[1;33m' | |
| wget https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda-repo-ubuntu1604-9-2-local_9.2.148-1_amd64 | |
| echo -e $TEXT_YELLOW | |
| echo 'WEBGET finished..' | |
| echo -e $TEXT_RESET |
| // Put this file in Program Files\Adobe\Photoshop\Presets\Scripts\ | |
| // In PhotoShop menu File > Scripts > Layers To Sprite Sheet | |
| // Arrange layers into a sprite sheet. | |
| if (documents.length > 0) { | |
| var docRef = activeDocument; | |
| var numLayers = docRef.artLayers.length; | |
| var cols = docRef.width; |
| xattr -d -r com.apple.quarantine |