Skip to content

Instantly share code, notes, and snippets.

View ismail0234's full-sized avatar
🍬
Yanlış yerdeki doğru kişi dünyayı tamamen değiştirebilir

İsmail ismail0234

🍬
Yanlış yerdeki doğru kişi dünyayı tamamen değiştirebilir
View GitHub Profile
@ismail0234
ismail0234 / cfban.php
Created April 13, 2024 12:44 — forked from andrieslouw/cfban.php
Cloudflare V4 PHP API - block / unblock IP in firewall
<?php
/**
* @author https://github.com/andrieslouw
* @copyright 2016
**/
function cfban($ipaddr){
$cfheaders = array(
'Content-Type: application/json',
'X-Auth-Email: [email protected]',
@ismail0234
ismail0234 / comp.cfg
Created December 3, 2023 10:21 — forked from ar1a/comp.cfg
Dathost cs2 configs
// >>> DatHost Competitive Config 0.1 <<< //
// Reset from Practice to Competitive
sv_cheats "false" // Disable cheats
mp_ct_default_grenades "" // Spawn CTs without grenades
mp_t_default_grenades "" // Spawn Ts without grenades
sv_showimpacts "0" // Don't show bullet impacts
sv_falldamage_scale "1" // Enable fall damage
sv_full_alltalk "0" // Disable voice chat with anyone
@ismail0234
ismail0234 / QuaternionCompression.cs
Created January 9, 2023 10:13 — forked from StagPoint/QuaternionCompression.cs
C# - Use "smallest three" compression for transmitting Quaternion rotations in Unity's UNET networking, from 16 bytes to 7 bytes.
// Copyright (c) 2016 StagPoint Software
namespace StagPoint.Networking
{
using System;
using UnityEngine;
using UnityEngine.Networking;
/// <summary>
/// Provides some commonly-used functions for transferring compressed data over the network using
@ismail0234
ismail0234 / one-million-posts.md
Created August 3, 2022 11:16 — forked from xhrix/one-million-posts.md
One Million Posts - Wordpress

One million posts

Let's create one million posts to see the performance of a Wordpress site.

Creation of a post

The purpose of this document is to find out what is the underlying data that gets modified in a wordpress database when a post with an image are created.

What I did

Install RabbitMQ on CentOS 7

sudo yum -y install epel-release
sudo yum -y update

Install Erlang

Download repository

@ismail0234
ismail0234 / gist:0cde617ee910562d9864a04850ade666
Created December 14, 2018 11:32 — forked from heyman/gist:95ee0df663b2d4b9d6fb
Installing Locust on Ubuntu 14.04
sudo apt-get update
sudo apt-get install -y python-pip
sudo apt-get install -y python-dev
sudo apt-get install -y libzmq-dev
sudo pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install locustio
pip install pyzmq