This file contains hidden or 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
<?php | |
/** | |
* Adds Schema pieces to our output. | |
* | |
* @param array $pieces Graph pieces to output. | |
* @param \WPSEO_Schema_Context $context Object with context variables. | |
* | |
* @return array $pieces Graph pieces to output. | |
*/ |
This file contains hidden or 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 classNameProp from 'class-name-prop'; | |
import { useRouter } from 'next/router'; | |
import React from 'react'; | |
import styles from './RouteIndicator.module.css'; | |
const DONE_DURATION = 250; | |
export default function RouteIndicator() { | |
const router = useRouter(); |
This file contains hidden or 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
----- BEGIN LICENSE ----- | |
TwitterInc | |
200 User License | |
EA7E-890007 | |
1D77F72E 390CDD93 4DCBA022 FAF60790 | |
61AA12C0 A37081C5 D0316412 4584D136 | |
94D7F7D4 95BC8C1C 527DA828 560BB037 | |
D1EDDD8C AE7B379F 50C9D69D B35179EF | |
2FE898C4 8E4277A8 555CE714 E1FB0E43 | |
D5D52613 C3D12E98 BC49967F 7652EED2 |
This file contains hidden or 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
// Gist by [email protected] Rev 2.1.2 May 15, 2019 | |
// go to your insta profile page (not the home page). It looks something like this: https://instagram.com/YOUR_PROFILE | |
// Open javascript console "Ctrl + Shift + i" in Windows/Linux and "Cmd + option + i" in Mac. | |
// Paste the entire code below to the console and hit enter | |
// You will get the list of people whom you follow but who don't follow you back and viceversa as well as the entire list of followers and following | |
var following = [], | |
followers = [], | |
followersCount = 0, | |
followingCount = 0, |
This file contains hidden or 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
// 1. go to your twitter feed with tweets and replies | |
// for example, mine was twitter.com/6a68/with_replies | |
// 2. scroll all the way down to the bottom of the page. | |
// I suppose you could automate this with JS, but I didn't. | |
// this function will delete tweets you can delete, i.e. not retweets: | |
function deleteTweets() { | |
// find the next delete button in the DOM (next deletable tweet) | |
// and click the delete button. I wanted to keep the first tweet, | |
// which is why the index here is 1. | |
if (!$('.js-actionDelete').length) { |