This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
�    ��� | |
�    � | |
�� ��� | |
        �    � | |
� ��    � |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import string | |
import time | |
import re | |
import random | |
import vk_api | |
import requests | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importPackage(Packages.org.bukkit); | |
importPackage(Packages.com.sk89q.worldedit); | |
importPackage(Packages.com.sk89q.worldedit.blocks); | |
var w = player.getWorld(); | |
var sel = context.getSession().getSelection(w); | |
var beg = sel.getMinimumPoint(); | |
var x = beg.getBlockX(); | |
var y = beg.getBlockY(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.telegram.org/bot<creds>/setWebhook?url=https://domain.me:8443/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// заходим на страницу с историей операций и вставляем скрипт в консоль | |
var content = "Время;Провайдер;Счет;Комментарий;+/-;Сумма;Комиссия\n"; | |
$(".reports .reportsLine").each(function (k, a) { | |
var row = []; | |
var date = $(a).find(".DateWithTransaction"); | |
row.push(date.find(".date").text().trim() + " " + date.find(".time").text().trim()); | |
var comment = $(a).find(".ProvWithComment"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = API.audio.get({"count":15}); | |
var i = 0; | |
var x = []; | |
while (true) { | |
x.push(a.items[i].artist + " - " + a.items[i].title); | |
i = i + 1; | |
if (i > a.items.length) { | |
return x; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gid = ")))))"; | |
var pid = -gid; | |
var photos = API.photos.get({ | |
"owner_id": pid, | |
album_id: "wall", | |
rev: 0, | |
count: 24 | |
}); |
OlderNewer