- Save the CSV file on your machine
- Go to your Twitter Settings > Blocked page
- Click Advanced Options
- Click Import a list
- If the preview looks good, accept and save
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
| function changes -d "Generate a Markdown changelog from conventional commits" -a target | |
| # Use fallback variables if no arguments were given. | |
| if test (count $argv) -eq 0 | |
| set target master | |
| end | |
| # Include commit message, author name, and the short hash in parentheses. | |
| set -l log_format "%s (_%aN_) (%h)" |
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
| export type Difference = (a: number, b: number) => number | |
| export default class Color { | |
| protected red: number | |
| protected green: number | |
| protected blue: number | |
| protected opacity?: number | |
| static HEX_MIN = 0 | |
| static HEX_MAX = 255 |
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
| from pika import BlockingConnection | |
| from pika.exceptions import AMQPConnectionError, AMQPChannelError | |
| class MQ: | |
| def __init__(self): | |
| self.connection = BlockingConnection() | |
| self.channel = self.connection.channel() |
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
| #!/bin/bash | |
| set -eu | |
| # USAGE | |
| # | |
| # 1. Close Vivaldi | |
| # 2. Run this script | |
| # 3. Start Vivaldi again | |
| # 4. Enjoy the fresh experience | |
| # |
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
| // Set test date to 12:00 on 18th June, 2018 | |
| $testDate = Carbon::create(2018, 6, 18, 12); | |
| Carbon::setTestNow($testDate); | |
| // Execute the logic | |
| BusinessClass::doStuff(); | |
| // Check the results | |
| $this->assertDatabaseHas('stuff', [ | |
| // The data you need... |
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
| /** | |
| * Linked lists in Javascript | |
| * @see https://dev.to/ryanfarney3/intro-to-linked-lists-in-js-19b4 | |
| */ | |
| class Node { | |
| constructor(data, next = null) { | |
| this.data = data; | |
| this.next = next; |
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
| class Payment { | |
| constructor(amount, currency) { | |
| this.amount = amount; | |
| this.currency = currency; | |
| } | |
| get localeMap() { | |
| return { | |
| USD: "en-US", |
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
| function weather -d "Prints weather information for the given location" | |
| if set -q $argv[1] | |
| set location $argv[1] | |
| else | |
| set location "Jyväskylä" | |
| end | |
| # Parse language information from current locale | |
| set -l language (string split "_" -- $LANG)[1] |
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 | |
| $config = PhpCsFixer\Config::create() | |
| ->setRiskyAllowed(true) | |
| ->setRules([ | |
| '@PSR2' => true, | |
| 'align_multiline_comment' => ['comment_type' => 'all_multiline'], | |
| 'array_syntax' => ['syntax' => 'short'], | |
| 'blank_line_after_namespace' => true, | |
| 'blank_line_after_opening_tag' => false, |