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
public class singHadGadiaSong { | |
public static void singHadGadia(String[] characters, String[] actions, int n) | |
{ | |
if (n >= characters.length) | |
return; | |
System.out.println("ואתא " + characters[n]); | |
for (int i = n - 1; i >= 0; i--) { | |
String prefix = (i == n - 1 ? "ו" : "ד"); | |
System.out.println(prefix + actions[i] + " ל" + characters[i]); | |
} |
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
// | |
// GBPlistDB.h | |
// SensiyaSDK | |
// | |
// Created by Aviel Gross on 3/30/15. | |
// Copyright (c) 2015 Globalbit. All rights reserved. | |
// | |
// Mostly a wrapper class for the code found here: http://stackoverflow.com/a/6697423/2242359 | |
#import <Foundation/Foundation.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
#import <Foundation/Foundation.h> | |
#include <dlfcn.h> | |
NSDictionary *FCPrivateBatteryStatus() | |
{ | |
static mach_port_t *s_kIOMasterPortDefault; | |
static kern_return_t (*s_IORegistryEntryCreateCFProperties)(mach_port_t entry, CFMutableDictionaryRef *properties, CFAllocatorRef allocator, UInt32 options); | |
static mach_port_t (*s_IOServiceGetMatchingService)(mach_port_t masterPort, CFDictionaryRef matching CF_RELEASES_ARGUMENT); | |
static CFMutableDictionaryRef (*s_IOServiceMatching)(const char *name); |
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
# coding: utf-8 | |
from objc_util import * | |
from ctypes import * | |
libobjc = CDLL('/usr/lib/libobjc.dylib') | |
#NSObject = ObjCClass('NSObject') | |
LSAppilcationWorkspace = ObjCClass('LSApplicationWorkspace') |
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
#!/opt/homebrew/bin/python3 | |
import re | |
import glob | |
import os | |
import graphviz | |
################################################################################## | |
######### USAGE ######### |
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
struct AppView: View { | |
@ObservedObject var navigation: AppNavigation | |
var body: some View { | |
CustomTabBar(selection: $navigation.selectedTab) { | |
feedTab() // ] returns the feed SwiftUI view | |
searchTab() // ⎤ | |
liveTab() // ⎥ return views of UIViewControllerRepresentable | |
notificationsTab() // ⎥ | |
profileTab() // ⎦ |