I hereby claim:
- I am cubapp on github.
- I am cuba (https://keybase.io/cuba) on keybase.
- I have a public key ASBOrgm7hOdzr7GE_phGhxg4w3QKKcG6TG5Tn4i7aqd7Vgo
To claim this, I am signing this object:
| # Actual atmospheric pressure in hPa | |
| aap = 990 | |
| # Actual temperature in Celsius | |
| atc = 10 | |
| # Height above sea level | |
| hasl = 500 | |
| # Adjusted-to-the-sea barometric pressure | |
| a2ts = aap + ((aap * 9.80665 * hasl)/(287 * (273 + atc + (hasl/400)))) |
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| int main(void) | |
| { | |
| int i; | |
| for(i=1; i<=100; i++) | |
| (i%15)?(i%5)?(i%3)?printf("%d\n",i):printf("Fizz\n"):printf("Buzz\n"):printf("FizzBuzz\n"); | |
| return 0; | |
| } |
| #include <stdio.h> | |
| void main(void){for(int i=0; i<=99; (++i%15)?(i%5)?(i%3)?printf("%d\n",i):printf("Fizz\n"):printf("Buzz\n"):printf("FizzBuzz\n"));} |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // from http://www.thelinuxrain.com/articles/bash-drivers-start-your-engines | |
| // C version is about 2-4 times faster than perl version. | |
| int main (int argc, char *argv[]) | |
| { | |
| if (argc != 2){ | |
| printf("Usage: %s filename\n", argv[0]); |
| adb devices | |
| echo "Wait at least 10secs and use the Android screen" | |
| adb shell screenrecord --output-format=h264 - | ffplay -probesize 1M - |
| python -c "import random,string,crypt; not_so_randomsalt = 'synergy'; | |
| print crypt.crypt('', '\$1\$%s\$' % not_so_randomsalt)" | |
| $1$synergy$O31nVEgYyKUdmjDRPUq8p. |
| python -c "import random,string,crypt; | |
| randomsalt = ''.join(random.sample(string.ascii_letters,8)); | |
| print crypt.crypt('MySecretPassword', '\$6\$%s\$' % randomsalt)" | |
| # $6$glmhpDPn$TnHWDtgh9ATjfUfEGUPoiFq1wATR0aHmDtDWaDOZWJmtDVsgsqmMriUQNcdV2pR1kA6tYQTIfMOYubdgBStEx. |
| Terminal: | |
| sudo apt install pst-utils | |
| mkdir migrated-emails | |
| readpst -o ./migrated-emails -M -u -w -e -b outlook.pst | |
| Thunderbird: | |
| 1. install "ImportExportTools NG" add on | |
| 2. make new folder "MigratedEmails" in Thunderbird - preferably in "Lofal Folders" | |
| 3. right click on MigratedEmails folder -> ImportExportTools NG | |
| -> import all messages from a directory |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // Dobblo generator | |
| // Here is a C code inspired from @karinka's answer with a different arrangement of symbols. | |
| // https://math.stackexchange.com/questions/1303497/what-is-the-algorithm-to-generate-the-cards-in-the-game-dobble-known-as-spo | |
| // | |
| // It works for n being a prime number (2, 3, 5, 7, 11, 13, 17, ...). | |
| // | |
| // Number of symbols in a given card = n+1 | |
| // Total number of cards = n^2 + n + 1 |