This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QtDebug> | |
#include <qofono-qt5/qofonomanager.h> | |
#include <qofono-qt5/qofonomodem.h> | |
#include <qofono-qt5/qofononetworkregistration.h> | |
#include <qofono-qt5/qofonosimmanager.h> | |
int main () { | |
QOfonoManager *m_omanager = new QOfonoManager(); | |
m_omanager->getModems(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -a messages=( | |
"Hello, would you like to hear a TCP joke?" | |
"Yes, I'd like to hear a TCP joke." | |
"OK, I'll tell you a TCP joke." \ | |
"OK, I'll hear a TCP joke." \ | |
"Are you ready to hear a TCP joke?" \ | |
"Yes, I am ready to hear a TCP joke." \ | |
"OK, I'm about to send the TCP joke. It will last 10 seconds, it has two characters, it does not have a setting, it ends with a punchline." \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body style="background-color: #333; color: #ccc;"> | |
<div id="news_frame" style="width:0; height:0"></div> | |
<script> | |
function news_frame(element_id, w, h) { | |
if (navigator.language != 'ru') { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bash --version | |
echo "" | |
echo "" | |
declare -A parse_data=( \ | |
['http://user:pass@www.example.com:19741/dir1/dir2/file.php?param=some_value&array[0]="123"¶m2=\`cat /etc/passwd\`#bottom-left']='declare -a parsed='\''([0]="http" [1]="user" [2]="pass" [3]="www.example.com:19741")'\' \ | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -A list=( | |
[glacier-browser]='string(//context[name="MainPage"]/message[source="Browser"]/translation)' | |
[glacier-calc]='string(//context[name="glacier-calc"]/message[source="Calculator"]/translation)' | |
[glacier-camera]='string(//context[name="CameraPage"]/message[source="Camera"]/translation)' | |
[glacier-contacts]='string(//context[name="QObject"]/message[source="Contacts"]/translation)' | |
[glacier-dialer]='string(//context[name="FirstPage"]/message[source="Dialer"]/translation)' | |
[glacier-filemuncher]='string(//context[name="QObject"]/message[source="Files browser"]/translation)' | |
[glacier-gallery]='string(//context[name="QObject"]/message[source="Gallery"]/translation)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE stylesheet [ | |
<!ENTITY % w3centities-f PUBLIC "-//W3C//ENTITIES Combined Set//EN//XML" | |
"http://www.w3.org/2003/entities/2007/w3centities-f.ent"> | |
%w3centities-f; | |
]> | |
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="text" encoding="UTF-8" /> | |