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
[Unit] | |
Description=CKAN Service | |
Requires=solr.service postgresql.service | |
After=solr.service postgresql.service | |
[Service] | |
User=ckan | |
Group=ckan | |
Type=forking | |
TimeoutSec=0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
netsh advfirewall firewall add rule name="IP Block AmericaNorte" dir=in interface=any action=block remoteip=104.129.192.0/20,104.131.0.0/16,104.154.0.0/15,104.196.0.0/14,104.232.128.0/19,104.236.0.0/16,104.237.0.0/20,104.237.128.0/19,104.244.72.0/21,104.245.68.0/22,104.248.0.0/16,104.32.0.0/14,104.40.0.0/13,107.170.0.0/16,107.172.0.0/14,107.191.32.0/19,107.191.96.0/19,108.184.0.0/15,108.58.0.0/16,12.125.0.0/16,128.199.0.0/16,134.209.0.0/16,138.197.0.0/16,138.68.0.0/16,139.59.0.0/16,142.93.0.0/16,146.185.144.0/21,159.65.0.0/16,162.243.0.0/16,162.244.80.0/22,165.227.0.0/16,167.99.0.0/16,178.128.0.0/20,178.128.144.0/20,178.128.192.0/20,184.104.0.0/15,184.154.0.0/16,188.166.224.0/20,189.224.0.0/12,198.108.0.0/14,198.199.64.0/18,206.189.0.0/16,208.157.144.0/21,209.97.128.0/18,216.218.128.0/17,24.159.0.0/16,24.30.0.0/18,24.30.64.0/19,37.139.8.0/20,45.55.0.0/16,46.101.128.0/17,68.183.0.0/16,75.146.48.0/20,76.96.0.0/17,96.64.0.0/19,97.72.0.0/15,97.75.64.0/18,98.0.0.0/12,98.160.0.0/11 | |
netsh advfirewall firewall add ru |
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
/* ========================================================= | |
* My way to safely display external pictures | |
* ========================================================= | |
* Copyright 2015 Leonan Carvalho @leonancarvalho | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.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
//FROM gameserver/server.jar!/l2/gameserver/network/l2/c2s/CharacterSelected.class | |
protected void runImpl() { | |
//... | |
if (Config.ALT_LIMIT_HWID_WINDOW != 0 && !StringUtils.isEmpty(var1.getHwid())) { | |
//You could simple check if the account is premium and byypass here... | |
int hwidCount = 0; | |
Iterator AllPlayers = GameObjectsStorage.getAllPlayersForIterate().iterator(); | |
while(AllPlayers.hasNext()) { | |
Player tPlayer = (Player)AllPlayers.next(); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
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
{\"name\":\"teste1 (Copy)\",\"description\":\"teste\",\"contents\":\"{\\\"datasets\\\":[{\\\"version\\\":\\\"v1\\\",\\\"data\\\":{\\\"id\\\":\\\"lfx93ilco\\\",\\\"label\\\":\\\"342.json\\\",\\\"color\\\":[143,47,191],\\\"allData\\\":[[{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"AREA\\\":496077216,\\\"PERIMETER\\\":150985,\\\"NAZEV\\\":\\\"Hlavn� m�sto Praha\\\",\\\"OB91\\\":1214174,\\\"OB01\\\":1180131,\\\"OB_311202\\\":1161938,\\\"OKRES\\\":3100,\\\"NUTS4\\\":\\\"CZ0110\\\",\\\"NUTS3\\\":\\\"CZ011\\\",\\\"NUTS2\\\":\\\"CZ01\\\",\\\"KRAJ1960\\\":3100,\\\"NK\\\":\\\"HP\\\",\\\"KN\\\":1,\\\"KNOK\\\":100,\\\"NAZKR\\\":\\\"Hlavn� m�sto Praha\\\",\\\"NAZEV_ENG\\\":\\\"Hlavni mesto Praha\\\",\\\"NAZKR_ENG\\\":\\\"Hlavni mesto Praha\\\",\\\"NEZAM\\\":24571,\\\"index\\\":0},\\\"geometry\\\":{\\\"type\\\":\\\"Polygon\\\",\\\"coordinates\\\":[[[14.55496454528594,50.01215521174626],[14.555661985922347,50.01090393810035],[14.551420549326107,50.00771654302379],[14.543149917147526,50.007945135220254],[14.53499580 |
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
//Task.js | |
const path = require('path'); | |
const fs = require('fs'); | |
const { Worker } = require('worker_threads') | |
function checkFileHashTask(files, cwd = "./", hashType = 'md5', msgHandler){ | |
return new Promise((resolve, reject) => { | |
const workerData = {cwd: cwd, files:files,hashType:hashType}; | |
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
/* global caches, Promise */ | |
//Arquivo apenas para facilitar a edição do javascript, deve ser colado no .php// Não minificar | |
importScripts('serviceworker-cache-polyfill.js'); | |
// While overkill for this specific sample in which there is only one cache, | |
// this is one best practice that can be followed in general to keep track of | |
// multiple caches used by a given service worker, and keep them all versioned. | |
// It maps a shorthand identifier for a cache to a specific, versioned cache name. |