Skip to content

Instantly share code, notes, and snippets.

View Kremilly's full-sized avatar
👋
こんにちは世界

Kremilly Kremilly

👋
こんにちは世界
View GitHub Profile
@Kremilly
Kremilly / dumpsync.yml
Last active November 4, 2024 17:08
DumpSync setting's base
exports:
dump_data: true
drop_table_if_exists: true
database_if_not_exists: true
connection:
max_retries: 3
retry_connection_interval: 5
@Kremilly
Kremilly / openvpn-install.sh
Created August 7, 2024 12:55
openvpn-install.sh
#!/bin/bash
# shellcheck disable=SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Amazon Linux 2, Fedora, Oracle Linux 8, Arch Linux, Rocky Linux and AlmaLinux.
# https://github.com/angristan/openvpn-install
function isRoot() {
if [ "$EUID" -ne 0 ]; then
return 1
fi
@Kremilly
Kremilly / run_python.rs
Last active July 28, 2024 04:13
run_python.rs
use pyo3::prelude::*;
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
// Inicializa o Python
Python::with_gil(|py| {
// Define o script Python
let code = r#"
import pymupdf # PyMuPDF
.markdown-body .octicon {
display: inline-block;
fill: currentColor;
vertical-align: text-bottom;
}
.markdown-body .anchor {
float: left;
line-height: 1;
margin-left: -20px;
25a4cddd8e012dccc9745c03da39bc89891d1a7acb3033642a05d2e52709ad91 protegido.pdf
print("Hello world from python via gist")
print("Hello world from python via gist")
print("Hello world from python via gist")
print("Hello world from python via gist")
print("Hello world from python via gist")
print("Hello world from python via gist")
print("Hello world from python via gist")
print("Hello world from python via gist")
{
"javascript": "#f1e05a",
"python": "#3572a5",
"java": "#b07219",
"ruby": "#701516",
"php": "#4f5d95",
"c++": "#f34b7d",
"c#": "#178600",
"typescript": "#2b7489",
"shell": "#89e051",

Keybase proof

I hereby claim:

  • I am kremilly on github.
  • I am kremilly (https://keybase.io/kremilly) on keybase.
  • I have a public key ASA3TCK_fUJWCFnk_szBoNBx18o0Sr_fpllvtnXkRMpkPAo

To claim this, I am signing this object:

/* PrismJS 1.29.0 */
code[class*=language-],pre[class*=language-]{color:#fff;background:0 0;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}:not(pre)>code[class*=language-],pre[class*=language-]{background:#4c3f33}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6651;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}:not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6651;box-shadow:1px 1px .3em -.1em #000 inset;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#997f66}.token.punctuation{opacity:.7}.token.namespace{opacity:.7}.token.boolean,.token.co
{
"br.com": "whois.centralnic.net",
"cn.com": "whois.centralnic.net",
"de.com": "whois.centralnic.net",
"eu.com": "whois.centralnic.net",
"gb.com": "whois.centralnic.net",
"gb.net": "whois.centralnic.net",
"gr.com": "whois.centralnic.net",
"hu.com": "whois.centralnic.net",
"in.net": "whois.centralnic.net",