This file contains 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 an alias for "git add --patch" or "git add -p" | |
alias gapa="git add --patch" |
This file contains 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
PaperTrail.request.whodunnit = User.find_by!(email: '[email protected]').id | |
Supplier.all.each do |s| | |
metadata = s.metadata | |
next if !metadata.key?('ecovadis') | |
metadata.delete('ecovadis') | |
s.save!(validate: false) | |
end |
This file contains 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
#ifndef NINJATRAP_HPP | |
# define NINJATRAP_HPP | |
# include <iostream> | |
# include "ClapTrap.hpp" | |
# include "FragTrap.hpp" | |
# include "ScavTrap.hpp" | |
# define NJ_HIT_POINTS 60 | |
# define NJ_MAXHIT_POINTS 60 |
This file contains 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
#ifndef CLAPTRAP_HPP | |
# define CLAPTRAP_HPP | |
# include <iostream> | |
# define DEFAULT_LEVEL 1 | |
# ifndef GAME_NAME | |
# define GAME_NAME "F4CK-TP" | |
# endif |
This file contains 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
#ifndef FIXED_CLASS_HPP | |
# define FIXED_CLASS_HPP | |
# include <iostream> | |
class Fixed | |
{ | |
public: | |
Fixed(void); | |
~Fixed(void); |