./configure --help
Usage: configure [options]
Options: [defaults in brackets after descriptions]
Help options:
--help print this message
--list-decoders show all available decoders
--list-encoders show all available encoders
--list-hwaccels show all available hardware accelerators
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
shopt -s extglob | |
make clean | |
BUILD_ROOT=$(pwd) | |
CONFIGURE_ROOT=$(pwd)/configure | |
function build_for_platform() { | |
local dir=$1 | |
local os=$2 | |
local arch=$3 |
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
(ns eion.directories.core | |
(:require-macros [cljs.core.async.macros :refer [go]]) | |
(:require [cljs.core.async :refer [put! close! chan <! >!]])) | |
(def path (js/require "path")) | |
(def fs (js/require "fs")) | |
(def concurrency 4) | |
(defn handle-error [e] | |
(.warn js/console e)) |
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
(defproject eion "0.1.0-SNAPSHOT" | |
:description "File manager build on top of electron" | |
:url "https://github.com/YurySolovyov/eion" | |
:license { | |
:name "MIT" | |
:url "https://opensource.org/licenses/MIT" | |
} | |
:dependencies [ |
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
goog.addDependency("base.js", ['goog'], []); | |
goog.addDependency("../cljs/core.js", ['cljs.core'], ['goog.string', 'goog.object', 'goog.math.Integer', 'goog.string.StringBuffer', 'goog.array', 'goog.math.Long']); | |
goog.addDependency("../eion/renderer/core.js", ['eion.renderer.core'], ['cljs.core']); |
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
var f = 'D:/MUSIC/VERY_OLD_STUFF/Alcorus_-_Shine.mp3'; | |
var a = new Audio(); | |
a.src = `media://${f}`; | |
a.play(); |
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
const copier = require('./index'); | |
copier('d:/Projects/streams/', 'd:/foo').then(function(res) { | |
console.log(res); | |
}).catch(function(e) { | |
console.log(e); | |
}); |
#e5e5e6 #c1c1c2 #d6d6d7 #282929 #rgba(126, 127, 129, 0.16) #424243 #d1d1d2 #586dda #6075dc #475fd7
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
"use strict"; | |
var stringifyArray = function(array) { | |
return array.map(String).join(', '); | |
}; | |
module.exports = function(firstArg) { | |
var key; | |
var localArgs; | |
var i; |
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
extern crate winapi; | |
extern crate user32; | |
use self::winapi::windef::HWND; | |
use self::winapi::minwindef::UINT; | |
use self::winapi::minwindef::DWORD; | |
use self::winapi::minwindef::WPARAM; | |
use self::winapi::minwindef::LPARAM; | |
fn register_hotkey_api_call(key_options: u32, key_code: u32) -> bool { |