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
/** By_Sean_Eron_Anderson seander@cs.stanford.edu */ | |
#include <stdbool.h> | |
#include <stdint.h> | |
#include <endian.h> | |
#define CHAR_BIT 8 | |
void Compute_the_sign_of_an_integer() { | |
/*Compute the sign of an integer*/ |
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
Doing ../HWMgmt-OCP-Profiles/LICENSE | |
Redfish Interop Validator, version 2.0.1 | |
Option online_profiles not supported! | |
{ | |
"DEFAULT": {}, | |
"Tool": { | |
"verbose": { | |
"value": "", | |
"description": "TBD" |
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 | |
# Based on public domain work by Yury V. Zaytsev <yury@shurup.com> | |
# Deps: bash4+, xpath, egrep, virsh | |
set -e | |
set -u | |
MACHINES=$( virsh list --name | egrep "\S" ) | |
NETWORK="default" | |
BRIDGE="bridge0" |
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
/* this script will slightly back up production, but that can be | |
easily solved by adding some storage containers between belts */ | |
const source = parseInt(process.argv[2]); | |
const begin = { source, nodes: [] }; | |
const splits = [2, 3]; | |
const target = parseInt(process.argv[3]); | |
let gold = false; | |
function recurse(current = begin, depth = 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
#!/usr/bin/env bash | |
while read -p "in >" line; do | |
echo line was ${line} | |
done |
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
sweet@beastmode:~/lab$ aplay -i 'hosty-host,' -e ansible_ssh_pass=vagrant -u vagrant npm-install.yml -vvv | |
ansible-playbook 2.7.2 | |
config file = /etc/ansible/ansible.cfg | |
configured module search path = [u'/home/sweet/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible | |
executable location = /usr/local/bin/ansible-playbook | |
python version = 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609] | |
Using /etc/ansible/ansible.cfg as config file | |
Parsed hosty-host, inventory source with host_list plugin |
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
# c | |
# ├── Makefile | |
# ├── obj | |
# └── src | |
# ├── lib.c | |
# ├── lib.h | |
# └── server.c | |
EXE := doit | |
SRC := src |
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
import {arrayOf} from "./util/array" | |
import p5 from 'p5' // vector fromAngle | |
import particle from './particle' | |
export default function (s) { | |
s.createSpan('cellScale') | |
const cellScaleSlider = s.createSlider(2, 100, 9, 1) | |
s.createSpan('particleCount') | |
const particleCountSlider = s.createSlider(2, 10000, 40, 1) | |
s.createSpan('frameRate') |
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 (c) 2013 Matt Bertolini | |
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: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the | |
Software. |
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
The MIT License | |
Copyright (c) 2010, InfraDNA, Inc. | |
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: |
NewerOlder