This file contains hidden or 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
% LICENSE: Do whatever you want with this code | |
-module(flu_hex). | |
-author('Max Lapshin <[email protected]>'). | |
-export([hex/1, unhex/1]). | |
unhex(Bin) -> | |
unhex(Bin, <<>>). |
This file contains hidden or 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) 2008, Travis Vachon | |
% All rights reserved. | |
% | |
% Redistribution and use in source and binary forms, with or without | |
% modification, are permitted provided that the following conditions are | |
% met: | |
% | |
% * Redistributions of source code must retain the above copyright | |
% notice, this list of conditions and the following disclaimer. | |
% |
This file contains hidden or 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
2017-06-09 00:34:12 +0300 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:56%) 7200 secs | |
2017-06-09 00:34:15 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=7197] [proc=powerd request=TCPKATurnOff inDelta=43242] | |
2017-06-09 00:34:15 +0300 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(3135 ms)] | |
2017-06-09 02:34:12 +0300 Kernel Client Acks Delays to Sleep notifications: [powerd is slow(3142 ms)] [AppleThunderboltNHIType2 driver is slow(msg: WillChangeState to 2)(354 ms)] [AppleAHCIDiskQueueManager driver is slow(msg: SetState to 0)(433 ms)] [RP03 driver is slow(msg: SetState to 0)(1004 ms)] | |
2017-06-09 02:34:12 +0300 Kernel Client Acks Delays to Wake notifications: [SSP3 driver is slow(msg: SetState to 3)(403 ms)] [AirPort_Brcm4360 driver is slow(msg: SetState to 2)(339 ms)] | |
2017-06-09 02:34:16 +0300 Sleep Entering Sleep state due to 'M |
This file contains hidden or 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
-module(ems_debug_reductions). | |
-record(red_state, { | |
pids, | |
messages = [], | |
total_reductions = 0 | |
}). | |
reductions() -> |
This file contains hidden or 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
;!define VERSION "1.5.2" | |
; version is set via command line | |
Name "Flussonic" ; The name of the installation | |
OutFile "..\flussonic-${VERSION}.exe" ; The name of the unistaller file to write | |
InstallDir "C:\Program Files\Flussonic" | |
!verbose 1 | |
!define MUI_MANUALVERBOSE 1 |
This file contains hidden or 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 | |
ERLANG=18.3 | |
SQLITE=amalgamation-3071700 | |
cd /root | |
SSLV=1.0.1o | |
[ -f /usr/bin/gcc ] || (apt-get update && apt-get install -y build-essential) |
This file contains hidden or 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
-module(parallel_auth). | |
-export([request/3]). | |
request(Identity, Extra, Options) -> | |
Pid = self(), | |
proc_lib:spawn(fun() -> | |
Answer = parallel_request(Identity, Extra, Options), | |
Pid ! {answer, Answer} | |
end), |
This file contains hidden or 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
int driver_id = ao_default_driver_id(); | |
ao_sample_format format; | |
bzero(&format, sizeof(format)); | |
format.bits = 16; | |
format.channels = channels; | |
format.rate = sample_rate; | |
format.byte_format = AO_FMT_LITTLE; | |
device = ao_open_live(driver_id, &format, NULL /* no options */); | |
... | |
ao_play(device, (char *)audio_buffer, audio_size*2); |
This file contains hidden or 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
<?php //00e56 | |
// ************************************************************************* | |
// * * | |
// * WHMCS - The Complete Client Management, Billing & Support Solution * | |
// * Copyright (c) WHMCS Ltd. All Rights Reserved, * | |
// * Version: 5.3.6 * | |
// * BuildId: 3 * | |
// * Build Date: 24 Mar 2014 * | |
// * * | |
// ************************************************************************* |
This file contains hidden or 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
[root@localhost CentOS]# pwd | |
/root/MediaServerStudioEssentials2015R6/SDK2015Production16.4.2.1/CentOS | |
[root@localhost CentOS]# ./install_sdk_UMD_CentOS.sh | |
Failed to set locale, defaulting to C | |
Loaded plugins: fastestmirror, langpacks | |
There is no installed groups file. | |
Maybe run: yum groups mark convert (see man yum) | |
base | 3.6 kB 00:00:00 | |
extras | 3.4 kB 00:00:00 | |
updates | 3.4 kB 00:00:00 |