Skip to content

Instantly share code, notes, and snippets.

Avatar
🧩
wfh

Mikhail akkez

🧩
wfh
  • Russia, Saint Petersburg
View GitHub Profile
View ItemArmorQuantumSuit.java
IC2.platform.profilerStartSection("QuantumHelmet");
int air = player.func_70086_ai();
if ((ElectricItem.manager.canUse(itemStack, 1000)) && (air < 100)) {
player.func_70050_g(air + 200);
ElectricItem.manager.use(itemStack, 1000, null);
ret = true;
} else if (air <= 0) {
View expectations-and-reality.java
package ic2.core.block.personal;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import ic2.core.IC2;
import ic2.core.Platform;
import ic2.core.block.BlockMultiID;
import ic2.core.block.TileEntityBlock;
import ic2.core.init.InternalName;
import ic2.core.item.block.ItemPersonalBlock;
View vk-swastika.txt
&#000000;&#8194;&#8194;&#8194; &#000000;&#000000;&#000000;
&#000000;&#8194;&#8194;&#8194; &#000000;
&#000000;&#000000; &#000000;&#000000;&#000000;
&#8194; &#8194;&#8194; &#8194;&#8194; &#000000;&#8194;&#8194;&#8194; &#000000;
&#000000; &#000000;&#000000;&#8194;&#8194;&#8194; &#000000;
@akkez
akkez / photosTransfer.js
Last active Jan 2, 2016
Script which helps to transfer all photos from one album to another in VK.
View photosTransfer.js
var user_id = 0;
var from_album = 0;
var to_album = 0;
var photos = API.photos.get({album_id: from_album}).items@.id;
var i = 0;
var result = [];
while (i < photos.length) {
result = result + API.photos.move({
You can’t perform that action at this time.