napoleonwils0n / cerberus Goto Github PK
View Code? Open in Web Editor NEWcerberus code library
cerberus code library
Sorry to bother you but the kodi crashed in ubuntu and i tried everything i googled so i was wondering if you can help me in reinstalling kodi in ubuntu.
thank you
steve
Dear: Napoleon
I have a question and I do not understand the Kodi video player behavior.
The problem is that video stops playing after short period of time and almost always t shows the same short clip. The source is not encrypted, it is not pay preview and includes advertising and in some cases it is advertising site. This is regarding almost all Persian (Farsi) sites which some have their own web site.
In Phoenix then to Crusader88 -> International channels -> Iranian Channels, almost all behave the same, or if you install GLWIZ and then select TV channels again it is the same situation.
I have added advancedsettings.xml file and increased buffering time, used VPN and different proxy servers and manipulated Kodi video and system settings but the videos stop after a short while, most of the times clips are the same no matter when you play them.
Interesting, is that Sima Azadi “ www.iranntv.com” that you helped me to make it work in play list loader, works fine 24/7. I am using Kodi 16.1 32 bit, Windows 8.1 Pro 64 bit, Windows 10 64 and 32 bit and Android 5 64 and 32 bit devices, all behave the same. There are two web portals “iranproud.com” and “mellitv.com” they relay these Farsi stations but they charge almost $100 a year something that is free to watch on many satellites around the world and on the web.
Please, shed some light, may be you have a magic as always. Thank you for your precious work.
I wish you best.
Harry
Is there away that you know if ubuntu stalker client works, because when i click on enable for the pvr , it shuts down kodi. Or maybe if i up graded to windows 10 I can go back to using windows with your scripts.
Hi,
while assisting someone getting xmonad to build correctly, they linked me this video of yours about building from stack. Full disclaimer: I didn't watch the whole thing. However, I noticed that you mentioned that some login managers do not read .bashrc
and similar files (as they have no reason to) and are thus not able to reliably find xmonad if it was installed with stack or cabal, as these directories are not in $PATH
by default.
In create a symbolic to /usr/bin/xmonad you mentioned that this can be fixed by simply symlinking the file to a place that the login manager will definitely find. Would you perhaps be interested in updating INSTALL.md, more specifically, the Make XMonad your window manager section with this information? I would imagine it could save a lot of users some headaches
Hello NapoleonWils0n,
Thanks for sharing this repo of yours. I thought making an issue here rather than in Youtube to make things neat. My /nix folder is already populated like so:
❯ tree -L 1 /nix
/nix
├── store
└── var
So im thinking the single user install in not applicable.
I saved my user apps in a text file for later reference:
❯ nix-env -q
bash-5.2-p15
bash-completion-2.11
bat-0.22.1
distrobox-1.4.2.1
file-5.44
geany-1.38
git-2.39.1
gitkraken-9.1.0
kitty-0.27.1
kitty-themes-unstable-2022-08-11
neovim-0.8.3
nerdfonts-2.3.3
nix-index-0.1.4
python3.10-black-22.12.0
python3.10-pip-22.3.1
shellcheck-0.9.0
starship-1.12.0
taskwarrior-2.6.2
thonny-4.0.2
tree-2.0.4
vimplugin-vim-shellcheck-2019-07-25
vscode-1.75.1
`#my configuration.nix entry for apps
#Define a user account. Don't forget to set a password with ‘passwd’.
users.users.eribertto = {
isNormalUser = true;
description = "eribertto";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
# thunderbird
];
};
#Allow unfree packages
nixpkgs.config.allowUnfree = true;
#List packages installed in system profile. To search, run:
#$ nix search wget
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
geany
neofetch
aria
python3Full
python310Packages.ipython
ranger
ripgrep
notepadqq
#tor-browser-bundle-bin
#wpsoffice
tty-clock
youtube-dl
okular
mpv
vlc
kitty
kitty-themes
terminator
nerdfonts
starship
htop
meld
#etcher is electron app stopping the installation
vivaldi
qbittorrent
whatsapp-for-linux
gnome.gnome-tweaks
#vivaldi-ffmpeg-codecs
#thonny
git
#nix-bash-completions
`
I get it I can uninstall my userland apps but not in the main config.nix file bcoz i created another user there. I'm thinking to use that secondary user to try out this home-manager thing til i get the hang of it.
Dear: Napoléon
I am trying to record an Interview from CNN (James Woolsey and Zakaria 13/11/2016). The only way I am able to see 9 seconds pieces of this video is with Simple Client PVR. I get 91 unknown channels, when I click on each channel I get about 9 seconds video, when I push Y key and select record, the CMD shell windows opens momentarily and closes then I get the OK button to finish recording pop up. But nothing gets recorded. I thought if I record 91 segments then I can use Premiere Pro to put them together.
Here is the URL. “http://cnnios-f.akamaihd.net/i/cnn/big/staging/tv/2016/11/13/exp-gps-1113-trump-foreign-policy-panel.cnn_941428_ios_,150,440,650,840,1240,.mp4.csmil/segment1_3_av.ts”
Would you please, help me to do this, using Kodi 16.1 and Simple Client PVR. Thank you in advance for the help.
Best wishes
Harry
I added a couple of steps:
** solarized colour
for this and other colorschemes go to [[https://st.suckless.org/patches/]]
I extracted this code out of [[https://st.suckless.org/patches/solarized/st-solarized-dark-20180411-041912a.diff]]
replace the lines in config.def.h
#+BEGIN_SRC conf
/* Terminal colors (16 first used in escape sequence) */
................................................
in the documentation "add" implied to me that it should be added at the end of x.c rather than changing it as you say in the video:
edit x.c and change
#+begin_src sh
int
xstartdraw(void)
{
return IS_SET(MODE_VISIBLE);
}
#+end_src
to
#+begin_src sh
int
xstartdraw(void)
{
if (IS_SET(MODE_VISIBLE))
XCopyArea(xw.dpy, xw.win, xw.buf, dc.gc, 0, 0, win.w, win.h, 0, 0);
return IS_SET(MODE_VISIBLE);
}
#+end_src
.........................................
I assume from your notes that st.desktop is created and left to remain in the source code directory to be later diffed rather than simply created and moved to .local/share/applications/
** Desktop entry
create the desktop entry file st.desktop
#+begin_src sh
[Desktop Entry]
Type=Application
Name=st
Comment=simple-terminal emulator for X
Icon=utilities-terminal
Exec=st
Categories=System;TerminalEmulator
#+end_src
and copy it to ~/.local/share/applications
#+begin_src sh
cp st.desktop ~/.local/share/applications
#+end_src
........................................
the diff file isn't created until the changes are committed. so:
** create diff patch
commit the changes to the patch branch
#+begin_src sh
git add *
#+end_src
#+begin_src sh
git commit -m "customized colors and added w3m non-flicker patch"
#+end_src
Why don't you use cowsay? It can be given a string and saves you the hassle of having a bunch of echo
's. Also, printf has been advised over echo (but that's just my OCD :P).
there's gdisk and you can set boot flag with it (x->a iirc), but that's a no-op for UEFI boot.
mostly you don't need you partprobe yourself, or it won't work when you need it.
doubt if ext2 is still considered a good choice even for /boot.
pacstrap is not limited for base and base-devel, so you can add "dosfstools" and "efibootmgr" and others.
the grub package is simply "grub" in arch, although the "provides" in its PKGBUILD make your command work.
you don't (need to) start/enable dhcpcd@interface_name.service if you have done it to dhcpcd.service; probably you shouldn't do both, not to mention running dhcpcd
manually again.
setting the device "up" with ip manually is often unnecessary because the network agent should normally do the job.
hwclock --systohc --utc
set your cmos clock to system utc time, it's not relevant with timezone set.
you probably shouldn't specified -g so a user group with the same name of the username will be created and used; storage and power as supplementary groups is no longer necessary/recommended with systemd.
% is for a group in /etc/sudoer.
you should probably umount /mnt/boot /mnt/home before /mnt, or just umount -R /mnt.
it's ttf-dejavu.
/etc/skel/.xinitrc does not exist anymore, /etc/X11/xinit/xinitrc can be a REFERENCE for .xinitrc.
not sure about the point of setting the network devices down and up.
nm-applet could have been autostarted already with its .desktop file.
xfce4-terminal is in xfce4 group. pacman -S --needed could be nice to use.
Try your best to avoid -Sy.
So I was linked a video of yours (and subsequently this GitHub) and I'm basically trying to create a setup on an Ubuntu Server where I have two devices, a Virtual Mic, and a Virtual Headphone, for use (in this specific case) Discord, I followed the steps twice (VirtualHP
, and VirtualMic
) however I get into a weird situation where I have HP and Mic as Inputs, but only Null Output
as an output device, that is linked to both Mic and HP, commands I used to do this:
pactl load-module module-null-sink sink_name=HPSource
pactl load-module module-virtual-source source_name=VirtualHP master=HPSource.monitor
pactl load-module module-null-sink sink_name=MicSource
pactl load-module module-virtual-source source_name=VirtualMic master=MicSource.monitor
any help to figure this out would be appreciated.
Do you know how to record urls with X-Forward-For in them?
I am trying to record streams from IPTVxtra UKxtra addon.
Here is an example:
http://c001.p103.edgesuite.net/i/c001/bbc1hd_1@97412/master.m3u8|X-Forwarded-For=85.5.87.218
from
http://srv1.iptvxtra.net/xbmc/xml/uk-streams.xml
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.