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
# Maintainer: Lionel Peller <errpell@protonmail.com> | |
pkgname=trinity-matrix-git | |
pkgver=r21.b8ed76c | |
pkgrel=1 | |
pkgdesc="Qt5 QML Matrix client" | |
arch=('x86_64') | |
url="https://github.com/invghost/Trinity.git" | |
license=('GPL3') | |
depends=('qt5-declarative' 'cmark') | |
makedepends=('git') |
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
#define _XOPEN_SOURCE 500 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ftw.h> | |
static int rmFiles(const char *pathname, const struct stat *sbuf, int type, struct FTW *ftwb) | |
{ | |
if(remove(pathname) < 0) | |
{ | |
perror("ERROR: remove"); |
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
{ | |
"prefix" : "::", | |
"token" : "get your token from discord" | |
} |
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
#!/usr/bin/sh | |
# Execute the script specified as argument | |
# Directory where the script are stored | |
baseDir=/opt/nhatz_bash | |
passed_args=("$@") #list of provided arguments stored in new array | |
comm=$1 #script/command to call, first on the list | |
comm_pos=0 #position of $comm in the array |
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 | |
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR |
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 | |
# The \ in the name is because github is complaining about / | |
userresources=$HOME/.Xresources | |
usermodmap=$HOME/.Xmodmap | |
sysresources=/etc/X11/xinit/.Xresources | |
sysmodmap=/etc/X11/xinit/.Xmodmap | |
# merge in defaults and keymaps |
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
package ca.qc.bdeb.inf202.h17tp1; | |
import org.junit.Before; | |
import org.junit.Test; | |
import static org.junit.Assert.*; | |
import java.util.Arrays; | |
public class FermeTest { |
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 "h_ennemy.h" | |
H_Ennemy::H_Ennemy() { | |
setRect(0, 0, 50, 10); | |
collisionList = collidingItems(); | |
QTimer * ennemyTimer = new QTimer(); | |
connect(ennemyTimer, SIGNAL(timeout()), this, SLOT(move())); | |
ennemyTimer->start(10); //timeout shorter because I update the list in the move slot | |
} |