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
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |
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
if [[ "$(defaults read com.apple.dock autohide)" -eq "1" ]]; then | |
# Restore Dock | |
defaults write com.apple.dock autohide -bool false && killall Dock | |
defaults delete com.apple.dock autohide-delay && killall Dock | |
defaults write com.apple.dock no-bouncing -bool FALSE && killall Dock | |
exit | |
fi | |
# Hide Dock | |
defaults write com.apple.dock autohide -bool true && killall Dock | |
defaults write com.apple.dock autohide-delay -float 1000 && killall Dock |
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
$(document).ready(function ($) { | |
var client = new WebTorrent(); | |
var timer = null; | |
window.client = client; | |
$('.message').removeClass('show'); | |
function addVideo(uri) { | |
client.add(uri, function (torrent) { | |
var file = torrent.files.find(function (file) { |
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
/* | |
* XCPM power management compatibility table. | |
* | |
* Please note that this table is only a sample and may need to be | |
* adapted to fit your board's ACPI stack. For instance, both scope | |
* and device name may vary (e.g. _SB_.PR00 instead of _PR_.CPU0). | |
* | |
* While the table contains several examples of CPU paths, you should | |
* remove all the ones irrelevant for your board. | |
*/ |
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
source ~/.bash_profile | |
echo $PATH | |
for file in "$@" | |
do | |
cd "$(dirname "$file")" | |
spleeter separate -i "$file" -p spleeter:2stems -o output | |
done | |
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
<?php | |
$api = "https://api.steemit.com"; | |
function GetData( $api, $pdata ) | |
{ | |
$ch = curl_init($api); // steemit api | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($ch, CURLINFO_HEADER_OUT, true); | |
curl_setopt($ch, CURLOPT_POST, true); | |
curl_setopt($ch, CURLOPT_POSTFIELDS, $pdata); //post data |
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
Process: Maschine 2 [2772] | |
Path: /Applications/Native Instruments/*/Maschine 2.app/Contents/MacOS/Maschine 2 | |
Identifier: com.native-instruments.Maschine 2 | |
Version: 2.7.10 [R605] (2.7.10 [R605], Copyright © 2018 Native Instruments GmbH) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Maschine 2 [2772] | |
User ID: 501 | |
Date/Time: 2018-12-07 19:23:22.123 +0100 |
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
Process: Maschine 2 [5177] | |
Path: /Applications/Native Instruments/*/Maschine 2.app/Contents/MacOS/Maschine 2 | |
Identifier: com.native-instruments.Maschine 2 | |
Version: 2.7.10 [R605] (2.7.10 [R605], Copyright © 2018 Native Instruments GmbH) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Maschine 2 [5177] | |
User ID: 501 | |
Date/Time: 2018-12-05 19:20:11.128 +0100 |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/bin/node', | |
1 verbose cli '/Users/daslicht/.node_modules/bin/npm', | |
1 verbose cli 'install' ] | |
2 info using npm@4.1.1 | |
3 info using node@v11.1.0 | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData | |
7 silly install normalizeTree |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Events> | |
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> | |
<System> | |
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" /> | |
<EventID Qualifiers="0">10016</EventID> | |
<Version>0</Version> | |
<Level>2</Level> | |
<Task>0</Task> | |
<Opcode>0</Opcode> |
NewerOlder