Skip to content

Instantly share code, notes, and snippets.

View andreiverse's full-sized avatar
💻
Coding as usual.

Andrei Sonea andreiverse

💻
Coding as usual.
View GitHub Profile
{
"$schema" : "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate" : "2026-05-04T22:12:59.459-00:00",
"Sources" :
[
{
"Packages" :
[
{
"PackageIdentifier" : "Git.Git"
pacman -Syy
# Required
yay -S fastfetch tmux glow zip unzip vlc ffmpeg
# Yay
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
"use client";
import RoundDisplay from '@/components/games/ui/game/roundDisplay';
import { GenericAnswer } from '@/components/GenericAnswer';
import GenericProgressBar from '@/components/GenericProgressBar';
import { Button } from '@/components/ui/button';
import useTimer from '@/lib/hooks/useTimer';
import { atom, useAtom } from 'jotai';
import { useState } from 'react';
Picked up JAVA_TOOL_OPTIONS: -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/liquibase/liquibase-maven-plugin/4.31.1/liquibase-maven-plugin-4.31.1.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/liquibase/liquibase-maven-plugin/4.31.1/liquibase-maven-plugin-4.31.1.pom (2.0 kB at 2.8 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/liquibase/liquibase-maven-plugin/4.31.1/liquibase-maven-plugin-4.31.1.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/liquibase/liquibase-maven-plugin/4.31.1/liquibase-maven-plugin-4.31.1.jar (352 kB at 700 kB/s)
[INFO]
[INFO] ------------------< org.d4.liceulmeu2:liceulmeu2-lib >------------------
[INFO] Building liceulmeu2-lib 1.0
[INFO] from pom.xml
```
Picked up JAVA_TOOL_OPTIONS: -Dstdout.encoding=UTF-8 -Dstderr.encoding=UTF-8
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.d4.liceulmeu2:liceulmeu2-lib >------------------
[INFO] Building liceulmeu2-lib 1.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
common:
instance_addr: 127.0.0.1
path_prefix: /tmp/loki
storage:
@andreiverse
andreiverse / wininet.c
Created September 14, 2022 13:48
wininet get requests
#define _UNICODE
#include <tchar.h>
#include <wchar.h>
#include <Windows.h>
#include <WinInet.h>
#include <stdio.h>
int http_getrequest(char * host, int port, char * path, DWORD dwFileSize, DWORD * dwBytesRead, char * buffer) {

Keybase proof

I hereby claim:

  • I am d4rckh on github.
  • I am d4rckh (https://keybase.io/d4rckh) on keybase.
  • I have a public key ASBcHMyqpeN_Oq2cjCXk4dt5RUbLEZsp6c23gaBP-QOkkgo

To claim this, I am signing this object:

@andreiverse
andreiverse / catgrabber.js
Created March 2, 2020 14:42
Script to grab r/cats !
const request = require('request')
const fs = require('fs')
const sr = 'cats'
var i = 0
var download = function(uri, filename, callback){
request.head(uri, function(err, res, body){
request(uri).pipe(fs.createWriteStream(filename)).on('close', callback);
@andreiverse
andreiverse / sketch.ino
Created November 16, 2019 16:13
Wireless Wifi
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
// Replace with your network credentials
const char* ssid = "not a free wifi";
const char* password = "pass";
ESP8266WebServer server(80); //instantiate server at port 80 (http port)