mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-21 22:33:42 +01:00
removed all templates and fixed readme
This commit is contained in:
parent
a83eabe03d
commit
4edb6edff4
33
README.md
33
README.md
@ -5,30 +5,29 @@ This repository holds my Linux config files.
|
||||
## Mandatory unixporn screenshots
|
||||
|
||||
New version as of dec 2018:
|
||||
[![dotfiles](media/dotfiles3.png)](https://raw.githubusercontent.com/Mastermindzh/dotfiles/master/media/dotfiles.png)
|
||||
[![dotfiles](media/dotfiles3.png)](https://raw.githubusercontent.com/Mastermindzh/dotfiles/master/media/dotfiles3.png)
|
||||
|
||||
Older versions:
|
||||
|
||||
- [dotfiles](media/dotfiles.png)
|
||||
- [dotfiles2](media/dotfiles2.png)
|
||||
|
||||
|
||||
## Tools
|
||||
|
||||
| Purpose | Tool |
|
||||
|-------------------|--------------------------------------|
|
||||
| WM | i3 (i3-gaps) |
|
||||
| App launcher | rofi |
|
||||
| Shell | Bash |
|
||||
| Package managers | Pacman & Trizen |
|
||||
| OS | Arch Linux (or Antergos if I'm lazy) |
|
||||
| Terminal | xfce4-terminal |
|
||||
| Editor | nano |
|
||||
| Code editor | vscode / jetbrains stuff |
|
||||
| Browser | Chromium |
|
||||
| File manager | If I have to use one ... Nautilus |
|
||||
| Music | Google Play Music Desktop Player |
|
||||
| | |
|
||||
| Purpose | Tool |
|
||||
| ---------------- | ------------------------------------ |
|
||||
| WM | i3 (i3-gaps) |
|
||||
| App launcher | rofi |
|
||||
| Shell | Bash |
|
||||
| Package managers | Pacman & Trizen |
|
||||
| OS | Arch Linux (or Antergos if I'm lazy) |
|
||||
| Terminal | xfce4-terminal |
|
||||
| Editor | nano |
|
||||
| Code editor | vscode / jetbrains stuff |
|
||||
| Browser | Chromium |
|
||||
| File manager | If I have to use one ... Nautilus |
|
||||
| Music | Google Play Music Desktop Player |
|
||||
| | |
|
||||
|
||||
## computer specifc setup
|
||||
|
||||
@ -36,4 +35,4 @@ Nowadays I use a few different computers and I'd used to apply the base config a
|
||||
I've grown tired of this approach however so I added a "pc specific" setup in the installer.
|
||||
|
||||
The pc specific setup bit will read the folder names in computers, offer you a choice, and execute the install.sh inside that folder.
|
||||
This allows me to get pc specific settings synced with git and applied easily.
|
||||
This allows me to get pc specific settings synced with git and applied easily.
|
||||
|
@ -12,4 +12,3 @@ XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||
XDG_MUSIC_DIR="$HOME/Music"
|
||||
XDG_PICTURES_DIR="$HOME/Pictures"
|
||||
XDG_VIDEOS_DIR="$HOME/Videos"
|
||||
XDG_TEMPLATES_DIR="$HOME/Templates"
|
||||
|
5
dependencies/pacman.txt
vendored
5
dependencies/pacman.txt
vendored
@ -9,7 +9,6 @@ scrot
|
||||
arandr
|
||||
chromium
|
||||
xfce4-terminal
|
||||
nautilus
|
||||
sushi
|
||||
libconfig
|
||||
compton
|
||||
@ -68,4 +67,6 @@ openvpn
|
||||
networkmanager-openvpn
|
||||
ranger
|
||||
w3m
|
||||
system-config-printer
|
||||
system-config-printer
|
||||
thunar
|
||||
thunar-archive-plugin
|
@ -84,7 +84,6 @@ function install_config {
|
||||
linkDir "$PWD"/config/notify-osd/notify-osd ~/.notify-osd
|
||||
linkDir "$PWD"/config/terminal/xfce4-term ~/.config/xfce4/terminal
|
||||
linkDir "$PWD"/config/gtk-3.0/settings.ini ~/.config/gtk-3.0/.config
|
||||
linkDir "$PWD"/templates ~/Templates
|
||||
linkDir "$PWD"/config/ranger ~/.config/
|
||||
|
||||
# link user files
|
||||
|
@ -1 +0,0 @@
|
||||
#!/bin/bash
|
@ -1,8 +0,0 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
Public class
|
@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Name=
|
||||
Exec=
|
||||
Icon=
|
||||
StartupWMClass=
|
||||
Comment=
|
||||
Path=
|
||||
StartupNotify=false
|
||||
Categories=
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,10 +0,0 @@
|
||||
program untitled;
|
||||
|
||||
uses crt;
|
||||
var i : byte;
|
||||
|
||||
BEGIN
|
||||
|
||||
|
||||
END.
|
||||
|
@ -1,6 +0,0 @@
|
||||
def main(args):
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
import sys
|
||||
sys.exit(main(sys.argv))
|
@ -1,45 +0,0 @@
|
||||
import sys, pygame
|
||||
from pygame.locals import *
|
||||
|
||||
# het aantal frames per seconde.
|
||||
# hoe hoger de waarde hoe sneller het balletje beweegt en hoe beter de animatie er uitziet.
|
||||
FPS = 200
|
||||
KLOK = pygame.time.Clock() # de interne pygame klok
|
||||
|
||||
# Scherm variabelen
|
||||
SCHERM_BREEDTE = 600 # De breedte van het scherm
|
||||
SCHERM_HOOGTE = 400 # De hoogte van het scherm
|
||||
SCHERM = pygame.display # Het pygame venster
|
||||
|
||||
# Kleuren
|
||||
ZWART = (0,0,0)
|
||||
WIT = (255,255,255)
|
||||
|
||||
|
||||
# Main
|
||||
def main():
|
||||
Initialisatie() # Roep de initialisatie methode aan
|
||||
while True: # Start een oneindige loop
|
||||
gameLoop() # Roep onze eigen gameloop aan
|
||||
|
||||
# Deze methode initialiseerd het scherm
|
||||
def Initialisatie():
|
||||
pygame.init() #initialiseer pygame
|
||||
SCHERM.set_mode((SCHERM_BREEDTE, SCHERM_HOOGTE))
|
||||
SCHERM.set_caption('Schermtitel')
|
||||
|
||||
# Deze methode wordt de gehele looptijd van het programma uitgevoerd
|
||||
def gameLoop():
|
||||
#hieronder starten we een game loop
|
||||
for event in pygame.event.get():
|
||||
#als het programma gestopt wil worden dan kan dat.
|
||||
if event.type == QUIT:
|
||||
pygame.quit()
|
||||
sys.exit
|
||||
#update het scherm en tik zovaak als het FPS is aangegeven
|
||||
pygame.display.update()
|
||||
KLOK.tick(FPS)
|
||||
|
||||
# start het programma
|
||||
if __name__=='__main__':
|
||||
main()
|
@ -1,51 +0,0 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
class componentName extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
|
||||
}
|
||||
|
||||
shouldComponentUpdate(nextProps, nextState) {
|
||||
|
||||
}
|
||||
|
||||
componentWillUpdate(nextProps, nextState) {
|
||||
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps, prevState) {
|
||||
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
componentName.propTypes = {
|
||||
|
||||
};
|
||||
|
||||
export default componentName;
|
@ -1,13 +0,0 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
class componentName extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default componentName;
|
@ -1,8 +0,0 @@
|
||||
import React from "react";
|
||||
|
||||
|
||||
const FunctionBasedComponent = ({param}) => {
|
||||
return <span>Function based component</span>;
|
||||
};
|
||||
|
||||
export default FunctionBasedComponent;
|
@ -1,32 +0,0 @@
|
||||
/* Replace XDATABASE with the DB name */
|
||||
USE MASTER
|
||||
GO
|
||||
|
||||
-- Function will delete a database even when in use.
|
||||
BEGIN TRY
|
||||
ALTER DATABASE XDATABASE SET SINGLE_USER WITH ROLLBACK IMMEDIATE
|
||||
DROP DATABASE XDATABASE
|
||||
END TRY
|
||||
BEGIN CATCH
|
||||
raiserror('XDATABASE doesn''t exist. Continuing....', 10, 1)
|
||||
END CATCH;
|
||||
GO
|
||||
|
||||
CREATE DATABASE XDATABASE
|
||||
GO
|
||||
|
||||
USE XDATABASE
|
||||
GO
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `Template`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE [Template] (
|
||||
[Column1] INT NOT NULL,
|
||||
[Column2] VARCHAR(30) NOT NULL,
|
||||
[Column3] VARCHAR(30) NOT NULL,
|
||||
CONSTRAINT pk_column1 PRIMARY KEY ([Column1]),
|
||||
CONSTRAINT ck_column2 CHECK ([Column2] in ('M','V')),
|
||||
CONSTRAINT fk_column3 FOREIGN KEY ([Column3]) REFERENCES Patient([Patientnr])
|
||||
)
|
||||
GO
|
@ -1,15 +0,0 @@
|
||||
/* Replace XDATABASE with the DB name */
|
||||
USE XDATABASE
|
||||
GO
|
||||
-- SET LANGUAGE DUTCH /* ONLY USE WHEN WORKING WITH DUTCH DATES*/
|
||||
GO
|
||||
-- -----------------------------------------------------
|
||||
-- Table `Template`
|
||||
-- -----------------------------------------------------
|
||||
INSERT INTO [Template]
|
||||
([Column1] , [Column2] ,[Column3] ,[Geboortedatum]) VALUES
|
||||
('1' , 'A' , 'a' , '03-02-1957'),
|
||||
('2' , 'B' , 'a' , '22-08-1957')
|
||||
GO
|
||||
|
||||
-- SET LANGUAGE ENGLISH
|
@ -1,23 +0,0 @@
|
||||
-- -----------------------------------------------------
|
||||
-- Table `Template`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS `Template` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT ,
|
||||
`Title` VARCHAR(30) NOT NULL ,
|
||||
PRIMARY KEY (`id`) )
|
||||
ENGINE = InnoDB;
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `References`
|
||||
-- -----------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS `References` (
|
||||
`url` VARCHAR(400) NOT NULL ,
|
||||
`Templates_id` INT NOT NULL ,
|
||||
PRIMARY KEY (`url`, `Templates_id`) ,
|
||||
INDEX `fk_References_Template_idx` (`Templates_id` ASC) ,
|
||||
CONSTRAINT `fk_References_Template`
|
||||
FOREIGN KEY (`Template_id`)
|
||||
REFERENCES `Template` (`id`)
|
||||
ON DELETE NO ACTION
|
||||
ON UPDATE NO ACTION)
|
||||
ENGINE = InnoDB;
|
@ -1,4 +0,0 @@
|
||||
-- -----------------------------------------------------
|
||||
-- Table `Template`
|
||||
-- -----------------------------------------------------
|
||||
INSERT INTO `Template` (`id`) VALUES ('1');
|
@ -1,4 +0,0 @@
|
||||
public static int main(string[] args){
|
||||
|
||||
return 0;
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
?>
|
@ -1,21 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script src="js/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>untitled</title>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user