Skip to content

Instantly share code, notes, and snippets.

View shadeslayer's full-sized avatar
👁️‍🗨️

Rohan Garg shadeslayer

👁️‍🗨️
View GitHub Profile
@shadeslayer
shadeslayer / cloudSettings
Last active March 14, 2017 11:12
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-03-14T11:12:42.193Z","extensionVersion":"v2.5.1"}
[
{
"Id": "8a3ba2e719723b08ff4622f7f1d57c3a80cfd727ce9a146d719d224c48056f14",
"Created": "2016-11-30T17:56:35.11715326Z",
"Path": "/var/lib/jenkins/ci-tooling/nci/sourcer.rb",
"Args": [
"uscan"
],
"State": {
"Status": "running",
--- /tmp/test 2016-11-29 22:10:52.969593000 +0000
+++ /tmp/new 2016-11-29 22:14:52.853593000 +0000
@@ -1,8 +1,8 @@
[
{
- "Id": "60ad534d471db44fbb8925afd7bd5e5b005283155e0a8a7a7dd0b28c38466062",
- "Created": "2016-11-29T22:10:40.727567126Z",
- "Path": "/var/lib/jenkins/ci-tooling/dci/imager.rb",
+ "Id": "afefd95ff47f7942df3cf387e9031455cbce294a04202d558695f46b3fd01a6c",
+ "Created": "2016-11-29T22:14:41.817628359Z",
--- /tmp/test 2016-11-29 22:10:52.969593000 +0000
+++ /tmp/new 2016-11-29 22:11:37.713593000 +0000
@@ -1,8 +1,8 @@
[
{
- "Id": "60ad534d471db44fbb8925afd7bd5e5b005283155e0a8a7a7dd0b28c38466062",
- "Created": "2016-11-29T22:10:40.727567126Z",
- "Path": "/var/lib/jenkins/ci-tooling/dci/imager.rb",
+ "Id": "6a42baf19f1d8d7b67aa380806ed332d27502e1a263c306c01a5418d3f374673",
+ "Created": "2016-11-29T22:11:16.240709659Z",
$ ruby ci-tooling/test/test_debian_control.rb
Loaded suite ci-tooling/test/test_debian_control
Started
.......E
========================================================================================================================
Error: test_write(Debian::ControlTest): NoMethodError: undefined method `name' for #<Array:0x00000001c9b6b0>
ci-tooling/test/test_debian_control.rb:91:in `block in test_write'
ci-tooling/test/test_debian_control.rb:91:in `each'
ci-tooling/test/test_debian_control.rb:91:in `find'
ci-tooling/test/test_debian_control.rb:91:in `test_write'
{
"server_ip": "localhost:PORT",
"username": "username",
"password": "password"
}
diff --git a/scene_opengl.cpp b/scene_opengl.cpp
index 8b3be71..f22e2ad 100644
--- a/scene_opengl.cpp
+++ b/scene_opengl.cpp
@@ -464,6 +464,39 @@ static void scheduleVboReInit()
timer->start(250);
}
+static void APIENTRY someCallback(GLenum source, GLenum type, GLuint id,
+ GLenum severity, GLsizei length,
module CI
class BaseImage
def initialize(flavor, series)
@flavor = flavor
@series = series
end
def to_s
"pangea/#{@flavor}:#{@series}"
end
if (KrfbConfig::allowPamAuth()) {
static unsigned char fixedkey[8] = {23,82,107,6,35,78,88,7};
rfbDesKey(fixedkey, DE1);
unsigned char passwd;
unsigned char *encPasswd = (unsigned char*)encryptedPassword.data();
rfbDes(encPasswd, &passwd);
kDebug() << passwd;
}
QProcess *kcheckpass = new QProcess();
kcheckpass->start("/usr/lib/x86_64-linux-gnu/libexec/kcheckpass");
kcheckpass->waitForStarted();
kDebug() << "Started";
kcheckpass->waitForReadyRead();
kDebug() << "Ready to read";
kcheckpass->write(password.data());
kcheckpass->waitForFinished();
int ec = kcheckpass->exitCode();