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
class Chntpw < Formula | |
desc "The Offline NT Password Editor" | |
homepage "https://github.com/Tody-Guo/chntpw" | |
url "https://github.com/sidneys/chntpw/archive/0.99.6.tar.gz" | |
sha256 "e915f5addc2673317285c6f022c94da7fdee415d9800cd38540a13706706786b" | |
head "https://github.com/sidneys/chntpw.git" | |
depends_on "openssl@1.0" | |
patch do |
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
tell application "System Events" | |
tell process "Xcode" | |
set frontmost to true | |
tell menu bar 1 | |
set moveTabToNewWindow to a reference to menu item "Move Tab to New Window" of menu "Window" | |
if enabled of moveTabToNewWindow is true then | |
click moveTabToNewWindow | |
end if | |
tell menu "View" | |
set hideToolbar to a reference to menu item "Hide Toolbar" |
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
// BSD 2-Clause License | |
// | |
// Copyright (c) 2019, Mayu Laierlence | |
// All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// 1. Redistributions of source code must retain the above copyright notice, | |
// this list of conditions and the following disclaimer. |
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 enum StringOrValue<Value>: Codable | |
where Value: Codable { | |
case string(String) | |
case value(Value) | |
public init(from decoder: Decoder) throws { | |
let container = try decoder.singleValueContainer() | |
do { | |
self = .string(try container.decode(String.self)) |
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 enum ArrayOrValue<Value>: Codable | |
where Value: Codable { | |
case array([Value]) | |
case value(Value) | |
public init(from decoder: Decoder) throws { | |
do { | |
let container = try decoder.singleValueContainer() | |
self = .value(try container.decode(Value.self)) |
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
--- a/FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/FBSDKAppEventsUtility.m | |
+++ b/FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/FBSDKAppEventsUtility.m | |
@@ -20,8 +20,6 @@ | |
#import <objc/runtime.h> | |
-#import <AdSupport/AdSupport.h> | |
- | |
#import "FBSDKAccessToken.h" | |
#import "FBSDKAppEvents.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
#!/usr/bin/env sh | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. | |
# | |
# In jurisdictions that recognize copyright laws, the author or authors |
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 python | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. | |
# | |
# In jurisdictions that recognize copyright laws, the author or authors |
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
{ | |
"editor.rulers": [ | |
80, | |
120 | |
], | |
"editor.wordWrap": "bounded", | |
"editor.wordWrapColumn": 120, | |
"editor.renderLineHighlight": "all", | |
"files.insertFinalNewline": false, | |
"files.trimFinalNewlines": true, |
NewerOlder