Skip to content

Instantly share code, notes, and snippets.

@bgdncz
bgdncz / keybase.md
Created June 15, 2021 07:27
my Keybase proof

Keybase proof

I hereby claim:

  • I am boghison on github.
  • I am bogdancuza (https://keybase.io/bogdancuza) on keybase.
  • I have a public key ASCMn8W9BGcn_jvHe-tmVpqSh5BejIjaxR4goXOsmUCKTwo

To claim this, I am signing this object:

@bgdncz
bgdncz / french.py
Created March 11, 2019 02:30
A simple tool to memorize french verbs
import random
import os
clear = lambda: os.system('cls')
verbs = {
"aller": ["je vais", "tu vas", "il/elle va", "nous allons", " vous allez", "ils/elles vont", "être allé"],
"avoir": ["j' ai", "tu as", "il/elle a", "nous avons", "vous avez", "ils/elles ont", "avoir eu"],
"dire": ["je dis", "tu dis", "il/elle dit", "nous disons", "vous dites", "ils/elles disent", "avoir dit"],
"être": ["je suis", "tu es", "il/elle est", "nous sommes", "vous etes", "ils/elles sont", "avoir été"],
@bgdncz
bgdncz / syncfusion_download.sh
Created November 19, 2016 19:47
Download syncfusion books with bash without an account
#!/bin/bash
mkdir syncfusion_books
BASE='http://files2.syncfusion.com/'
rdom () { local IFS=\> ; read -d \< E C ;}
curl -s $BASE | while rdom; do case $C in *.pdf) wget -P syncfusion_books -bqc "${BASE}${C}";; esac; done
@[Link("clang-3.5")]
lib LibClang
alias CXIndex = Void*
alias CXClientData = Void*
enum CXCursorKind
CXCursor_UnexposedDecl
CXCursor_StructDecl
CXCursor_UnionDecl
CXCursor_ClassDecl
CXCursor_EnumDecl
@bgdncz
bgdncz / Wave.qml
Last active August 29, 2015 14:10
A material design wave implemented in QML
import QtQuick 2.0
Rectangle {
id: wave
property real realX
property real realY
x: realX-(size/2)
y: realY-(size/2)