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
#!/usr/bin/env ruby | |
require "tweet_deletion" | |
require 'yaml' | |
config = YAML.load_file('config.yml') | |
TweetDeletion.with( config ) do | |
for_archive("./archive/") do | |
keep_if earlier_than(3.years.ago), tag:" 📅 " # When I was young, I was. |
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 | |
declare(strict_types=1); | |
namespace App\Application\Request\Account; | |
use Symfony\Component\PropertyAccess\PropertyAccess; | |
use Symfony\Component\Validator\Constraints as Assert; | |
use Symfony\Component\Validator\Exception\ValidatorException; | |
use Symfony\Component\Validator\Validation; |
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 | |
// don't forget to run PHP with root | |
function russian($roulette) { | |
shuffle($roulette); | |
$kaboum = $roulette[0]; | |
if (null === $kaboum) { | |
return 'Try again!'; |
OlderNewer