Skip to content

Instantly share code, notes, and snippets.

View na-ji's full-sized avatar
:octocat:
Waiting for Github stories

Naji Astier na-ji

:octocat:
Waiting for Github stories
View GitHub Profile
@na-ji
na-ji / pvp-iv98-tier-list.sql
Created January 22, 2020 07:54
Poracle PVP tracking
INSERT INTO monsters (id, pokemon_id, distance, min_iv, max_iv, min_cp, max_cp, min_level, max_level, atk, def, sta, template, min_weight, max_weight, form, maxAtk, maxDef, maxSta, gender) VALUES
('{{ target }}','1','0','-1','100','0','9000','0','21','0','9','15','3','0','9000000','0','0','9','15','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21','0','10','15','3','0','9000000','0','0','10','15','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21','0','11','13','3','0','9000000','0','0','11','13','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21','0','11','14','3','0','9000000','0','0','11','14','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21','0','12','13','3','0','9000000','0','0','12','13','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21','0','13','11','3','0','9000000','0','0','13','11','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21','0','13','12','3','0','9000000','0','0','13','12','0'),
('{{ target }}','1','0','-1','100','0','9000','0','21
@na-ji
na-ji / productivity.md
Last active April 16, 2018 14:48
Productivity on PhpStorm

Productivity Guide

Help -> Productivity Guide Provides statistics about different shortcuts, and explains most of them Productivity Guide

PhpStorm Workshop Project

Github File -> New Project A series of exercises to learn how to use the IDE with the productivity tools PhpStorm Workshop Project

@na-ji
na-ji / pokego++.md
Last active December 26, 2017 11:08
Pokego++ feed format

Special note for third party feed providers:

The response has change to:

Field 1: Latitude

Field 2: Longitude

Field 3: Pokedex Number

Field 4: Title

@na-ji
na-ji / create-and-copy.sh
Last active January 25, 2018 09:15
RocketMap icon sprites
#!/bin/bash
./create-static-icons.sh
cd out
rename 's/pokemon_icon_(\d{3})_00/$1/g' *
rename 's/00(\d{1})/$1/g' *
rename 's/0(\d{2})/$1/g' *
cd ..
cp out/* ../RocketMap/static/icons/
cp out/* ../pmsf/static/icons-pokemon/
@na-ji
na-ji / keybase.md
Created October 16, 2017 10:30
keybase.md

Keybase proof

I hereby claim:

  • I am na-ji on github.
  • I am najiastier (https://keybase.io/najiastier) on keybase.
  • I have a public key ASBQZQkic9HPqJghMCjzy8dYLfyMsXdKF4IpEaXrGCY3CAo

To claim this, I am signing this object:

// ==UserScript==
// @name Mode Robot
// @namespace naji-astier.com/bamba
// @include http://game.asylamba.com/s*/message/*
// @include http://game.asylamba.com/s*/faction/view-forum/forum-*/topic-*
// @version 1.1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
// ==/UserScript==
// ==UserScript==
// @name Bamba Display Tweak
// @namespace naji-astier.com
// @version 1.0.8
// @include http://game.*amba.com/s*/*
// @updateURL https://gist.github.com/na-ji/0912251604ce99c3dd82/raw/
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js
// ==/UserScript==
var currentRessources = 0; // ressources currently in warehouse