Spotiamp features a builtin Shoutcast® server, so you can easily stream the music to any device supporting Shoutcast, such as Sonos.
I've installed version 5.8
Spotiamp features a builtin Shoutcast® server, so you can easily stream the music to any device supporting Shoutcast, such as Sonos.
I've installed version 5.8
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"URLs that can be created is from:
https://github.com/*https://*.github.com| var MAINET_RPC_URL = 'https://mainnet.infura.io/metamask' ; | |
| var ROPSTEN_RPC_URL = 'https://ropsten.infura.io/metamask' ; | |
| var KOVAN_RPC_URL = 'https://kovan.infura.io/metamask' ; | |
| var RINKEBY_RPC_URL = 'https://rinkeby.infura.io/metamask' ; | |
| var CURRENT_URL = MAINET_RPC_URL ; | |
| $( document ).ready(function() { | |
| web3 = new Web3(new Web3.providers.HttpProvider(CURRENT_URL)); |
First, learn JSON. It's not programming language, not even close. Just follow syntax rules and you will be fine.
| #!/usr/bin/env bash | |
| # https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
| # https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
| # https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
| # https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
| # https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
| # https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
| # Versions | |
| CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
| # post a message to discord api via a bot | |
| # bot must be added to the server and have write access to the channel | |
| # you may need to connect with a websocket the first time you run the bot | |
| # use a library like discord.py to do so | |
| import requests | |
| import json | |
| channelID = "your_id_goes_here" # enable dev mode on discord, right-click on the channel, copy ID | |
| botToken = "your_token_here" # get from the bot page. must be a bot, not a discord app |
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from selenium.webdriver.support import expected_conditions as EC | |
| driver = webdriver.Firefox() | |
| driver.get("http://www.kinopoisk.ru/film/596001/") | |
| try: |
| #!/usr/bin/env bash | |
| # Usage: | |
| # echo -e "... $(text-style style ...) ..." | |
| # echo -e "... $(text-reset) ..." | |
| # echo -e "... $(text-color r g b) ..." | |
| # echo -e "... $(background-color r g b) ..." | |
| # | |
| # Where: | |
| # styles: |