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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:p="http://www.springframework.org/schema/p" | |
xmlns:sec="http://www.springframework.org/schema/security" | |
xmlns:cas="http://unicon.net/schema/cas" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://www.springframework.org/schema/security | |
http://www.springframework.org/schema/security/spring-security-3.1.xsd |
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
# github.com/rafi i3status config | |
# i3status configuration file | |
# see "man i3status" for documentation. | |
# It is important that this file is edited as UTF-8. | |
# The following line should contain a sharp s: | |
# ß | |
# If the above line is not correctly displayed, fix your editor first! |
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
config defaultToCurrentScreen true | |
# Abstract positions | |
alias full move screenOriginX+(screenSizeX*.005);screenOriginY+(screenSizeY*.005) ((screenSizeX)*.99);(screenSizeY*.99) | |
alias lefthalf move screenOriginX+(screenSizeX*.005);screenOriginY+(screenSizeY*.005) ((screenSizeX/2)*.99);(screenSizeY*.99) | |
alias righthalf move screenOriginX+screenSizeX/2+(screenSizeX*.005);screenOriginY+(screenSizeY*.005) ((screenSizeX/2)*.99);(screenSizeY*.99) | |
alias tophalf move screenOriginX+(screenSizeX*.005);screenOriginY+(screenSizeY*.005) (screenSizeX*.99);((screenSizeY/2)*.99) | |
alias bottomhalf move screenOriginX+(screenSizeX*.005);screenOriginY+screenSizeY/2+(screenSizeY*.005) (screenSizeX*.99);((screenSizeY/2)*.99) | |
alias topleft move screenOriginX+(screenSizeX*.005);screenOriginY+(screenSizeY*.005) ((screenSizeX/2)*.99);((screenSizeY/2)*.99) | |
alias topright move screenOriginX+screenSizeX/2+(screenSizeX*.005);screenOriginY+(screenSizeY*.005) ((screenSizeX/2)*.99);((screenSizeY/2)*.99) |
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
git fetch --all | |
git reset --hard origin/branchName | |
git pull origin branchName |
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/bash | |
# Raspberry Pi ZRAM script | |
# Tuned for quad core, 1 GB RAM models | |
# put me in /etc/init.d/zram.sh and make me executable | |
# then run "sudo update-rc.d zram.sh defaults" | |
modprobe zram | |
echo 3 >/sys/devices/virtual/block/zram0/max_comp_streams | |
echo lz4 >/sys/devices/virtual/block/zram0/comp_algorithm |
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
#---- Generated by tint2conf 9757 ---- | |
# See https://gitlab.com/o9000/tint2/wikis/Configure for | |
# full documentation of the configuration options. | |
#------------------------------------- | |
# Backgrounds | |
# Background 1: Panel, Tooltip | |
rounded = 0 | |
border_width = 0 | |
border_sides = TBLR | |
background_color = #16161d 63 |
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
-- Two dashes start a one-line comment. | |
--[[ | |
Adding two ['s and ]'s makes it a | |
multi-line comment. | |
--]] | |
---------------------------------------------------- | |
-- 1. Variables and flow control. | |
---------------------------------------------------- |
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
[Unit] | |
Description=MQTT v3.1 message broker | |
After=network.target | |
Requires=network.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf | |
Restart=always | |
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
# make on raspberry pi 3b | |
sudo make -j2 | |
sudo make install | |
sudo make clean | |
sudo make distclean |
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
import pandas as pd | |
import numpy as np | |
import datetime as dt | |
import math | |
import warnings | |
warnings.filterwarnings("ignore") | |
prices = pd.read_csv("adjclose.csv", index_col="Date", parse_dates=True) | |
volumechanges = pd.read_csv("volume.csv", index_col="Date", parse_dates=True).pct_change()*100 |
OlderNewer