Skip to content

Instantly share code, notes, and snippets.

Richard Riley rileyrg

Block or report user

Report or block rileyrg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f07e5184c868e77c7019797b50e520ba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
View gist:a2078f8dc78345f1a6bc9e2abfb0f391
rgr (192.168.2.111)@[apt]$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010
Executing: /tmp/apt-key-gpghome.e23iQt5hFU/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010
key 7638D0442B90D010:
10 signatures not checked due to missing keys
gpg: key 7638D0442B90D010: public key "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
W: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file has an unsupported filetype.
rgr (192.168.2.111)@[apt]$
View gist:10eb30aec38d34d558c8b47153ecf960
rgr (192.168.2.111)@[apt]$ sudo apt update
Get:1 https://cdn-aws.deb.debian.org/debian buster InRelease [136 kB]
Err:1 https://cdn-aws.deb.debian.org/debian buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010
Reading package lists... Done
W: https://deb.debian.org/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: https://cdn-aws.deb.debian.org/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010
E: The repository 'https://deb.debian.org/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
View gist:8357f94f92f0d9ce9395f5684ccbd72c
The following packages have unmet dependencies:
gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-base:i386 (!= 1.10.4-1) but 1.12.3-1 is to be installed
gstreamer1.0-plugins-base:i386 : Breaks: gstreamer1.0-plugins-base (!= 1.12.3-1) but 1.10.4-1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
View PersonController.php
/**
* @Route("/people/{id}/movies",name="personmovies")
**/
public function personMoviesAction(Person $person, Request $request)
View macros.html.twig
{% macro isUserDisplay(template,value,errorTemplate) %}
{% import _self as h %}
{% if h.isUser() %}
{% if value is defined and value is not null %}
{{ value }}
{% else %}
{% include template %}
{% endif %}
{% else %}
{% include errorTemplate|default(":User:useronly.inform.html.twig") %}
View PersonRepository.php
$queryB = $this->createQueryBuilder("p");
if (!is_null($searchable["num"])) {
$queryB->having("count(p.personMovieRef) > :num")
->setParameter("num",$searchable["num"]);
}
View asynclist.js
$.ajax({
data:filter.serialize(),
type: "GET",
url: postURL,
View macros.html.twig
{% macro sortedClass(pagination,name) %}
{% if pagination.isSorted(name) %}
{% spaceless %}
sorted
{% endspaceless %}
{% endif %}
{% endmacro %}
View User.php
/**
* @var \AppBundle\Entity\Person
*
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Person")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="person_id", referencedColumnName="id")
* })
*/
private $person;
You can’t perform that action at this time.