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
// Let you browse Twitter while logged out without being annoyed | |
// by the scroll-blocking sign up dialog, or the bright blue sign up bottom banner | |
// We have to observe the entire document for mutations because it's a React app | |
// Each time a change is detected, we find any of the matching elements to remove/fix | |
const observer = new MutationObserver(() => { | |
// Remove blue signUp bar at bottom | |
const signUpBar = document.querySelector("[data-testid='BottomBar']"); | |
if (signUpBar) signUpBar.remove() |
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
/* | |
Enhanced Twitter | |
@xilantra | |
https://arc.net/e/E7D0C27B-9A71-4DEB-B28C-20CF8092C241 | |
https://github.com/Xilantra/enhanced-twitter | |
Last updated: September 20 2022 | |
*/ | |
const menuBtn = document.createElement("button"); | |
const body = document.body; |
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
{ | |
"name": "All Black Youtube", | |
"description": "Pitch Black Youtube", | |
"version": "0.0.1", | |
"manifest_version": 3, | |
"content_scripts": [ | |
{ | |
"matches": ["*://*.extensions/*"], | |
"css": ["styles.css"] | |
} |
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
#!/bin/bash | |
PLATFORM=iPhoneOS # iPhoneSimulator # iPhoneOS | |
HOST=arm-apple-darwin # i386-apple-darwin10 # arm-apple-darwin10 | |
ARCH=arm64 # i386 # armv7s #armv7 | |
SDK_VERSION=13.0 | |
XCODE_ROOT=`xcode-select -print-path` | |
PLATFORM_PATH=$XCODE_ROOT/Platforms/$PLATFORM.platform/Developer | |
SDK_PATH=$PLATFORM_PATH/SDKs/$PLATFORM$SDK_VERSION.sdk |
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
- (void)openShortcut:(SBSApplicationShortcutItem *)shortcutItem { | |
UIHandleApplicationShortcutAction *openAction = [[UIHandleApplicationShortcutAction alloc] initWithSBSShortcutItem:shortcutItem]; | |
NSDictionary *activationOptions = @{ | |
@"__ActivateSuspended" : [NSNumber numberWithBool:(shortcutItem.activationMode == 1)], | |
@"__Actions": @[ | |
openAction | |
], | |
@"__PromptUnlockDevice" : [NSNumber numberWithBool:YES], |
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 styled from 'styled-components'; | |
const TagComponent = styled.div` | |
background-color: #44014C; | |
width: 300px; | |
min-height: 200px; | |
margin: 30px auto; | |
box-sizing: border-box; | |
`; |
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 ToDoApp extends React.Component { | |
// ... | |
render() { | |
return ( | |
<TodoComponent> | |
<h2>ToDo</h2> | |
<div> | |
<Input onChange={this.handleChange} /> | |
<p>{this.state.error}</p> |
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 React, { Component } from "react"; | |
// Import the styles | |
import {styles} from "./styles"; | |
class ToDoApp extends React.Component { | |
// ... | |
render() { | |
return ( |
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
const TodoComponent = { | |
width: "300px", | |
margin: "30px auto", | |
backgroundColor: "#44014C", | |
minHeight: "200px", | |
boxSizing: "border-box" | |
} | |
const Header = { |
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
const TodoComponent = { | |
width: "300px", | |
margin: "30px auto", | |
backgroundColor: "#44014C", | |
minHeight: "200px", | |
boxSizing: "border-box" | |
} | |
const Header = { |
NewerOlder