<commit_before>### home page

[home page](https://github.com/resque/resque)


Currently There are two versions of resque according to the official home page

### basic resque (versio 1 stabe)

Just two step

1.  create a rails environment rake task

```ruby
#lib/tasks/resque.rake
require "resque/tasks"

task "resque:setup" => :environment
```

2.  create a job for perform


```ruby
#app/works/some_job.rb
class SomeJob
  @queue = :high
  
  def self.perform(some_id)
  end<commit_msg>Update basic_usage.markdown<commit_after>### home page

[home page](https://github.com/resque/resque)


Currently There are two versions of resque according to the official home page

### basic resque (versio 1 stabe)

Just two step

1  create a rails environment rake task

```ruby
#lib/tasks/resque.rake
require "resque/tasks"

task "resque:setup" => :environment
```

2  create a job for perform


```ruby
#app/works/some_job.rb
class SomeJob
  @queue = :high
  
  def self.perform(some_id)
  end
{'fraction_non_alphanumeric': 0.1105476673427992, 'fraction_numerical': 0.006085192697768763, 'mean_word_length': 4.167539267015707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4214955', 'n_tokens_mistral': 351, 'n_tokens_neox': 329, 'n_words': 110}