Skip to content

Instantly share code, notes, and snippets.

View andboson's full-sized avatar
🌴

Andrii Bosonchenko andboson

🌴
  • Cherkasy, UKR \ Alicante, SP
View GitHub Profile
http://files.dune-hd.com/partners/sdk/sdk.txt
http://files.dune-hd.com/sdk/plugins.txt
http://files.dune-hd.com/partners/sdk/html_apps.txt
http://files3.dune-hd.com/sdk/dune_simple_iptv.txt
http://files.dune-hd.com/partners/sdk/dune_devel_info.txt
http://www.inio.tv/download/
http://www.samsungdforum.com/Search/UnifiedSearchAll
http://forum.ixbt.com/topic.cgi?id=62:16777
http://samygo.tv/
https://github.com/moukail/QuranOnTv/blob/master/app/controller/player.controller.js
http://pastebin.com/SwYLvd5q
http://www.samsungdforum.com/SamsungDForum/ForumView/63c64adb0aeb53f8?forumID=1b44f3cf219c0f0f
http://www.samsungdforum.com/SamsungDForum/ForumView/63c64adb0aeb53f8?forumID=9fbe0b66a646f72f
http://www.samsungdforum.com/Guide/
http://www.samsungdforum.com/SamsungDForum/ForumView/f0cd8ea6961d50c3?forumID=ec9f3562a5ebd82a
http://cssguidelin.es/
@andboson
andboson / docker works
Last active August 29, 2015 14:13
docker create image manual
sudo docker run -t -i ubuntu:12.04
>do something
Ctrl-p + Ctrl-q
sudo docker ps -a
sudo docker commit 123432423 andboson/ubuntu:12.04.dev
sudo docker images
sudo docker run -t -i andboson/ubuntu:12.04.dev /bin/bash
>do something
Ctrl-p + Ctrl-q
sudo docker ps -a
$file = file($usersFile->getPathname());
$header = str_getcsv(array_shift($file));
$usersArray = array_map(function ($line) use ($header) {
$row = str_getcsv($line);
return (object)array_combine($header, $row);
}, $file);
@andboson
andboson / xhprof
Created February 3, 2015 15:38
laravel xhprof snip wget http://pecl.php.net/get/xhprof-0.9.4.tgz tar xvf xhprof-0.9.4.tgz php -S localhost:9999
define("XHPROF_ROOT", '/var/www/xhprof-0.9.4');
App::before(function(){
xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
});
App::after(function(){
require_once (XHPROF_ROOT . '/xhprof_lib/utils/xhprof_lib.php');
require_once (XHPROF_ROOT . '/xhprof_lib/utils/xhprof_runs.php');
siege -c15 -r2 'http://localhost:8000/api/v1/user_channel.get_sale_location POST {"session_id":"8888888888888", "channel":"MM", "sale_location_id":"shop"}'
@andboson
andboson / .zshrc
Last active August 8, 2019 09:00
GOPATH
export GOPATH=`pwd`
export PATH="$PATH:$GOPATH/bin"
echo -e "\033[0;32m CURRENT GOPATH IS: $GOPATH \e[0m"
alias rp='source ~/.zshrc'
@andboson
andboson / main.go
Created May 5, 2015 15:10
Beego different configs
............
//another config placed in conf/prod/app.conf
func Init() { //old init()
//something like init database
}
func main() {
if beego.RunMode == "dev" {
'{"url":"/lg-active3D-smart-tv"}'