Skip to content

Instantly share code, notes, and snippets.

View eriknelson's full-sized avatar
🤘

Erik Nelson eriknelson

🤘
View GitHub Profile
@eriknelson
eriknelson / convert_to_2_2.patch
Last active January 21, 2019 17:49
SFML 2.3 + wxWidgets 3.0 Integration Demo
diff --git a/main.cpp b/main.cpp
index 6894ff3..935137f 100644
--- a/main.cpp
+++ b/main.cpp
@@ -60,6 +60,16 @@ struct wxSfmlCanvas : public wxControl, public sf::RenderWindow
#endif
}
+ void setwxWindowSize(const wxSize& size)
+ {
@eriknelson
eriknelson / PKGBUILD
Created August 3, 2015 21:23
gst-plugin-libde265-0.1.12-1 PKGBUILD
# Maintainer: maz-1 < loveayawaka at gmail dot com>
pkgname=gst-plugin-libde265
pkgver=0.1.12
pkgrel=1
pkgdesc="Libde265 plugin (an open h.265 video codec implementation) for gstreamer 1.x."
arch=('i686' 'x86_64')
url="https://github.com/strukturag/gstreamer-libde265"
license=('LGPL3')
depends=("libde265" "gstreamer" "gst-plugins-bad" "gst-plugins-base" "gst-plugins-good" "zlib" "bzip2")
@eriknelson
eriknelson / Clang error
Created August 4, 2015 23:50
Albert build issue
# make
[ 2%] Automatic moc for target albert
[ 2%] Built target albert_automoc
[ 5%] Building CXX object CMakeFiles/albert.dir/src/ui/mainwidget/history.cpp.o
/home/nelsk/dev/albert/src/ui/mainwidget/history.cpp:46:5: error: invalid operands to binary expression ('QDataStream' and 'QStringList')
in >> _data;
~~ ^ ~~~~~
/usr/include/qt/QtCore/qchar.h:585:28: note: candidate function not viable: no known conversion from 'QStringList' to 'QChar &' for 2nd argument
Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QChar &);
^
diff --git a/fusor-ember-cli/app/controllers/openstack/overcloud.js b/fusor-ember-cli/app/controllers/openstack/overcloud.js
index 271bab8..3156b29 100644
--- a/fusor-ember-cli/app/controllers/openstack/overcloud.js
+++ b/fusor-ember-cli/app/controllers/openstack/overcloud.js
@@ -1,9 +1,13 @@
import Ember from 'ember';
+import EmberValidations, { validator } from 'ember-validations'
import DeploymentControllerMixin from "../../mixins/deployment-controller-mixin";
import NeedsDeploymentMixin from "../../mixins/needs-deployment-mixin";
#!/bin/bash
ssh root@sat61dev.example.com 'katello-service restart'
ssh-keygen -l -E md5 -f /path/to/priv_keyfile
# Newer versions of ssh-keygen seem to default to sha256 instead of md5
# github lists md5, so it needs to be explicitly requested
alias chroano='env GTK_DATA_PREFIX="" chromium --user-data-dir=/home/nelsk/.chro/anolade'
alias chroarthas='env GTK_DATA_PREFIX="" chromium --proxy-server=socks://localhost:1337 --user-data-dir=/home/nelsk/.chro/arthas'
alias chrobaldur='env GTK_DATA_PREFIX="" chromium --proxy-server=socks://localhost:1338 --user-data-dir=/home/nelsk/.chro/baldur'
diff --git a/fusor-ember-cli/app/controllers/review/installation.js b/fusor-ember-cli/app/controllers/review/installation.js
index 83fe60f..150d8be 100644
--- a/fusor-ember-cli/app/controllers/review/installation.js
+++ b/fusor-ember-cli/app/controllers/review/installation.js
@@ -40,12 +40,13 @@ export default Ember.Controller.extend(NeedsDeploymentMixin, OpenshiftMixin, {
'isMissingSubscriptions',
'isDisconnected',
'hasNoManifestFile',
+ 'showValidationErrors',
function()
./templates/abandon-deployment-modal.hbs:{{#em-modal configName="bs" id="abandonDeploymentModal" open-if=isAbandonModalOpen close-if=isCloseModal}}
./templates/abandon-deployment-modal.hbs: {{#em-modal-title}}
./templates/abandon-deployment-modal.hbs: {{#em-modal-toggler class="close"}}
./templates/abandon-deployment-modal.hbs: {{/em-modal-toggler}}
./templates/abandon-deployment-modal.hbs: {{/em-modal-title}}
./templates/abandon-deployment-modal.hbs: {{#em-modal-body}}
./templates/abandon-deployment-modal.hbs: {{/em-modal-body}}
./templates/abandon-deployment-modal.hbs: {{#em-modal-footer}}
./templates/abandon-deployment-modal.hbs: {{#em-modal-toggler class="btn btn-default"}}
./templates/abandon-deployment-modal.hbs: {{/em-modal-toggler}}
{> pch/vm_env/git_devel_env_sat_6.2|master+ <}
# ./prep_checkouts.sh -s
Validating forks...
WARNING: Unstaged changes found in fusor
Do you want to stash your changes and continue? [y/n/q]
y
Stashing changes
Saved working directory and index state WIP on test: db847e8 Merge pull request #819 from jmontleon/fix-hostgroup-tests
HEAD is now at db847e8 Merge pull request #819 from jmontleon/fix-hostgroup-tests
WARNING: fusor is not on its master branch