Why?
This:
.action {
@extend .ml-3;
}
# frozen_string_literal: true | |
module RShade | |
module Patcher | |
class ObjectPatcher | |
def initialize | |
end |
# frozen_string_literal: true | |
# ruby 3.2.2 | |
# rspec (3.11.0) | |
# rspec-core (~> 3.11.0) | |
# rspec-expectations (~> 3.11.0) | |
# rspec-mocks (~> 3.11.0) | |
# rspec-core (3.11.0) | |
# rspec-support (~> 3.11.0) | |
# rspec-expectations (3.11.0) | |
# diff-lcs (>= 1.2.0, < 2.0) |
Why?
This:
.action {
@extend .ml-3;
}
require 'json' | |
require 'set' | |
require 'date' | |
class Event | |
attr_reader :event_name, :date | |
def initialize(event_name, date) | |
@event_name = event_name | |
@date = date |
java -jar /home/expert/work/tools/apktool.jar d [email protected]
android:networkSecurityConfig="@xml/network_security_config"
attribute to application
element.<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config>
# Mac | |
IO.popen('pbcopy', 'r+') { |clipboard| clipboard.puts html_out } | |
# Linux | |
IO.popen(’xsel –clipboard –input’, ‘r+’) { |clipboard| clipboard.puts html_out } |
440 * 2^((n - 69)/12)
n - note from 0 to 127
69 - this A4 midi key to frequency equal tuning is A4(440hz)
(I absolutlely don't knwo what is base tuning is)
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'yaml' | |
require 'aws-sdk-s3' | |
access_key="" | |
secret_access_key="" | |
region="" |
brew cask install p4v
Git provides a simple way to find out where some code was modified or removed from your codebase. You can use git bisect
for that and the processes can be completely automated.
As example I will try to find out when the method send_email_notification
was removed from the file app/models/person.rb
.
So you have to create a automated bash file, or other kind of script, that should return 0
when the method is found and 1
otherwise. So git can run this script for each commit until it returns 1
, which means that the method was removed in that commit. There's the script we gonna use:
if [[ `cat app/models/person.rb | grep send_email_notification` ]]; then