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
require 'formula' | |
class Netpbm < Formula | |
homepage 'http://netpbm.sourceforge.net' | |
url 'svn+http://svn.code.sf.net/p/netpbm/code/advanced/', :revision => 1809 | |
version '10.60.05' | |
# Maintainers: Look at http://netpbm.svn.sourceforge.net/viewvc/netpbm/ | |
# for versions and matching revisions | |
head 'https://svn.code.sf.net/p/netpbm/code/trunk' |
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) 2007 Ruben Smits <ruben dot smits at mech dot kuleuven dot be> | |
// Version: 1.0 | |
// Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be> | |
// Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be> | |
// URL: http://www.orocos.org/kdl | |
// This library is free software; you can redistribute it and/or | |
// modify it under the terms of the GNU Lesser General Public | |
// License as published by the Free Software Foundation; either |
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
LDFLAGS: -L/usr/local/opt/qt5/lib | |
CPPFLAGS: -I/usr/local/opt/qt5/include |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char **argv) | |
{ | |
unsigned int a = atoi(argv[1]); | |
unsigned int b = atoi(argv[2]); | |
unsigned int i = a ^ b; | |
unsigned int c = 0; |
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
#include <TimerOne.h> | |
#include <ros.h> | |
#include <rosserial_msgs/Battery.h> | |
#include <Wire.h> | |
#define SAMPLING_INTERVAL 500000 /* microseconds */ | |
#define SHUNT_RESISTOR 0.002 /* ohms */ | |
#define cell6_adc_ratio 0.162714237 //ok | |
#define cell5_adc_ratio 0.195710113 //ok |
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
#include <string> | |
#include <iostream> | |
#include <serial/serial.h> | |
#include <vector> | |
#include <boost/algorithm/string/predicate.hpp> | |
#include <boost/algorithm/string.hpp> | |
#include <signal.h> | |
#include <stdio.h> | |
using std::string; |
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
use strict; | |
use vars qw($VERSION %IRSSI); | |
use Irssi; | |
$VERSION = '1.00'; | |
%IRSSI = ( | |
contact => 'dev@xrng.net', | |
name => 'now playing for iTunes on OSX', | |
license => 'Unlicense', | |
); |
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
use std::f64; | |
fn main(){ | |
let mut i = 10; | |
while i >= 1 { | |
println!("cock"); | |
i -= 1; | |
} | |
println!("{}", sign(3)); | |
println!("{}", rad2deg(angle((2.0, 2.0)))); |
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
def blocking_fn(): | |
.. | |
def stop_fn(): | |
...request_stop() | |
def main(): | |
signal.signal(signal.SIGINT, stop_fn) | |
t = threading.Thread(target=blocking_fn) |
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
>>> Recording net-misc/openvpn in "world" favorites file... | |
* Messages for package net-misc/openvpn-2.3.2: | |
* WARNING: The openvpn init script has changed | |
* | |
* The openvpn init script expects to find the configuration file | |
* openvpn.conf in /etc/openvpn along with any extra files it may need. | |
* | |
* To create more VPNs, simply create a new .conf file for it and |
OlderNewer