View c.md

my opinionated C coding style

derived from suckless coding style

standard

  • always use -std=c99 -pedantic

comments

View tscdecrypt.cpp
#include <iostream>
#include <fstream>
#include <sstream>
class TSCDecrypt {
public:
std::string decrypt_file(const std::string& file_name) const {
// Read the file into a string.
std::ifstream file(file_name);
std::stringstream stream;
View install.sh
# installs mcpelauncher-linux and its dependencies
PWD=`pwd`
if [[ ! $PWD == *"mcpelauncher-linux"* ]]; then
echo ">> NOTICE: Not running in the correct repository."
if [[ -d mcpelauncher-linux ]]; then
cd mcpelauncher-linux
echo ">> CDed into the repository."
else
View gist:2ad701de36fbb79b2b02

This is my new $PS1. I designed it myself, and (I will admit it), was a pain to setup, but I did it!

How as this made?

I was trying out powerline-shell when I saw that it was very slow on my system. Although it was easy to setup, it runs a Python script every time to generate a $PS1. It would take 0.5-1.0 seconds to run the script on my system to generate the $PS1, and that was bothering me. (It's great, though!)

Step 0: Pre-requirements

  • Git
  • Bash
  • Computer knowledge
View keybase.md

Keybase proof

I hereby claim:

  • I am sliceofcode on github.
  • I am sliceofcode (https://keybase.io/sliceofcode) on keybase.
  • I have a public key whose fingerprint is 6269 7BF3 D6D6 EDF0 A10C 1F06 DA4B 0E89 2144 6491

To claim this, I am signing this object:

View frame.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body onload='init()'>
</body>
<script>
function init() {
}