import (
_ "net/http/pprof"
"net/http"
)| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "net/http/httputil" | |
| "net/url" | |
| "github.com/gin-gonic/gin" | |
| ) |
This gist is out of date and I can no longer help much, as I got rid of my Mac.
Please visit T2 Linux website for more and better information:
This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:
| export DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" | |
| SYMBOLICATE="/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/symbolicatecrash" | |
| for f in "$@" | |
| do | |
| SRCNAME=$(echo $(basename "${f}")) | |
| SRCPATH=$(echo $(dirname "${f}")) | |
| DSTPATH="${SRCPATH}/${SRCNAME%.*}.symbolicated.ips" |
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
| # The following comments fill some of the gaps in Solargraph's understanding of | |
| # Rails apps. Since they're all in YARD, they get mapped in Solargraph but | |
| # ignored at runtime. | |
| # | |
| # You can put this file anywhere in the project, as long as it gets included in | |
| # the workspace maps. It's recommended that you keep it in a standalone file | |
| # instead of pasting it into an existing one. | |
| # | |
| # @!parse | |
| # class ActionController::Base |
| #!/usr/bin/env sh | |
| # Semantic versioning details: https://semver.org/ | |
| # Constants | |
| RELEASE_PATCH="release-patch" | |
| RELEASE_MINOR="release-minor" | |
| RELEASE_MAJOR="release-major" | |
| # Command line arguments. | |
| if [ ${#} -lt 2 ]; |
| import Foundation | |
| class DictionaryDecoder { | |
| init() { } | |
| func decode<T: Decodable>(_ type: T.Type, from data: [String: Any]) throws -> T { | |
| let decoder = _Decoder(codingPath: [], source: data) | |
| return try T(from: decoder) | |
| } | |
| } |
| class DictionaryEncoder { | |
| init() { } | |
| func encode(_ value: Encodable) throws -> [String: Any] { | |
| let encoder = _Encoder(codingPath: []) | |
| try value.encode(to: encoder) | |
| guard let result = encoder.value as? [String: Any] else { | |
| throw EncodingError.invalidValue(encoder.value as Any, .init(codingPath: [], debugDescription: "Invalid root container")) | |
| } |