Skip to content

Instantly share code, notes, and snippets.

@chayleaf
chayleaf / beatmapScaler.py
Created December 16, 2018 09:42
osu! beatmap speed scaler
#change this
path='C:\\Users\\pavlukivan\\AppData\\Local\\osu!\\Songs\\328117 Kurokotei - Galaxy Collapse\\Kurokotei - Galaxy Collapse (Sayaka-) [Oni].osu'
outPath='C:\\Users\\pavlukivan\\AppData\\Local\\osu!\\Songs\\Custom Collapse\\Kurokotei - Galaxy Collapse (Sayaka-) [Oni].osu'
newSpeed = 0.5
class OsuFile:
SECTION_DICT = 0
SECTION_DICT_NO_SPACE = 1
SECTION_TUPLES = 2
SECTION_OBJECTS = 3
@chayleaf
chayleaf / file.md
Last active April 24, 2025 19:10
cyberchallenge.rt.ru

решения восстановлены по памяти, сами флаги не включены

задание - баллы

Web

No Comments - 240

флаг находится в комментарии к html

Router - 245

@chayleaf
chayleaf / WebhookTutorial.md
Created April 13, 2018 19:07 — forked from jagrosh/WebhookTutorial.md
Simple Webhook Tutorial (Twitter -> Discord)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel

Step 1 - Register on Zapier

  1. Go to https://zapier.com/ and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send Tweets
@chayleaf
chayleaf / WebhookTutorial.md
Created April 13, 2018 19:07 — forked from jagrosh/WebhookTutorial.md
Simple Webhook Tutorial (Twitter -> Discord)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel

Step 1 - Register on Zapier

  1. Go to https://zapier.com/ and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send Tweets
@chayleaf
chayleaf / any_cast.h
Created April 9, 2017 10:21
boost::any helper
#ifndef ANY_CAST_H
#define ANY_CAST_H
#include "stdc++.h"
#include <boost/any.hpp>
using namespace std;
#define bac boost::any_cast
class cast {
private: