Skip to content

Instantly share code, notes, and snippets.

@ph33nx
ph33nx / WinMasterBlocker.bat
Last active March 14, 2026 06:40
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@codspire
codspire / running-flink-locally-on-windows-10.md
Last active May 23, 2025 06:07
Running Flink Locally on Windows 10
@Chitrank-Dixit
Chitrank-Dixit / lexical_analyser.py
Last active October 7, 2022 16:40
The following Python Program takes the C program and Perform Lexical analysis over a simple C program (Very Buggy Program need to fix more instances)
# The Following Program would work as Lexical Analyser
#
# Write a C/C++ program which reads a program written
# in any programming language (say C/C++/Java) and then perform
# lexical analysis. The output of program should contain the
# tokens i.e. classification as identifier, special symbol, delimiter,
# operator, keyword or string. It should also display the number of
# identifiers, special symbol, delimiter, operator, keyword, strings
# and statements
@tylercrompton
tylercrompton / lexer.py
Created December 29, 2013 02:08
A lexical analyzer for Python
class Token:
def __init__(self, value, type):
self.value = value
self.type = type
def __repr__(self):
return '{}({}, {})'.format(self.__class__.__name__, repr(self.value), repr(self.type))
class PatternError(ValueError):
pass
@qihnus
qihnus / RecorderService.java
Created February 25, 2012 17:23
a minimalist example of Android accessibility service
import android.accessibilityservice.AccessibilityService;
import android.accessibilityservice.AccessibilityServiceInfo;
import android.util.Log;
import android.view.accessibility.AccessibilityEvent;
public class RecorderService extends AccessibilityService {
static final String TAG = "RecorderService";
private String getEventType(AccessibilityEvent event) {