This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search goYou should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
| // Observe all notifications generated by the default NotificationCenter | |
| NotificationCenter.default.addObserver( | |
| forName: nil, object: nil, queue: nil) { notification in | |
| Swift.print("Notification: \(notification.name.rawValue), Object: \(notification.object)") | |
| } | |
| // Observe all notifications generated by the default DistributedNotificationCenter | |
| DistributedNotificationCenter.default().addObserver( | |
| forName: nil, object: nil, queue: nil) { notification in | |
| Swift.print("Notification: \(notification.name.rawValue), Object: \(notification.object)") |
| // | |
| // CheckboxToggleStyle.swift | |
| // | |
| // Created by Felix Mau on 25.05.2021. | |
| // Copyright © 2021 Felix Mau. All rights reserved. | |
| // | |
| /// A fully configurable toggle style for SwiftUI, making the Toggle look like a checkbox. | |
| struct CheckboxToggleStyle: ToggleStyle { |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| func worker(wg *sync.WaitGroup, id int) { | |
| defer wg.Done() |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/signal" | |
| "syscall" |
This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search goYou should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
| package myapp | |
| import "log" | |
| ... | |
| mobilelog := MobileLogger{} | |
| logger := log.New(mobilelog, "", 0) |
| package network | |
| import ( | |
| "errors" | |
| "net" | |
| ) | |
| // LocalIP get the host machine local IP address | |
| func LocalIP() (net.IP, error) { | |
| ifaces, err := net.Interfaces() |
| From theme | |
| <style name="SearchToolbar" parent="Theme.AppCompat.Light.NoActionBar"> | |
| //toolbar back arrow color | |
| <item name="android:textColorSecondary">@android:color/white</item> | |
| //toolbar title color | |
| <item name="android:textColorPrimary">@android:color/white</item> | |
| </style> | |
| Also we can do it from java code: |
| <?php | |
| // add the below to your functions file | |
| // then visit the page that you want to see | |
| // the enqueued scripts and stylesheets for | |
| function se_inspect_styles() { | |
| global $wp_styles; | |
| echo "<h2>Enqueued CSS Stylesheets</h2><ul>"; | |
| foreach( $wp_styles->queue as $handle ) : | |
| echo "<li>" . $handle . "</li>"; |
| /*************************************************** | |
| USING add_rewrite_rule | |
| ****************************************************/ | |
| /* azizultex | |
| 1. https://www.ait-themes.club/knowledge-base/how-can-i-change-items-slug-and-slug-of-other-custom-post-types/ | |
| 2. http://wordpress.stackexchange.com/questions/41988/redeclare-change-slug-of-a-plugins-custom-post-type | |
| 3. http://wordpress.stackexchange.com/questions/134322/rewrite-rule-for-custom-taxonomy | |
| */ |