What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-06 07:14:03
implemetation of priority queue in c++
// Implementation of priority_queue in c++ //queue with elements in decreasing order priority_queue<int> pq; // queue with elements in increasing order using compare function inside declaration priority_queue <int, vector<int>, greater&l... Add solution -
C# 2021-09-06 04:37:02
dapper delete where in list
The syntax for List<> support in dapper is slightly different than in an actual T-SQL query. See: https://github.com/StackExchange/Dapper DELETE FROM [Employee] WHERE EmployeeId in @empIds It does not require braces around the IN clause's paramete... Add solution -
Python 2021-08-31 12:07:02
rename row pandas
# if the row value in column 'is_blue' is 1 # Change the row value to 'Yes' # otherwise change it to 'No' df['is_blue'] = df['is_blue'].apply(lambda x: 'Yes' if (x == 1) else 'No') # You can also use mapping to accomplish the same result # Warning: M... Add solution -
Shell/Bash 2021-08-30 13:30:01
vim copy paste columns
# Basic syntax: 1. Press ESC to ensure youre in command mode 2. Move to a corner of the text you want to copy (or cut) 3. Press CTRL+v to enter visual block mode 4. Move the cursor Up/Down/Left/Right to highlight the text 5. Press y to yank (copy) the tex... Add solution -
Other 2021-08-29 23:58:01
firebase dynamic Links safari not able to open the link becuse the link is invalid
My problem was that in Xcode in Capabilities Tab in Associated Domains, in Domains field, I wrote wrong domain, instead of appplinks:app_id.app.goo.gl I wrote: appplinks:app_id.goo.gl , so i missed .app, after app_id, after changing it, it starts work ... Add solution -
Shell/Bash 2021-08-29 09:43:02
vim insert text at the the beginning of multiple lines
# Basic syntax: # Insert text in front of every line in the file: :%s!^!text_to_insert! # Insert text in front of specific lines (e.g. for commenting out code): 1. Press ESC to ensure youre in command mode 2. Use CTRL+v to enter visual block mode 3. Move... Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Mick Daw
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5