Skip to content

Instantly share code, notes, and snippets.

View JayArrowz's full-sized avatar
:shipit:
Addicted to code

JayArrowz

:shipit:
Addicted to code
View GitHub Profile
@JayArrowz
JayArrowz / NakamaClient.cs
Created July 10, 2022 15:14 — forked from elix22/NakamaClient.cs
Nakama client , custom certificate validation of self signed server certificate
using Urho;
using System;
using System.Threading.Tasks;
using Nakama;
namespace NakamaNetworking
{
public class NakamaClient
{
@JayArrowz
JayArrowz / winners.txt
Created October 23, 2021 18:28
winners 15k
0xD693B8d1cD2a79667dc520989Af925aD478faFd0
0x65757d605828B43B4fc45f1a01F38c57cF4547c8
0x51BbEAEd00Bc5840dFc30eEcda63D098aD0a2251
0x59a1360a555Df2A8a1F7b82F3D9b9200E46D4b14
0x046a085f0B6A61C57BeEC73135A4ef91617C3430
0xD8706caCCb05708498E620eB0C846e63Bb52a324
0x2CcC8ad84b5506876A2E995a1cE959a6f76B9634
0x96c44bD2211096Fa3cC1e2aDE4cc4352F7f8bFF1
0xa5409ec958C83C3f309868babACA7c86DCB077c1
0xFD8FB7eB2606B434aF036f6b8DF2940573B89B52
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.IntStream;
class Main {
public static void main(String[] args) throws InterruptedException {
ExecutorService executor = Executors.newFixedThreadPool(2);
This file has been truncated, but you can view the full file.
{
"openapi": "3.0.1",
"info": {
"title": "Railsbank customer API",
"description": "Public API for Railsbank customers",
"version": "api"
},
"servers": [
{
"url": "/"

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
private static <A> DefaultUniConstraintCollector<A, ?, LoadBalanceData> loadBalance(
Function<A, Object> groupKey) {
return new DefaultUniConstraintCollector<>(
LoadBalanceData::new,
(resultContainer, a) -> {
Object mapped = groupKey.apply(a);
return resultContainer.apply(mapped);
},
resultContainer -> resultContainer);
@JayArrowz
JayArrowz / darkmode.js
Created August 24, 2020 14:33
Darkmode cheaphax
var darkModeStyleSheets = ['_content/Syncfusion.Blazor/styles/fabric-dark.css', '/css/site-dark.css'];
var normalStyleSheets = ['_content/Syncfusion.Blazor/styles/fabric.css'];
function setDarkMode(darkMode) {
localStorage['darkMode'] = darkMode;
var toSet = darkMode ? darkModeStyleSheets : normalStyleSheets;
var toRemove = darkMode ? normalStyleSheets : darkModeStyleSheets;
var linkNodes = document.getElementsByTagName('link');
for (var linkNodeIdx in linkNodes) {
@JayArrowz
JayArrowz / EmailSettings.cs
Last active August 17, 2020 20:05
Just a generic email solution loading Email templates from resources
public class EmailSettings
{
public string MailServer { get; set; }
public int MailPort { get; set; }
public string SenderName { get; set; }
public string Sender { get; set; }
public string Password { get; set; }
}
import com.client.client.Client;
import com.client.client.M;
import com.client.client.n;
import java.lang.reflect.Field;
import java.util.Scanner;
public class Program {
public static void main(String[] args) throws Exception {
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Ripple.Abstractions.Model;
using Serilog;
using System;
using System.Threading.Tasks;
namespace Ripple.Controllers
{
[Route("api/[controller]/[action]")]