Skip to content

Instantly share code, notes, and snippets.

philicious

Block or report user

Report or block philicious

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:c8d714c3e2e03a511fc3
<opt><USN-2677-1 description="Several security issues were fixed in Oxide.
Software Description:
- oxide-qt: Web browser engine library for Qt (QML plugin)
Details:
An uninitialized value issue was discovered in ICU. If a user were
tricked in to opening a specially crafted website, an attacker could
potentially exploit this to cause a denial of service. (CVE-2015-1270)
View gist:410bffad93133d6df822
31# ./errata-import.py ubuntu-errata.xml
[+] Connected to http://localhost/rpc/api
[+] Creating inventory from Server:
[+] Retrieving the list of available channels
[+] Including channel: hc-testing-precise
[+] Including channel: hc-testing-trusty
[-] Excluding channel: precise
[+] Including channel: precise-security
[+] Including channel: precise-updates
[-] Excluding channel: trusty
View gist:87e40356291825977f8dbb08bcc8b1fc
procedure TForm1.SessionClick(Sender: TObject);
var
JObj: TJSONObject;
sToken: String;
begin
RESTRequest1.ResetToDefaults;
RESTClient1.ResetToDefaults;
RESTResponse1.ResetToDefaults;
RESTClient1.BaseURL := 'http://dreamfactory.app/api/v2';
View gist:680e785a8f32cb7cb3a52b668f01dfd8
$user = [
'name' => $postData['email'],
'email' => $postData['email'],
'first_name' => $postData['firstname'],
'last_name' => $postData['lastname'],
'password' => $postData['password']
];
$data = [
'resource' => [$user]
View gist:39a2b2317a79f4c01f6747d651fae0d6
{
"extractors": [
{
"title": "Connection ID",
"extractor_type": "regex",
"converters": [
{
"type": "numeric",
"config": {}
}
View gist:9851dc99087fc9289f42beab94f6af6b
gdb) run /usr/sbin/rhnreg_ks --activationkey=1-xenial --serverUrl=http://spacewalk.lan/XMLRPC
Starting program: /usr/bin/python /usr/sbin/rhnreg_ks --activationkey=1-xenial --serverUrl=http://spacewalk.lan/XMLRPC
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00000000004c9b5a in PyEval_EvalFrameEx () at ../Python/ceval.c:2991
2991 ../Python/ceval.c: No such file or directory.
(gdb) bt
#0 0x00000000004c9b5a in PyEval_EvalFrameEx () at ../Python/ceval.c:2991
@philicious
philicious / kate.plugin.zsh
Last active Sep 8, 2018
kubernetes info plugin for zsh
View kate.plugin.zsh
# ~/.oh-my-zsh/custom/plugins/kate/kate.plugin.zsh
function gcloudAccount {
#echo `gcloud config configurations list --filter is_active=true --format='value(name)'|head -n1` 2>/dev/null
# faster one
cat ~/.config/gcloud/active_config
}
function k8sContext {
echo `kubectl config current-context |cut -c 1-15` 2>/dev/null
View keybase.md

Keybase proof

I hereby claim:

  • I am philicious on github.
  • I am philicious (https://keybase.io/philicious) on keybase.
  • I have a public key whose fingerprint is A1BC B8AC 9CAF 5FC2 3BD1 B8BE 1F93 7391 C8AA 712C

To claim this, I am signing this object:

You can’t perform that action at this time.