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
| # The Google Cloud SDK on Travis is pretty old (2014). So if | |
| # you want to use an up-to-date version, you have to install | |
| # your own. This config is the bare minimum you'll need to | |
| # get an updated version of the SDK + kubectl. | |
| cache: | |
| directories: | |
| # We cache the SDK so we don't have to download it again on subsequent builds. | |
| - $HOME/google-cloud-sdk | |
| services: | |
| # Include the docker service so you can roll your own images. |
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
| // Thank you to @juliendev for his script (updated here with minor cosmetic changes) | |
| // https://gist.github.com/JulienDev/df5a3b66e899c224fa1b2dc90acfa2ae | |
| // Your sheet name in the document | |
| var sheetName = "Sheet1"; | |
| // Your instagram user id | |
| var user_id = ""; //find your id here : https://codeofaninja.com/tools/find-instagram-user-id | |
| var instagram_base_url = "https://www.instagram.com/graphql/query/"; | |
| var following = "?query_hash=58712303d941c6855d4e888c5f0cd22f&variables=%7B%22id%22%3A%22" + user_id + "%22%2C%22first%22%3A24%7D" |
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
| #!/bin/bash | |
| brew install redis # Install Redis using Homebrew | |
| ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents # Enable Redis autostart | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist # Start Redis server via launchctl | |
| # homebrew.mxcl.redis.plist contains reference to redis.conf file location: /usr/local/etc/redis.conf | |
| redis-server /usr/local/etc/redis.conf # Start Redis server using configuration file, Ctrl+C to stop | |
| redis-cli ping # Check if the Redis server is running |
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
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which |