Skip to content

Instantly share code, notes, and snippets.

View Fuud's full-sized avatar

Fedor Bobin Fuud

View GitHub Profile
if (window.location == "https://stash.odkl.ru/dashboard"){
$(".pull-request-row").each(function (i, e){
const titleA = $(e).find(" .title a");
const url = "https://stash.odkl.ru/rest/api/latest" + $(titleA).attr("href").replace("/overview", "");
$.getJSON(url, function (data){
$(e).find(".details .pr-project-repo").after(`
<span class="ref-lozenge details-item"
data-project-key="ODKL"
data-repo-slug="odnoklassniki-webrtc">
<span role="presentation">
@Fuud
Fuud / Clinkz.md
Last active November 29, 2023 09:38

Clinkz

STRAFE

Увеличивает скорость и дальность атаки владельца. Все скелеты-лучники в радиусе 1200.0 тоже получают дополнительную дальность атаки и 50.0% от дополнительной скорости атаки.

Не снимает невидимость от Skeleton Walk. То есть можно бафать скелетиков не выходя из инвиза

  • Дополнительная скорость атаки: 100.0 / 140.0 / 180.0 / 220.0
  • Длительность: 3.5
  • Дополнительная дальность: 200 (суммарная 800)
@Fuud
Fuud / JavaPart.java
Created August 25, 2017 06:11
Test kotlin coroutines
package test;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.concurrent.CompletableFuture;
class SubscriptionFinderRegistry {
static <T extends Event> SubscriptionFinder<T> getSubscriptionFinder(T event) {
@Fuud
Fuud / Идеи
Last active November 28, 2016 13:33
1. Json assert
2. Thread pool with virtuals pools
3. Pokemon locator - background service for android
4. fuud-window-stat - histogram with inlined counters
5. byte queue limited by size - for tracing, diagnostic messages, etc. With searching.
6. gitter reader from archive with bookmarks and notes.
package com.github.metricscore.hdr.histogram;
import com.codahale.metrics.Clock;
import com.codahale.metrics.Reservoir;
import com.codahale.metrics.Snapshot;
import com.codahale.metrics.WeightedSnapshot;
import com.github.metricscore.hdr.counter.SimpleWindowCounter;
import java.time.Duration;
import java.util.ArrayList;
@Fuud
Fuud / SimpleWindowCounter.java
Last active September 8, 2016 12:14
SimpleWindowCounter
package com.github.metricscore.hdr.counter;
import com.codahale.metrics.Clock;
import java.time.Duration;
import java.util.Arrays;
import java.util.Optional;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.atomic.LongAdder;
package lombok;
import org.junit.runner.Description;
import org.junit.runner.RunWith;
import org.junit.runner.Runner;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunNotifier;
@RunWith(Test.ReplayLogRunner.class)
public class Test {
@Fuud
Fuud / UseFieldTest.java
Created October 30, 2014 12:17
GridKit. Field access. NPE.
import org.gridkit.nanocloud.Cloud;
import org.gridkit.nanocloud.CloudFactory;
import org.gridkit.vicluster.ViNode;
import org.gridkit.vicluster.ViProps;
import org.junit.Test;
public class UseFieldTest {
private int port = 8080;
@Test
package com.ringcentral.subscriptions.common;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
public class Test {
private static final Executor executor = Executors.newCachedThreadPool();
@Fuud
Fuud / TestSt.java
Created May 13, 2014 18:04
TestNPE (with devirtualization)
public class TestSt{
public static String prevMessage;
public static void main(String[] args) throws Exception {
while (true){
testNpe();
}
}
public static void testNpe() throws Exception{