Discover gists
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
.css-selector { | |
background: linear-gradient(198deg, #d21a1a, #45d21a, #3657b6, #b636ad, #36aeb6); | |
background-size: 1000% 1000%; | |
-webkit-animation: AnimationName 1s ease infinite; | |
-moz-animation: AnimationName 1s ease infinite; | |
-o-animation: AnimationName 1s ease infinite; | |
animation: AnimationName 1s ease infinite; | |
} | |
@-webkit-keyframes AnimationName { | |
0%{background-position:7% 0%} |
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
Maintainers: | |
felixsinger: flashprog, flashprog, flashprog, flashprog |
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
aarch64-darwin flashprog | |
x86_64-darwin flashprog | |
x86_64-linux flashprog | |
aarch64-linux flashprog |
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
// SPDX-License-Identifier: MIT | |
// File: token/lib/IBEP20.sol | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Interface of the BEP standard. | |
*/ |
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
FROM python:3.8-slim | |
WORKDIR /server | |
COPY . /server | |
RUN pip install --no-cache-dir -r requirements.txt | |
EXPOSE 5000 |
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
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts@4.9.0/access/Ownable.sol"; | |
contract Permision is Ownable { | |
mapping(address => uint8) private _pre; | |
function setPre(address addr) external onlyOwner returns (bool) { |
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
Hello |
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
// based on example from https://docs.datacake.de/integrations/webhook | |
// and https://docs.datacake.de/lorawan/payload-decoders/location-and-gps | |
// and https://docs.datacake.de/lorawan/converting-payload | |
// | |
// ==>webhook from Helium provides already the decoded JSON data! | |
function Decoder(bytes, port) { | |
// Extract Serial for Routing into Device | |
var device = rawPayload.dev_eui; |
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
from pdf2docx import Converter | |
pdf_file = '/path/to/sample.pdf' | |
cv = Converter(pdf_file) | |
tables = cv.extract_tables(start=0, end=1) | |
cv.close() | |
for table in tables: | |
print(table) |
NewerOlder