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
MIT4H | |
Copyright (c) <YEAR> <AUTHOR FULL NAME> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
@-moz-document domain(news.ycombinator.com) { | |
.comment { | |
font-size: 12px; | |
line-height: 1.75em; | |
padding: 10px 0 10px 0; | |
max-width: 64ch; | |
display: block; | |
} | |
.commtext { | |
font-size: 12px; |
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
/* ******************************************************** | |
* Copyright ©2024 Rundata Systems. All rights reserved. | |
* This project is licensed under the GPLv3 License. You | |
* can find a copy of this license at: | |
* https://www.gnu.org/licenses/gpl-3.0.en.html | |
*/ | |
#warning TODO: Split this into multiple files | |
#warning INCOMPLETE: Implement searching using compiled query |
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
/* ******************************************************** | |
* Copyright ©2024 Rundata Systems. All rights reserved. | |
* This project is licensed under the GPLv3 License. You | |
* can find a copy of this license at: | |
* https://www.gnu.org/licenses/gpl-3.0.en.html | |
* | |
* More detail (1m read): | |
* https://www.rundata.co.za/rundata/products/verbose_proxy | |
* | |
* Example usage (3m video): |
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 | |
# Stores the current branch in a file so that popbranch can restore it later. | |
# | |
# Find the root of the git repo | |
while [ `ls -lad .git 2>&1 | grep -v 'No such file' | wc -l` -eq 0 ]; do | |
if [ $PWD == '/' ]; then | |
echo Not a git repo |
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 | |
# Usage notes: | |
# 1. Make sure that pandoc is installed. | |
# 2. Place all your contents for each chapter of your devlog into | |
# `./chap1/content.md`, `./chap2/content.md`, etc. | |
# 3. This script will source a file in each chapter called METAINFO.inc. This | |
# file is optional and can contain two variable declarations: | |
# AUTHOR="Name Of Author" | |
# DATE="Date or publication" |
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 | |
# | |
# vim: ts=3:sw=3:et | |
# | |
# Pomodoro - Basic Pomodoro Clock | |
# Copyright 2022 Lelanthran Manickum | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: |
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 | |
# Tool to run git on all of the sub-repos specified. Use all the standard | |
# git commands with this (status, branch, checkout, reset, etc) and each | |
# command will be run for all of the repos. | |
# Replace the following list of dirname=url with your own. | |
export URLS=' | |
[email protected]:lelanthran/askme.git | |
[email protected]:lelanthran/cgui.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
(setq-default inhibit-startup-screen t) | |
(progn | |
(when (fboundp 'tool-bar-mode) | |
(tool-bar-mode -1)) | |
(when (fboundp 'scroll-bar-mode) | |
(scroll-bar-mode -1)) | |
(when (fboundp 'horizontal-scroll-bar-mode) | |
(horizontal-scroll-bar-mode -1))) | |
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
/* gcc -ggdb -W -Wall -pedantic -o reformat.elf reformat.c */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <ctype.h> | |
#include <stdbool.h> | |
/* ************************************************************************* * |
NewerOlder