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
/*jslint onevar:true, undef:true, newcap:true, regexp:true, bitwise:true, maxerr:50, indent:4, white:false, nomen:false, plusplus:false */ | |
/*!! | |
* JS Signals <http://millermedeiros.github.com/js-signals/> | |
* Released under the MIT license <http://www.opensource.org/licenses/mit-license.php> | |
* @author Miller Medeiros <http://millermedeiros.com/> | |
* @version 0.5.3 | |
* @build 154 (02/21/2011 08:27 PM) | |
*/ |
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
NO_COLOR=\033[0m | |
OK_COLOR=\033[32;01m | |
ERROR_COLOR=\033[31;01m | |
WARN_COLOR=\033[33;01m | |
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) | |
deps: | |
@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)" | |
@go get -d -v ./... | |
@echo $(DEPS) | xargs -n1 go get -d |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
using namespace std; | |
// ----------------------------------------------------------------------------- | |
// used functions prototype declaration | |
// ----------------------------------------------------------------------------- |
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
#include <iostream> | |
#include <string> | |
#include <cmath> | |
#include <cstdlib> | |
#include <sstream> | |
using namespace std; | |
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
#include <iostream> | |
#include <vector> | |
#include <map> | |
#include <string> | |
#include <memory> | |
#include <functional> | |
using namespace std; | |
// usage of auto as function return type that depends on template params |
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
function clc | |
reset | |
end | |
function fish_prompt | |
echo -e "" | |
echo -e (set_color "white")"┌──["(set_color normal) (set_color "green")(pwd)(set_color normal) (set_color "white")"]"(set_color normal) | |
echo -e (set_color "white")"└─⇾ "(set_color normal) | |
end |
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
#!/usr/bin/env bash | |
# Things to do after install ArchLinux (2012.12.01) | |
pacman --noconfirm -S sudo | |
# Enabled archlinuxfr repo | |
arch=$(uname -m) | |
sudo cp /etc/pacman.conf /etc/pacman.conf.bak | |
echo "" >> /etc/pacman.conf | |
echo "[archlinuxfr]" >> /etc/pacman.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
#!/bin/sh | |
# ============================================================================== | |
# = author :- sameh kamal | |
# = description :- install ilive-plugin with unimrcp server | |
# = preconditions :- runs on ubuntu 14.4.x | |
# ============================================================================== | |
printf "> update ubuntu repositories\n\n" | |
sudo apt-get clean | |
sudo mv /var/lib/apt/lists /tmp |
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
;----------------------------------------------------------------------------------- | |
; 1 - example of simple operations | |
;----------------------------------------------------------------------------------- | |
; arithmatic operations | |
(+ 1 2) | |
(* 2 3) | |
(/ 8 2) | |
(> 4 3) | |
(= 4 6) |
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
#!/bin/sh | |
# ------------------------------------------------------------------------------ | |
# FILE | build-model.sh | |
# AUTHOR | sameh kamal | |
# DESCRIPTION | build a new concatinative model | |
# ------------------------------------------------------------------------------ | |
db_name = $1 # database name | |
dt_dir = $2 # raw data dir | |
ws_dir = "~/tts-workspace" # workspace dir |
OlderNewer