Skip to content

Instantly share code, notes, and snippets.

View cuviper's full-sized avatar

Josh Stone cuviper

View GitHub Profile
@ignatenkobrain
ignatenkobrain / README.md
Last active November 9, 2020 10:13
Rust on Side Tags
set release 32
set build (fedpkg verrel)
set pkg (string split -m 2 -r - $build)[1]
set tag (koji add-sidetag f$release-build)

fedpkg clone $pkg
cd $pkg
fedpkg request-branch f$release --no-git-branch
#include <locale.h>
#include <stdlib.h>
#include <libsmartcols.h>
#include <solv/policy.h>
#include <solv/pool.h>
#include <solv/poolarch.h>
#include <solv/repo.h>
#include <solv/repo_solv.h>
#include <solv/selection.h>
#include <solv/policy.h>
#include <solv/pool.h>
#include <solv/repo.h>
#include <solv/repo_solv.h>
#include <solv/selection.h>
int
main (int argc,
char **argv)
{
@NeoCat
NeoCat / 2048.stp
Last active August 29, 2015 13:58
2048 -- Join the numbers and get to the 2048 tile using SystemTap!
#!/bin/bash
//usr/bin/env stty -echo; sudo staprun -T 30 `stap -p4 "$0"` "$@"; stty echo; exit
// 2048.stp - written by NeoCat
// Inspired by https://github.com/gabrielecirulli/2048/
// Licensed under MIT license or GPLv2
// Join the numbers and get to the 2048 tile!
// HOW TO PLAY: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!