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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import subprocess | |
import os | |
from abc import ABC, abstractmethod | |
def openocd_basecmd_stlink(target): | |
return [ "openocd", "-f", "interface/stlink.cfg", "-f", f"target/{target}.cfg", "-c", "transport select hla_swd; set WORKAREASIZE 0x20000; reset_config none separate; init; reset init" ] | |
OPENOCD_ENDCMD = [ "-c", "reset run; shutdown" ] |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>625178916.75752902</real> | |
<key>Macros</key> |
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
// Compile using: | |
// clang -fobjc-arc -framework Cocoa -O2 ListEventTaps.m -o ListEventTaps | |
#import <Cocoa/Cocoa.h> | |
#import <CoreGraphics/CoreGraphics.h> | |
#include <libproc.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stddef.h> | |
#include <stdbool.h> |
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
// Compile using: | |
// clang -fobjc-arc -framework Cocoa -O2 ActivateAppWithoutWindows.m -o ActivateAppWithoutWindows | |
#import <Cocoa/Cocoa.h> | |
#include <stdio.h> | |
int main(int argc, char *argv[]) { | |
if(argc != 2) { | |
printf("Usage: %s com.app.bundleidentifier\n", argv[0]); | |
return 1; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Notebook Fixed</string> |