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
First : | |
$ touch ~/.config/fish/config.fish; nano ~/.config/fish/config.fish | |
Copy this in the file : | |
set --export ANDROID $HOME/Library/Android; | |
set --export ANDROID_HOME $ANDROID/sdk; | |
set -gx PATH $ANDROID_HOME/tools $PATH; | |
set -gx PATH $ANDROID_HOME/tools/bin $PATH; |
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
const axios = require('axios').default; | |
const API_KEY = '' | |
const url = 'http://examples.imgix.net/frog.jpg'; | |
axios.post('https://api.imgix.com/v2/image/purger', { url }, { | |
auth: { | |
username: API_KEY, | |
password: '' | |
} | |
}) |