Skip to content

Instantly share code, notes, and snippets.

View timvisee's full-sized avatar
Consuming coffee

Tim Visée timvisee

Consuming coffee
View GitHub Profile
@timvisee
timvisee / github_emojis.md
Last active February 26, 2018 13:31 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@timvisee
timvisee / README.md
Created January 3, 2018 18:25
BrainFuck Mandlebrot
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active May 5, 2024 19:57
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@timvisee
timvisee / super-fast-iseven.js
Created November 12, 2017 18:34
Super fast isEven in JavaScript - Reddit meme
var redis = require('redis');
var redisClient = redis.createClient();
/**
* Super fast cached magic for determining evenness of a number.
*
* @param {number} x Number to check (integer).
* @param {function} callback Called with the result, or when our magic failed.
*/
function isEven(x, callback) {
@timvisee
timvisee / toets.md
Last active July 5, 2017 09:28
DBDS toets samenvatting

Database design toets

Toets over database design.

Toets onderdelen

  • Conceptueel gegevensmodel -> ontwerp [30%]
    • 1:1
    • 1:N
    • N:M
    • Unair
    • Specialistaties
@timvisee
timvisee / wannacry_rsa_pem.txt
Last active November 6, 2017 02:52
WannaCry RSA keys (pem)
-----BEGIN PRIVATE KEY-----
MIIEzAIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDvz+6DC3rbkfGw
yN1gNs9NhfJkNpzMAIRR7ZYg/x6kvtxmcsfWA3TeoygGW8lSpSf53/wPhEVgbYGE
VbBeTI/3zNZtEbHkyCSo7qHyYQoSWbJqbDqFZ3aRjFAnXAaXZGkDN5ZI5Zar16jw
0XcwLdMToKOfzf6R34YKjJ8KiPVOuF0COglhPLEMT2eJHY83gMmJNgHJnMFsDdVe
iGS+jXG8G2MBYBixAoLCqpuC3sRoCpOQyvaJKJ4nE18F1lIdbSVxQ26r++Ov5/ET
IS4/E51wO/1q1RSrHBhhgFt3tsmD9rRYBVYnsOx7UecV9FAazuHvqTLtX9oen9kK
nAQrTStDAgMBAAECggEBAMeL6PbIJanxDgDBk1vNH8BtNd3nh59EytX1cZfxUYla
e8EPv3M4mxXrA5IO7D3FybblhzNOKABt/nikaMZ+xMk4fDBzqegqFj8vmjg6QQw1
8P0XI7b/+axw6f1mWOG+npcbuQTdbft9z0jbs2a2qs3JPH3sBelR6pJ6opg8kIq3

WannaCry|WannaDecrypt0r NSA-Cyberweapon-Powered Ransomware Worm

  • Virus Name: WannaCrypt, WannaCry, WanaCrypt0r, WCrypt, WCRY
  • Vector: All Windows versions before Windows 10 are vulnerable if not patched for MS-17-010. It uses EternalBlue MS17-010 to propagate.
  • Ransom: between $300 to $600. There is code to 'rm' (delete) files in the virus. Seems to reset if the virus crashes.
  • Backdooring: The worm loops through every RDP session on a system to run the ransomware as that user. It also installs the DOUBLEPULSAR backdoor. It corrupts shadow volumes to make recovery harder. (source: malwarebytes)
  • Kill switch: If the website www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).

update: A minor variant of the viru

Verplichte literatuur

  • De Tré, Guy, Principes van databases Hoofdstuk 3 t/m 6, 9 t/m 12
  • Reader SQL deel 2
  • Reader SQL server
  • Reader Fysiek ontwerp van databases
  • De presentaties en opdrachten behorende bij de lessen van ADBD.

Guy H3 - Conceptueel databaseontwerp

Databaseontwerpperoces

  • Informatievergaring: domeinanalyse, functionele analyse, behoefte analyse
@timvisee
timvisee / sinterkerstennieuw.md
Created April 14, 2017 22:19
Sinterkerstennieuw opkomst

Sinterkerstennieuw

Ultra denderende opkomst.

      ,~.
   ,-'__ `-,
  {,-'  `. }              ,')
 ,( a )   `-.__         ,',')~,
<=.) ( `-.__,==' ' ' '}
Predicting top movies for user 32776 ...
TESTS:
(32776, 1358, 4.0)
Top movies predicted, took 3.76 s
Movie recommendations:
('Sling Blade (1996)', 3.817064485458597, 13336)
Predicting top movies for user 114699 ...
TESTS: