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
[Unit] | |
After=docker.service docker.socket | |
After=ifup@eth0.service | |
Wants=ifup@eth0.service | |
[Service] | |
ExecStart=/usr/bin/docker run \ | |
--rm \ | |
--name=traefik \ |
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
{ config, lib, pkgs, modulesPath, ... }: | |
{ | |
imports = | |
[ | |
"${fetchTarball "https://github.com/NixOS/nixos-hardware/archive/2a7063461c3751d83869a2a0a8ebc59e34bec5b2.tar.gz" }/raspberry-pi/4" | |
]; | |
boot.kernelPackages = pkgs.linuxPackages_rpi4; | |
boot.kernel.sysctl."vm.swappiness" = 0; |
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
{ | |
"translatorID":"90ed0f17-6ead-42fe-afb9-d34adb230099", | |
"translatorType":2, | |
"label":"Item URI para cucho", | |
"creator":"jojo", | |
"target":"html", | |
"minVersion":"2.0", | |
"maxVersion":"", | |
"priority":200, | |
"inRepository":false, |
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
# frozen_string_literal: true | |
module Views | |
module CssClasses | |
extend ActiveSupport::Concern | |
class CssHelper; end | |
class_methods do | |
def css_helper |
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
# frozen_string_literal: true | |
module Ai | |
class Function | |
# Returns a formatted function payload | |
def to_payload | |
{ | |
"name" => name, | |
"description" => description, | |
"parameters" => parameters, |
OlderNewer