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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<remote fetch="https://bitbucket.org/" name="bb" /> | |
<remote name="vertex-devices" | |
fetch="https://github.com/VertexOS-Devices/" | |
revision="n" /> | |
<project name="android_extras_vertexota" path="extras/vertexota" remote="vertex" /> | |
<project name="android_device_oneplus_oneplus3" path="device/oneplus/oneplus3" remote="vertex-devices" /> | |
<project name="EAS-project/android_device_voxpopuli" path="device/voxpopuli" remote="github" revision="msm8996" /> |
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
# Check what is causing the slow loading times for fish shell | |
fish --profile prompt.prof -ic 'fish_prompt; exit'; sort -nk 2 prompt.prof | |
# check for broken links | |
find . -type l -xtype l | |
# fix fedora 25 nvdia problems | |
# GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau" | |
# That's from my /etc/default/grub. |
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
#! /usr/bin/env python | |
""" Email Me. | |
Usage: | |
emailme <message> | |
emailme [-s] <message> | |
emailme [-s] <subject> <message> | |
emailme <toaddr> <subject> <message> | |
emailme <toaddr> <fromaddr> <subject> <message> | |
emailme -h | --help |
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
#!/usr/bin/env python | |
######################################################################### | |
# GPIO-Input-Listener: A simple python script that listens for # | |
# gpio input events (more specifically button clicks) and calls # | |
# appropriate methods. It has a very basic bouncing mechanism. # | |
# It has logging capabilities and restarts itself on any exception. # | |
# Basically, It's trying to imitate a daemon. # | |
# I hope it might be useful to someone. # | |
# Copyright (c) 2017 0xelectron # | |
######################################################################### |
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 | |
# | |
# This version uses September 2016 rpi jessie image, please use this image | |
# | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi |
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 | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi | |
ADAPTER="eth0" | |
# Allow overriding from eth0 by passing in a single argument |
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
source "keybase decrypt -i ~/.mutt/passwords.keybase |" | |
## | |
## Main | |
## | |
set editor = "emacs" | |
set from = "0xelectron <[email protected]>" | |
set edit_headers = yes | |
set imap_user = "[email protected]" |
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
Linux kernel coding style | |
This is a short document describing the preferred coding style for the | |
linux kernel. Coding style is very personal, and I won't _force_ my | |
views on anybody, but this is what goes for anything that I have to be | |
able to maintain, and I'd prefer it for most other things too. Please | |
at least consider the points made here. | |
First off, I'd suggest printing out a copy of the GNU coding standards, |
NewerOlder