Skip to content

Instantly share code, notes, and snippets.

@lopsided98
lopsided98 / PKGBUILD
Created March 20, 2018 17:34
ccollab-client AUR package updated to 11.2.11201
# Maintainer: Nikolay Korotkiy <sikmir@gmail.com>
pkgname=ccollab-client
pkgver=11.2.11201
pkgrel=1
pkgdesc="Collaborator Client"
arch=('any')
url="https://smartbear.com/product/collaborator"
license=('custom')
depends=('java-runtime')
source=("https://s3.amazonaws.com/downloads.smartbear/collaborator/${pkgver}/${pkgname//-/_}_${pkgver//./_}_unix.tar.gz")
@lopsided98
lopsided98 / PKGBUILD
Last active June 1, 2016 02:01
PKGBUILD for log4cxx 0.10.0 that works with GCC 6
pkgname=log4cxx
pkgver=0.10.0
pkgrel=3
pkgdesc="A C++ port of Log4j"
url="http://logging.apache.org/log4cxx"
license=("Apache")
depends=('apr-util' 'libxml2')
arch=('i686' 'x86_64')
makedepends=('autoconf' 'automake' 'libtool' 'patch' 'zip' 'gzip' 'sed')
@lopsided98
lopsided98 / update-gmod-addons.sh
Created September 6, 2015 00:15
Script to copy Garry's Mod addons from a client to a dedicated server (to work around https://github.com/Facepunch/garrysmod-issues/issues/1520)
#!/bin/bash -e
local_gmod_path=~/.steam/steam/SteamApps/common/GarrysMod/garrysmod/addons
remote_gmod_path=/home/steam/servers/gmod/garrysmod/addons
cd $local_gmod_path
while IFS= read -r -d '' ds_addon; do
id=${ds_addon:3:9}
addon=$(find . -name "*$id*" -printf '%f' -quit -maxdepth 1)
if [ "$addon" != "" ]; then
@lopsided98
lopsided98 / ITG3200.java
Created February 1, 2015 02:05
roboRIO driver for the InvenSense ITG-3200 digital 3-axis gyro.
/*
* Copyright (c) 2015 RobotsByTheC. All rights reserved.
*
* Open Source Software - may be modified and shared by FRC teams. The code must
* be accompanied by the BSD license file in the root directory of the project.
*/
package edu.wpi.first.wpilibj;
import org.usfirst.frc.team2084.CMonster2015.Gyro;