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
<style> | |
#backdrop { | |
position: fixed; | |
width: 100%; | |
height: 100%; | |
top: 0; | |
left: 0; | |
background: rgba(0, 0, 0, 0.5); | |
z-index: 100; | |
display: flex; |
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
dir='.' | |
find="find" | |
replace="replace" | |
cd $dir | |
files=$(git grep -l "$find") | |
for file in $files; do | |
sed -i '' -e s/"$find"/"$replace"/g $file |
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
-- Avboka lägenheter | |
SELECT * FROM projects WHERE id = 7; | |
SELECT number, assigned_user_id, status FROM properties WHERE project_id = 7 ORDER BY id; | |
UPDATE properties SET assigned_user_id = null, status = 'AVAILABLE' WHERE project_id = 7; | |
-- Radera användare | |
SELECT id, queue_number, first_name, email FROM users WHERE project_id = 7; | |
DELETE FROM users WHERE project_id = 7; | |
UPDATE projects SET queue_counter = 0 WHERE id = 7; |