- Android rooted device with Magisk
- Android Magisk install MagiskFrida module
- Ubuntu 18.04
- Install MagiskFrida module
stages: | |
- build | |
- deploy | |
build: | |
stage: build | |
when: on_success | |
only: | |
- master | |
image: docker:stable |
function cd() { | |
builtin cd "$@" | |
if [[ -z "$VIRTUAL_ENV" ]] ; then | |
## If env folder is found then activate the vitualenv | |
if [[ -d ./venv ]] ; then | |
source ./venv/bin/activate | |
fi | |
else | |
## check the current folder belong to earlier VIRTUAL_ENV folder |
location /phpmy/ { | |
alias /usr/share/phpmyadmin/; | |
index index.php; | |
} | |
location ~ ^/phpmy/(.*\.(js|css|gif|jpg|png))$ { | |
alias /usr/share/phpmyadmin/$1; | |
} | |
location ~ ^/phpmy(.+\.php)$ { |
#!/bin/bash | |
msg="message=$1" | |
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Bearer TOKEN" \ | |
--data "$msg" \ | |
https://notify-api.line.me/api/notify |
%load_ext autoreload | |
%autoreload 2 | |
%reload_ext autoreload |
#!/bin/bash | |
for f in * ; do mv -- "$f" "PRE_$f" ; done |
# https://github.com/plamere/spotipy/issues/194#issuecomment-315458391 | |
# http://spotipy.readthedocs.io/en/latest/#client-credentials-flow | |
import spotipy | |
from spotipy.oauth2 import SpotifyClientCredentials | |
client_credentials_manager = SpotifyClientCredentials(client_id='CLIENT_ID', client_secret='CLIENT_SECRET') | |
sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager) |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<script src="js/face-api.min.js"></script> | |
</head> | |
<body> |