I hereby claim:
- I am namachan10777 on github.
- I am namachan10777 (https://keybase.io/namachan10777) on keybase.
- I have a public key ASBesAA_V-x63y7SRmo6hrEcFSzdIbOZE-4TuwGKNmMlWgo
To claim this, I am signing this object:
// SPDX-FileCopyrightText: (c) 2021-2023 Shawn Silverman <shawn@pobox.com> | |
// SPDX-License-Identifier: AGPL-3.0-or-later | |
// OSCPrinter prints received OSC messages. It uses the well-known | |
// OSC port 8000 and advertises an OSC mDNS service on that port. | |
// To see messages, discover this example using a program such as | |
// TouchOSC and then send some messages. | |
// | |
// This example relies on the LiteOSCParser library. | |
// |
-- Bootstrap {{{ | |
local function exists(file) | |
local ok, err, code = os.rename(file, file) | |
if not ok then if code == 13 then return true end end | |
return ok, err | |
end | |
local install_path = vim.fn.stdpath('data') .. '/site/pack/packer/opt/' | |
if not exists(install_path .. 'packer.nvim') then | |
vim.cmd('!git clone https://github.com/wbthomason/packer.nvim ' .. | |
install_path .. 'packer.nvim') |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
for container in $(docker ps | awk 'NR>1{print $1}'); do | |
printf "%s: %s\n" ${container} $(docker inspect $(docker inspect ${container} | jq .[0].Image | gsed -e 's/"sha256:\([0-9a-f]*\)"/\1/g') | jq .[0].Architecture) | |
done |
use std::{process::exit, sync::{Arc, RwLock}}; | |
use std::sync::mpsc; | |
use std::thread; | |
use std::time::SystemTime; | |
use std::time::Duration; | |
use std::collections::HashMap; | |
use rand::prelude::*; | |
type DB = Arc<RwLock<HashMap<String, Arc<RwLock<usize>>>>>; |
FROM elixir:1.11-alpine | |
LABEL maintainer "Masaki Nakano<namachan10777@gmail.com>" | |
WORKDIR /pleroma | |
RUN apk update \ | |
&& apk upgrade \ | |
&& apk add git make gcc musl-dev cmake g++ file-dev \ | |
&& rm -rf /tmp/* /var/cache/apk/* \ | |
&& mkdir /pleroma/uploads |
#include <stdio.h> | |
int fib(int n) { | |
if (n == 0 || n == 1) { | |
return 1; | |
} | |
return fib(n-1) + fib(n-2); | |
} | |
int main() { |
#!/usr/bin/python3 | |
import numpy as np | |
def sigmoid(x): | |
return 1/(1+np.exp(-x)) | |
def inv_sigmoid(x): | |
return (1-sigmoid(x))*sigmoid(x) | |
def loss_d(y, estimated): |
let build scad filename = | |
let oc = open_out_gen [Open_wronly; Open_trunc; Open_creat] 0o666 filename in | |
Scad_ml.Util.write oc scad; | |
close_out oc | |
let key_size = (19.0, 19.0, 5.0) | |
let cherry_mx = Key_unit.cherry_mx | |
let pi = Scad_ml.Core.pi |
[colors] | |
;background = ''${xrdb:color0:#222} | |
background = #222 | |
background-alt = #444 | |
;foreground = ''${xrdb:color7:#222} | |
foreground = #dfdfdf | |
foreground-alt = #555 | |
primary = #ffb52a | |
secondary = #e60053 | |
alert = #bd2c40 |