Instantly share code, notes, and snippets.

Anatoly tol182

View GitHub Profile
String okNode1 = "..."; // No magic numbers
String okNode2 = "...";
public SomeFuck executeAction() {
String currentNode = ...;
if (okNode1 == currentNode1 || okNode2 == currentNode2) // use equals!!!
View proxifier_3_28_trial_reset.bat
REM Initex Software Proxifier 3.28 trial reset
REM Close Proxifier if it is running
taskkill /f /im Proxifier.exe
REM If you're using portable edition - delete "DefaultWANProfile" line in "Settings.ini" file in Proxifier PE folder too
reg delete "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /v DefaultWANProfile /f
reg delete "HKCU\Software\Initex\Proxifier\Settings" /v DefaultWANProfile /f
View pentabonacci codewars
import java.math.BigInteger;
import java.util.*;
public class Pentanacci2 {
public static long countOddPentaFib(long n) {
// your code
BigInteger temp = new BigInteger("0");
long count = 0;
View Train Your Brain
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
package trainyourbrain;
import java.util.*;