Skip to content

Instantly share code, notes, and snippets.

View kylemanna's full-sized avatar

Kyle Manna kylemanna

View GitHub Profile
@kylemanna
kylemanna / kicost.py
Last active October 31, 2016 13:45
Hacked KiCost to build a minimal BOM for KiCad
# MIT license
#
# Copyright (C) 2015 by XESS Corporation
#
# 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:
#!/bin/sh
set -e
write_to () {
echo $2 | sudo tee $1 > /dev/null
}
set_rate () {
c=fclk$1

The Man in the Arena

It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who neither know victory nor defeat.

— Theodore Roosevelt

/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#if !defined(_LINKERSET_H_)
#define _LINKERSET_H_
#include <assert.h>
#include <stdlib.h>
#define WEAK __attribute__((weak))
#
# Google Test / GTest
#
# To make this work with add_subdirectory()
# * add_library(... GLOBAL)
# * set(GTEST_BOTH_LIBRARIES ... PARENT_SCOPE)
#
# Seems more intentional to use it as an include though.
#
#!/usr/bin/env python3
'''
Angellist Web Search Scraper
Author: Kyle Manna
The goal of htis tool is to scrape the Angellist search results becaues the
Search API [1] only returns 20 results with no pagination at the time of
this writing (2015.09.06).
@Bekbolatov
Bekbolatov / tmux.md
Last active March 7, 2024 01:18
Clean tmux cheat-sheet

Clean tmux cheat-sheet

By resources

sessions

list-sessions        ls         -- List sessions managed by server
new-session          new        -- Create a new session
@kristopolous
kristopolous / hn_seach.js
Last active July 24, 2023 04:12
hn job query search
// Usage:
// Copy and paste all of this into a debug console window of the "Who is Hiring?" comment thread
// then use as follows:
//
// query(term | [term, term, ...], term | [term, term, ...], ...)
//
// When arguments are in an array then that means an "or" and when they are seperate that means "and"
//
// Term is of the format:
// ((-)text/RegExp) ( '-' means negation )
#!/bin/bash
#
# Git bisect script to find the source of demangle issues
#
# $ git bisect start binutils-2_25 binutils-2_24 libiberty
# $ git bisect run ./git-bisect-libiberty.sh
#
ret=0
From 0259b97225a4186a67538ec88a938d7fb61a0008 Mon Sep 17 00:00:00 2001
From: Kyle Manna <kyle@kylemanna.com>
Date: Mon, 29 Jun 2015 15:45:32 -0700
Subject: [PATCH] libierty: Add more tests
* This is broke on bintuils 2.25
---
libiberty/testsuite/demangle-expected | 8 ++++++++
1 file changed, 8 insertions(+)