Skip to content

Instantly share code, notes, and snippets.

View patelrohan's full-sized avatar
🤓

Rohan Patel patelrohan

🤓
  • Dynamic Island
View GitHub Profile
@WebDevSimplified
WebDevSimplified / bootstrap-breakpoint.css
Last active May 4, 2024 21:33
This stylesheet adds text describing the current Bootstrap Breakpoint in the top right corner of the screen.
body {
margin-top: 40px; /* This margin just makes the text easier to read. You can remove it if you want since it can mess with your other styles. */
}
body::before {
content: "XS";
color: red;
font-size: 2rem;
font-weight: bold;
position: fixed;
@dogeared
dogeared / 00_README
Last active November 24, 2020 23:47 — forked from lmarkus/README.MD
Extracting / Exporting custom emoji from Slack
This builds off the excellent work of @lmarkus.
The scripts below can be used in conjunction with the Slack Emoji Tools Google Chrome extension to export emojis from
one Slack team and import into another team.
Original work here: https://gist.github.com/lmarkus/8722f56baf8c47045621
- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar{
[pc2macSearchBar setShowsCancelButton:YES animated:YES];
}
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar{
[pc2macSearchBar resignFirstResponder];
[pc2macSearchBar setShowsCancelButton:NO animated:YES];
}
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar{