This file contains hidden or 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
| import java.util.Map; | |
| import java.util.Random; | |
| import java.util.WeakHashMap; | |
| /** | |
| * @author skel | |
| */ | |
| public class WeakHashMapExample1 { | |
| private static final Map<String, Entry> map = new WeakHashMap<>(); |
This file contains hidden or 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
| import java.lang.ref.WeakReference; | |
| import java.util.Map; | |
| import java.util.Random; | |
| import java.util.WeakHashMap; | |
| /** | |
| * @author skel | |
| */ | |
| public class WeakHashMapExample2 { |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import sys | |
| import requests | |
| import time | |
| import shutil | |
| import base64 | |
| vk_api_url = "https://api.vk.com/method/" | |
| anti_captcha_api_url = "https://api.anti-captcha.com/" |