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
hook global BufCreate .*\.(ad[sb]) %{ | |
set-option buffer filetype ada | |
} | |
hook global WinSetOption filetype=ada %{ | |
require-module ada | |
set-option window static_words %opt{ada_static_words} | |
} | |
hook -group ada-highlight global WinSetOption filetype=ada %{ |
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
// ==UserScript== | |
// @name Export SLR Parser Automata to C | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-23 | |
// @description Export SLR Parser Automata to C | |
// @author Ed | |
// @match https://jsmachines.sourceforge.net/machines/slr.html | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=sourceforge.net | |
// @grant none | |
// ==/UserScript== |
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
declare global { | |
interface Env { | |
readonly CASTER: DurableObjectNamespace; | |
readonly RATE_LIMITER: { | |
limit(opt: { key: string }): Promise<{ success?: boolean }>; | |
}; | |
} | |
} | |
// noinspection JSUnusedGlobalSymbols |
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
import { | |
type DependencyContainer, | |
type InjectionToken, | |
container, | |
inject, | |
injectable, | |
injectWithTransform, | |
} from "tsyringe"; | |
import type Transform from "tsyringe/dist/typings/types/transform"; |
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
# **Regresión Lineal Multivariable** | |
import numpy as np | |
import pandas as pd | |
from sklearn.linear_model import LinearRegression | |
from sklearn.metrics import mean_squared_error, r2_score | |
#from sklearn.preprocessing import PolynomialFeatures | |
Ahora, la descripción de la venta de coches se realizó por medio del número de la semana y el día de la semana (dos variables) | |
**Set de datos** | |
data = pd.read_csv('Fish.csv') |
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
# nginx -p "$PWD" -c nginx/nginx.conf | |
worker_processes 1; | |
error_log stderr; | |
daemon off; | |
pid nginx/nginx.pid; | |
events { | |
worker_connections 512; | |
} |
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
fn main() { | |
::capnpc::CompilerCommand::new() | |
.src_prefix("src") | |
.output_path("src") | |
.file("src/hello.capnp") | |
.run() | |
.unwrap(); | |
} |