This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Private Captcha Example</title> | |
<style> | |
body { | |
display:flex; | |
flex-direction: column; | |
min-height: 100vh; | |
} |
This file contains hidden or 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 <QAbstractListModel> | |
#include <QGuiApplication> | |
#include <QQmlApplicationEngine> | |
#include <QtGlobal> | |
#include <QQmlContext> | |
#include <iostream> | |
void myMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg) { | |
QString logLine = qFormatLogMessage(type, context, msg); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
version: '3' | |
services: | |
kanboard: | |
image: kanboard/kanboard:v1.2.14 | |
ports: | |
- "4580:80" | |
- "45443:443" | |
volumes: | |
- kanboard_data:/var/www/app/data | |
- kanboard_plugins:/var/www/app/plugins |
This file contains hidden or 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
filetype plugin on | |
filetype indent on | |
" set UTF-8 encoding | |
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
" disable vi compatibility (emulation of old bugs) | |
set nocompatible | |
" allow to change buffer with unsaved changes | |
set hidden |
This file contains hidden or 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 "database.h" | |
#include <QDir> | |
#include <cstring> | |
#include <cmath> | |
#include <db.h> | |
#include "../Common/defines.h" | |
#include "constants.h" | |
#define DEFAULT_PAGESIZE (1024) | |
#define DEFAULT_CONCURRENT_TRANSACTIONS (100) |
This file contains hidden or 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
EXIV2_INCLUDEPATH =../xpiks/src/exiv2-0.25/include | |
DEFINES = | |
CXXFLAGS = $(DEFINES) -Zi -MDd -EHa | |
INCPATH = -I. -I$(EXIV2_INCLUDEPATH) | |
SOURCES = main.cpp | |
OBJDEPS = libexiv2.lib libexpat.lib | |
LINKFLAGS = | |
.PHONY: debug | |
debug: test_exiv2 |
This file contains hidden or 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/bash | |
# Script author: MrVaykadji http://askubuntu.com/users/176689/mrvaykadji | |
# Changes made by Ribtoks | |
# - simulink for compass2.0 in /usr/bin/ | |
# - replaced apt commands with zypper commands | |
# Changes made by Andrew <[email protected]>: | |
# - use the NodeJS PPA to avoid build failure with grunt-cli | |
# - use the Popcorn Time icon | |
# - added check for apt, dpkg, etc. | |
# - added some checks when creating symbolic links |
This file contains hidden or 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
def spiral(n) | |
arr = Array.new(n){Array.new(n){0}} | |
diff = [[0, 1], [1, 0], [0, -1], [-1, 0]] | |
i, j = 0, 0 | |
dindex = 0 | |
turns = 0 | |
curr_square = n | |
shift = 0 | |
(n*n).times do |index| |
NewerOlder