You can find details like subnet and compartment ID by viewing the request made from browser
import oci
import time
COMPARTMENT_ID = (
You can find details like subnet and compartment ID by viewing the request made from browser
import oci
import time
COMPARTMENT_ID = (
from yt_dlp import YoutubeDL | |
from mutagen.easymp4 import EasyMP4 | |
import os | |
ydl = YoutubeDL() | |
# List files | |
files = os.listdir() | |
# Filter out non-m4a files | |
files = [f for f in files if f.endswith(".m4a")] |
yt-dlp $(xclip -o) -f m4a -o "%(id)s.%(ext)s"
#!/bin/bash | |
if [ "$EUID" -ne 0 ]; then | |
echo "This script must be run as root." | |
exit 1 | |
fi | |
if [ "$#" -lt 1 ]; then | |
echo "Usage: sudo tunbypass <add/del/list> [server_ip]" | |
exit 1 |
const crypto = require("crypto"); | |
function B(e) { | |
return e.slice(e.byteOffset, e.byteOffset + e.byteLength); | |
} | |
async function _(e) { | |
const t = await j(e); | |
return G(t); | |
} |
package main | |
import ( | |
"crypto/sha256" | |
"encoding/hex" | |
"fmt" | |
"golang.org/x/crypto/scrypt" | |
) |
137c137 | |
< 9357: (e) => { | |
--- | |
> 9514: (e) => { | |
1096c1096 | |
< (r.text = n(9514)), | |
--- | |
> (r.text = n(1274)), | |
1104c1104 |
function foo() { | |
let fetchCopy = window.fetch; | |
return function() { | |
return fetchCopy('http://example.com'); | |
}; | |
} | |
let boo = foo(); | |
function bar() { |
#!/bin/bash | |
paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/' |
package main | |
import ( | |
"bufio" | |
"database/sql" | |
"fmt" | |
"os" | |
"strings" | |
_ "github.com/mattn/go-sqlite3" |