Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Long Live Godhand

Azim Azim

💭
Long Live Godhand
  • Russia
View GitHub Profile
@Azim
Azim / ColorUtil.java
Last active Feb 5, 2021
util class to get colors of blocks and stuff. Made with help of @Chicken
View ColorUtil.java
package icu.azim.mapbot;
import java.awt.Color;
import java.util.HashMap;
import org.bukkit.Material;
public class ColorUtil {
View CrossoutDB settings string
eyJkYXJrLW1vZGUiOmZhbHNlLCJ0aW1lc3RhbXAtZm9ybWF0LWRhdGUiOiJERC1NTS1ZWVlZIiwidGltZXN0YW1wLWZvcm1hdC10aW1lIjoiSEg6bW06c3MiLCJmdWxsLXNpemUtdGFibGUiOnRydWUsImRyb3Bkb3duIjp0cnVlLCJ2ZXJ0aWNhbC1idXR0b25zIjpmYWxzZSwibGVnYWN5LWZpbHRlcnMiOmZhbHNlLCJyYW5nZS1maWx0ZXJzIjpmYWxzZSwiZXhwb3J0LWJ1dHRvbnMiOmZhbHNlLCJsZW5ndGgiOiIyMCIsImZ1bGwtc2l6ZS1pdGVtLXRhYnMiOmZhbHNlLCJkYXRhLWdyb3VwaW5nIjp0cnVlLCJyZWNpcGUtb3RoZXItY29zdHMtYW1vdW50IjoxLCJyZWNpcGUtb3RoZXItY29zdHMtc2VsbHByaWNlIjowLCJyZWNpcGUtb3RoZXItY29zdHMtYnV5cHJpY2UiOjAsImZ1bGwtc2l6ZS1wYWNrcyI6dHJ1ZX0=
@Azim
Azim / array.c
Created Oct 19, 2017
Generate random array in C/c++
View array.c
int array[MAX_ROWS][MAX_COLS];
srand(time(NULL));
printf("\n j j j j j");
for(int i=0;i<MAX_ROWS;i=i+1){
printf("\n \n i ");
for(int j=0;j<MAX_COLS;j=j+1){
array[i][j]=rand();
if(array[i][j]<10000){