- Canada is a Republic
- Immigrants between the ages of 21 and 54 must learn about voting laws in order to become Canadian citizens
- Canadians haven't given up anything to protect their way of life
- Canada has welcomed immigrants for years in order to create a society that is free, just, and affluent
(UA) IT/Tech Ukrainians in Canada
Changelog:
18/04/2022
Initial version~20/06/2022
Added clause about official sources18/08/2022
Add info about offtopic chat / change name20/11/2022
Removed link to offtopic / add "Conflict of interest" clause20/07/2023
No spam / troll / bullying / pushing
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
/** | |
* @param {number[]} nums | |
* @return {number[][]} | |
*/ | |
var threeSum = function(nums) { | |
const map = nums.reduce((mem, n) =>{ | |
if (!mem[n]) { | |
mem[n] = [] | |
} | |
mem[n].push(n); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <cs50.h> | |
int getHeight(void) { | |
int height; | |
do { | |
height = get_int("Height: "); | |
} while ( |
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
homm3 wine |
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
let test = [[3, [666, 123, 57, 191919, 2]]]; | |
function gcd(a, b) { | |
while (true) { | |
if (a !== 0 && b !== 0) { | |
if (a > b) { | |
a = a % b; | |
} else { | |
b = b % a; | |
} |
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
#!/bin/sh | |
a="$(git diff master... --numstat | awk 'NF==3 {total+=$1+$2} END {printf("%d\n", total)}')" \ | |
if [ "$a" -gt 100 ] | |
then | |
echo "bust $(date +%s)" > gitdiff | |
else | |
echo "keep" > gitdiff | |
fi |
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
#include <cs50.h> | |
#include <stdio.h> | |
#include <crypt.h> | |
#include <string.h> | |
int A_charcode = 65; | |
int a_charcode = 97; | |
int abc_size = 25; | |
string hash; | |
bool success = false; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <cs50.h> | |
string INVALID = "INVALID"; | |
string AMEX = "AMEX"; | |
string MASTERCARD = "MASTERCARD"; | |
string VISA = "VISA"; | |
typedef struct { |
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
const login = 'sdwvit'; | |
const type = { | |
feat: 'feature', | |
chore: 'chore', | |
main: 'maintenance', | |
fix: 'fix' | |
}; | |
const pages = { | |
land: 'landing', | |
res: 'results', |
NewerOlder