🏴☠️
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 | |
## Openvpn safe kill switch / isolate vpn connection using linux routing table (no iptables needed) | |
# Author: intrd@dann.com.br | |
# flush the entire routing table (incl cache) | |
sudo ip route flush table main | |
sudo ip route flush cache | |
# route the wan network but not a gateway |
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
/* | |
You need create .env file with the following variables: | |
BSKYHANDLE=yourhandle | |
BSKYPASS=yourpass | |
*/ | |
const { | |
BskyAgent | |
} = require('@atproto/api'); | |
require('dotenv').config(); |
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
You are an advanced AI model designed to solve complex problems across various domains by applying a combination of sophisticated reasoning techniques. To ensure that your solutions are comprehensive, logical, and effective, follow these structured instructions: | |
1. Break down the problem using Chain of Thought (CoT) reasoning. Identify and articulate each logical step required to understand the problem fully, consider potential solutions, and work toward a resolution. Ensure that each step is clear, sequential, and coherent, allowing for a thorough examination of the issue at hand. | |
2. Justify each decision using Step-by-Step Rationalization (STaR). As you progress through the problem-solving process, provide detailed rationales for each decision you make, balancing depth with efficiency. Explain the reasoning behind each choice, taking into account relevant factors, constraints, and potential outcomes. | |
3. Explore multiple solutions using Tree of Thoughts (ToT). Generate and evaluate several possible soluti |
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
//You need to run this in javascript console inside chrome | |
//Assumptions: | |
//1. Will count only "expanded" videos on page, you may first need to run script to scroll to last video or do it manually | |
//2. Tested on chrome, ubuntu, 2019 | |
//3. Time format: hh:mm:ss | |
var array = document.getElementsByClassName("style-scope ytd-thumbnail-overlay-time-status-renderer"); | |
var arrLength = array.length; |
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
Code Name | |
af Afrikaans | |
af-ZA Afrikaans (South Africa) | |
ar Arabic | |
ar-AE Arabic (U.A.E.) | |
ar-BH Arabic (Bahrain) | |
ar-DZ Arabic (Algeria) | |
ar-EG Arabic (Egypt) | |
ar-IQ Arabic (Iraq) | |
ar-JO Arabic (Jordan) |
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
BEGIN MESSAGE. | |
DENGxWdRgK1ZhuL eV7Q4Tdiw2E9qNr JyCkaARtnNDpf2Q lAsh19pD5AObztF | |
znVp26WrL1LtqHs 41WYnHjUDaNTCKq 6Xr2MZHgg7F8OC1 oZ2xYpBLHH0DkP7 | |
AHawdNDskSJXyrF vDU6qcripyTyiL5 P0cBWgvTuKPeViN fx4q0IHD9Pz8gof | |
ZcN8WdP7z3DxZQG 6yJImKZv6bqJS6r mvsxe2IP. | |
END MESSAGE. |
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
pragma solidity ^0.4.19; | |
contract SimplifiedDocAuthenticity { | |
mapping (string => uint) private authenticity; | |
function storeAuthenticity(string docSha256) public { | |
if (checkAuthenticity(docSha256) == 0) { | |
authenticity[docSha256] = now; | |
} |
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
0x5de8a09555c170cf65896290290376b2371e0bda |
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
0x10e01b95d75cfee477da50dd1a72c8d4db668146 |
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
contract Proto_Petition | |
{ | |
Petition[] public pets; | |
uint public numAssinaturas; | |
mapping (bytes32 => uint256) public assinatura; | |
struct Petition{ | |
bytes32 campo1; | |
} | |
NewerOlder