This file contains 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
ffmpeg -i \ | |
https://cf-hls-media.sndcdn.com/playlist/uWlzccjYfaS3.128.mp3/playlist.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLWhscy1tZWRpYS5zbmRjZG4uY29tL3BsYXlsaXN0L3VXbHpjY2pZZmFTMy4xMjgubXAzL3BsYXlsaXN0Lm0zdTgqIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjUyMDM1NDUzfX19XX0_&Signature=ZLM9vBNwkWm8Di~dPqTlYRK-8rVCL0xFwDThRf9Lm6NWfCEi1C4xQKBsZmZAyMZegCjd~tLB7PQhu~bndZFbg-HS5PLoFowZKvLoqdudl28S7eLWhl~F5a7V~WctrbHBBKnmbcuJgBDodOleYR4jz-kqruQm8gx9TuOrRqp6AmMAihMo53vyHXm8uU3nGhu7D35Y1faKTI5hqGuv3IdS0cxKCAcQBPriSw6cncwEo5vr8S8UCyxnhjZpMteQ16f5B73UKWKvsN9WrKIT6egKI5cg57z7jlLofw8BIUab5pmXX7xpPGAy6K3z620xw5x3nw8CvE91QVSOhkrKH2euMg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ&track_authorization=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJnZW8iOiJQSyIsInN1YiI6IiIsInJpZCI6ImIxMjgwMTA4LTljMmMtNDM4Mi1iNTBkLWEwNmQzYjc4NGNkNyIsImlhdCI6MTY1MjAzNTE2MX0.Orl46D2FPe7PcJcR-SGxQ5roZ6_75Ss-93PdEkUnEkw \ | |
sc_track.mp3 |
This file contains 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
import board | |
from digitalio import DigitalInOut, Direction | |
from adafruit_wiznet5k.adafruit_wiznet5k import WIZNET5K | |
import adafruit_wiznet5k.adafruit_wiznet5k_socket as wiznet5k_socket | |
from adafruit_esp32spi import adafruit_esp32spi | |
import adafruit_esp32spi.adafruit_esp32spi_socket as esp_socket | |
import wifi | |
import socketpool | |
import ssl | |
import adafruit_requests |
First, learn JSON. It's not programming language, not even close. Just follow syntax rules and you will be fine.
This file contains 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
# 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 |
This file contains 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
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <sys/ioctl.h> | |
#include <sys/stat.h> | |
#include <net/if.h> | |
#include <ctype.h> | |
#define ETHTOOL_GSET 0x1 | |
#define SIOCETHTOOL 0x8946 |
This file contains 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
""" | |
A perl Data.Dumper clone for Python | |
Author: [email protected] | |
2011-07-08 | |
Copyright 2011 Jinyu LIU | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |