$ cd /usr/ports/net-p2p/transmission-daemon
$ sudo make install
$ sudo mkdir /srv/torrents/{autoload,data}
$ sudo chown -R transmission:transmission /srv/torrents/
$ sudo chmod -R go+w /srv/torrents/
$ sudo vim /etc/rc.conf
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
//-------------------------------------------- | |
// Subject: L4D2のHUD改造方法 | |
// Author: KIMOTO | |
// Updated At: 2011/03/22 | |
// Created At: 2010/08/15 | |
//-------------------------------------------- | |
■概要 | |
Left4Dead2のHUD(Head Up Display)についての変更、カスタマイズ方法についてまとめた資料です |
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
# /etc/make.conf | |
# Clemens Gruber, 2017 | |
# | |
# Nearby mirror | |
#MASTER_SITE_OVERRIDE="ftp://ftp.at.freebsd.org/pub/FreeBSD/ports/distfiles/" | |
#MASTER_SITE_OVERRIDE="ftp://ftp.de.freebsd.org/pub/FreeBSD/ports/distfiles/" | |
# Build | |
MAKE_JOBS_NUMBER?=8 |
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
# Samba 4 config example | |
# Connected to existing remote Samba 4 Active Directory Directory Controller | |
# ZFS pool @ /storage | |
# Network is 192.168.101.0/24 | |
# Samba is installed with: | |
# pkg install samba42 | |
# and then joined to existing AD with: | |
# samba-tool domain join <params> | |
# After this /usr/local/etc/smb4.conf is edited and restarted with /usr/local/etc/rc.d/samba_server restart |
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
from OpenGL import GL | |
from PyQt5 import QtWidgets, QtCore, QtGui, QtOpenGL | |
from OpenGL.GL.ARB.texture_rg import GL_R32F | |
import numpy as np | |
import ctypes | |
import time | |
w, h = 400, 400 | |
class TestWidget(QtOpenGL.QGLWidget): |
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
package main | |
import "fmt" | |
import "golang.org/x/sys/unix" | |
import "net" | |
import "log" | |
import "encoding/binary" | |
import "flag" | |
// CANMsg almacena un mensaje de la red CAN |