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
**** List of PLAYBACK Hardware Devices **** | |
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic Digital] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 |
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
#cat /etc/modprobe.d/alsa.conf | |
# Alsa kernel modules' configuration file. | |
# ALSA portion | |
alias char-major-116 snd | |
# OSS/Free portion | |
alias char-major-14 soundcore | |
## | |
## IMPORTANT: |
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
-- Standard awesome library | |
require("volume") | |
local gears = require("gears") | |
local awful = require("awful") | |
awful.rules = require("awful.rules") | |
require("awful.autofocus") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
-- Theme handling library | |
local beautiful = require("beautiful") |
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
public function dbSelectMenuItems($page, &$cPage, $limIndex) { | |
$conn = $this->connect->getConn(); | |
$countStmt = $conn->prepare("SELECT COUNT(id) FROM articles"); | |
$countStmt->execute(); | |
while ($countIndex = $countStmt->fetch(PDO::FETCH_NUM)) { | |
$arrID[] = $countIndex['0']; | |
} |
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
@app.route('/adminboard/adminboard_main/') | |
@login_required | |
def show_dashboard_main(): | |
per_page = 9 | |
articles_loop = [] | |
form = dashboard_itemsform.DashboardItemsForm() | |
servername = socket.gethostname() | |
approot = app.root_path | |
users = g.user | |
instance = SysInfo() |
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
namespace MS\Core; | |
use PDO; | |
use PharData; | |
class Querator { | |
public $connect; | |
public function __construct() { | |
$this->connect = new \MS\Core\ConfigModel(); |
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