This file contains hidden or 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
<div class="meny-modals"> | |
<?php | |
$args = array('post_type' => 'meny-modal'); | |
$query = new WP_Query($args); | |
while($query -> have_posts()) : $query -> the_post(); | |
?> | |
<!-- Modal --> | |
<div id="meny-modal-<?php echo(get_the_ID()); ?>" role="dialog" aria-labeledby="<?php the_title(); ?>" class="modal fade" tabindex="-1"> | |
<div class="modal-dialog" role="document"> | |
<div class="modal-content"> |
This file contains hidden or 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
[Unit] | |
Description=Open Sound System v4.x | |
Documentation=man:soundon(1) man:ossinfo(1) | |
Documentation=http://manuals.opensound.com | |
Before=sound.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/sbin/soundon |
This file contains hidden or 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
! ~/.Xmodmap | |
! xmodmap -pke | |
clear Lock | |
! Caps_Lock = 66 | |
keycode 66 XF86Phone | |
! Scroll_Lock = 78 | |
keycode 78 Caps_Lock | |
add Lock |
This file contains hidden or 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
Castbar.CustomTimeText = function(self, duration) | |
if self.casting then | |
self.Time:SetFormattedText("%.1f", self.max - duration) | |
elseif self.channeling then | |
self.Time:SetFormattedText("%.1f", duration) | |
end | |
end |
This file contains hidden or 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
-- Position and size | |
local Castbar = CreateFrame("StatusBar", nil, self) | |
Castbar:SetSize(20, 20) | |
Castbar:SetPoint('TOP') | |
Castbar:SetPoint('LEFT') | |
Castbar:SetPoint('RIGHT') | |
-- Add a background | |
local Background = Castbar:CreateTexture(nil, 'BACKGROUND') | |
Background:SetAllPoints(Castbar) |
This file contains hidden or 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
-- Position and size | |
local Combat = self:CreateTexture(nil, "OVERLAY") | |
Combat:SetSize(16, 16) | |
Combat:SetPoint('TOP', self) | |
-- Register it with oUF | |
self.Combat = Combat |
This file contains hidden or 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
-- Position and size | |
local Assistant = self:CreateTexture(nil, "OVERLAY") | |
Assistant:SetSize(16, 16) | |
Assistant:SetPoint('TOP', self) | |
-- Register it with oUF | |
self.Assistant = Assistant |
NewerOlder