Skip to content

Instantly share code, notes, and snippets.

View Mika-'s full-sized avatar

Mika Simanainen Mika-

View GitHub Profile
scoop bucket add versions
scoop install python uv ollama bun-canary
git clone https://github.com/stitionai/devika.git
# Model
ollama serve
ollama pull codellama
# Backend
cd devika\
version: '3'
services:
storj-node-1:
image: storjlabs/storagenode:latest
container_name: storj-1
restart: unless-stopped
ports:
- 28967:28967
- 14002:14002

Storj.io node diary

2020-12-01

November resulted pretty similar figures. Total size of data on the nodes is now 1.8TB and the final bandwidth for the month was 794GB ingress and 58GB egress

2020-11-01

During last month my node grew to 992GB. This was the first vetted month so traffic should finally be at a normal level. This resulted as 780GB ingress and 51GB egress. Added a second node on another hard drive with 500GB limit.

2020-09-26

Node is about one month old and is using 250GB of storage. Vetting process is completed on 3/5 satellites. Last two are sitting at 63 and 84 audits. Bandwidth has finally picked up a little, but that may be related to network distruption going on.

We can't make this file beautiful and searchable because it's too large.
ID,NAME,CREATED,UPDATED,USERS,OPEN_SOURCE,DISABLED
1865,Adblock Plus,2006-01-17T07:28:30Z,2020-04-01T00:00:11Z,9410625,,false
607454,uBlock Origin,2015-04-25T07:26:22Z,2020-05-16T01:30:13Z,5891321,,false
3006,Video DownloadHelper,2006-07-22T05:20:43Z,2020-04-21T14:35:13Z,3094587,,false
431482,Easy Screenshot,2013-04-16T01:57:25Z,2019-04-25T07:35:09Z,2933265,,false
735601,Cisco Webex Extension,2016-09-22T09:15:31Z,2019-07-11T04:45:13Z,2706590,,false
954390,Facebook Container,2018-03-22T18:36:07Z,2020-04-13T20:31:25Z,2075780,,false
722,NoScript Security Suite,2005-05-13T10:51:32Z,2020-05-15T19:40:12Z,1841278,,false
9609,Ghostery – Privacy Ad Blocker,2008-11-15T11:19:34Z,2020-04-13T15:47:15Z,1581019,,false
506646,Privacy Badger,2014-05-01T18:23:16Z,2020-05-13T15:04:13Z,1414073,,false
<?php
declare(strict_types=1);
namespace App;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
<?php
/**
* Get first element from array
*
* @param array $array
* @return mixed|null
*/
function array_first(array $array)
{
<?php
/**
* Sort array of string by relevance
*
* @param array $array
* @param string $query
* @return array
*/
function array_sort_suggest(array $array, string $query) : array
<?php
/**
* Find first element from array by callback
*
* @param array|\Traversable $array
* @param callable $callback
* @return mixed|null
*/
function array_find($array, callable $callback)
C:\WINDOWS\system32> dism /online /get-capabilities | findstr /i "OpenSSH"
Capability Identity : OpenSSH.Client~~~~0.0.1.0
Capability Identity : OpenSSH.Server~~~~0.0.1.0
C:\WINDOWS\system32>dism /online /Add-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0
Deployment Image Servicing and Management tool
Version: 10.0.16299.15
Image Version: 10.0.16299.64
curl -s "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&showintro=0&mimetype=plaintext" | sed "s/127\.0\.0\.1/0.0.0.0/" > /etc/dnsmasq.d/dnsmasq.adlist.conf
/etc/init.d/dnsmasq force-reload