Skip to content

Instantly share code, notes, and snippets.

View mrdaemon's full-sized avatar

Alexandre Gauthier mrdaemon

View GitHub Profile
[root@cerberus ~]# ./megasasctl
a0 PERC 5/i Integrated encl:1 ldrv:1 batt:good
a0d0 680GiB RAID 5 1x6 optimal
a0e8s0 136GiB a0d0 online
a0e8s1 136GiB a0d0 online
a0e8s2 136GiB a0d0 online
a0e8s3 136GiB a0d0 online
a0e8s4 136GiB a0d0 online
a0e8s5 136GiB a0d0 online
7. Selection and drop registers "*, "+ and "~
Use these registers for storing and retrieving the selected text for the GUI.
See |quotestar| and |quoteplus|. When the clipboard is not available or not
working, the unnamed register is used instead. For Unix systems the clipboard
is only available when the |+xterm_clipboard| feature is present. {not in Vi}
Note that there is only a distinction between "* and "+ for X11 systems. For
an explanation of the difference, see |x11-selection|. Under MS-Windows, use
of "* and "+ is actually synonymous and refers to the |gui-clipboard|.
#!/usr/bin/env bash
BUILDROOT="/media/store/buildroot/zandronum-build"
SOURCETREE="/home/supernaut/code/hg/zandronum"
BUILDTREE="$BUILDROOT/buildserver"
CMAKEOPTS="-DCMAKE_BUILD_TYPE=Release -DSERVERONLY=ON"
HG=$(which hg)
if [[ $? -ne 0 ]] ; then
echo "Could not find mercurial in \$PATH, aborting."
Preparing source tree...
pulling from https://bitbucket.org/Torr_Samaho/zandronum
searching for changes
aucun changement trouvé
1184 files updated, 0 files merged, 103 files removed, 0 files unresolved
Latest stable version is: a3663b0061d5 ZA_2.1.2
Checking out tag...
1079 files updated, 0 files merged, 208 files removed, 0 files unresolved
Removing old build tree in /media/store/buildroot/zandronum-build/buildserver
Creating buildtree...
Preparing source tree...
pulling from https://bitbucket.org/Torr_Samaho/zandronum
searching for changes
aucun changement trouvé
1184 files updated, 0 files merged, 0 files removed, 0 files unresolved
Latest stable version is: a3663b0061d5 ZA_2.1.2
Checking out tag...
1079 files updated, 0 files merged, 208 files removed, 0 files unresolved
Removing old build tree in /media/store/buildroot/zandronum-build/buildserver
Creating buildtree...
use std::thread;
use std::sync::Mutex;
use std::sync::Arc;
struct Table {
forks: Vec<Mutex<()>>,
}
struct Philosopher {
name: String,
-- adduser-proc.sql
-- Alexandre Gauthier 2015-2016
-- Stored Procedure to create new virtual users in the mail server database.
-- Serves as a better interface than inserting rows and hoping to hash the
-- password right.
use mailserver;
DROP PROCEDURE IF EXISTS AddMailUser;
package ProxyDav;
use strict;
use ModPerl::Util ();
use Apache2::RequestRec ();
use APR::Table ();
use URI;
use Apache2::Const -compile => qw(OK);
sub handler {
my $request = shift;
/tmp/deps
|-- bower.json
|-- libs
| |-- JS-Interpreter
| |-- MIDI.js
| |-- Matter
| |-- Recorderjs
| |-- artTemplate
| |-- fabric.js
| |-- fastclick
server {
# Default server, listen on port 80 ipv4 and ipv6
# No SSL for now, it's terminated at the proxy level anyways.
listen 80 default_server;
listen [::]:80 default_server;
root /var/www;
index index.html index.htm;