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
for i in {0..255}; do print -Pn ' '%K{$i} %k%F{$i}${(l:3::0:)i}%f ' ' ${${(M)$((i%6)):#3}:+$'\n'}; done |
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
version: '3' | |
services: | |
mysql: | |
image: docker.io/bitnami/mysql:8.0 | |
volumes: | |
- ./mysql_data:/bitnami/mysql | |
environment: | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MYSQL_USER=bn_wordpress | |
- MYSQL_DATABASE=bitnami_wordpress |
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
const readline = require("readline"); | |
const { default: faker } = require("@faker-js/faker"); | |
require("isomorphic-fetch"); | |
const API_URL = "http://localhost:4242/api/admin/projects/default/features"; | |
const API_KEY = "<YOUR_ADMIN_TOKEN>"; | |
const pastDate = (min = 0) => new Date(Date.now() - 1000 * 60 * min); | |
const FgGreen = "\x1b[32m"; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// ==UserScript== | |
// @name Twitter to Nitter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Tymek | |
// @match https://twitter.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== |
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 { compile } from 'svelte/compiler' | |
/** | |
* @returns {import('vite').Plugin} | |
*/ | |
const vitePluginSvelteDocs = () => { | |
const virtualModuleId = '@virtual:svelte-docs' | |
return { | |
name: 'vite-plugin-svelte-docs', |
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
{ | |
"headers": [ | |
{ | |
"source": "/(.*)", | |
"headers": [ | |
{ | |
"key": "Permissions-Policy", | |
"value": "interest-cohort=()" | |
} | |
] |
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
#!/bin/bash | |
clear | |
echo "" | |
echo -e "\e[44mHEADLESS RASPBIAN\e[0m" | |
echo "WiFi & SSH setup" | |
echo "" | |
echo "Available partitions:" | |
lsblk -e7 | |
echo "" |
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
#!/usr/bin/env python3 | |
import sys | |
import os | |
import glob | |
import subprocess | |
import multiprocessing as mp | |
import subprocess | |
# change this | |
inputDir = "./input" |
NewerOlder