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
# aplay -l | |
**** 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 | |
# ~/.asoundrc |
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
#menu ul{list-style:none;} | |
#menu ul li{float:left;width:103px;height:43px;border:5px solid green;} | |
#menu ul li #menu1 {border:solid 2px red; height: 100%;box-sizing:border-box;} |
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
.shadow { | |
position: relative; | |
top: 20px; | |
height: 20px; | |
} | |
.shadow:before { | |
position: absolute; | |
content: ''; | |
left: 0; | |
right: 0; |
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
.shadow { | |
position: relative; | |
top: 20px; | |
height: 20px; | |
} | |
.shadow:before { | |
position: absolute; | |
content: ''; | |
left: 0; | |
right: 0; |
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
da: | |
errors: | |
messages: | |
expired: "er udløbet. Vær venlig at bede om en ny" | |
not_found: "ikke fundet" | |
already_confirmed: "er allerede bekræftet" | |
not_locked: "var ikke låst" | |
not_saved: | |
one: "1 fejl medførte at denne %{resource} ikke kunne gemmes:" | |
other: "%{count} fejl medførte at denne %{resource} ikke kunne gemmes:" |
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
$(window).bind('mercury:ready', function() { | |
var content = $('#mercury_iframe').contents().find('#content'); | |
Mercury.saveMethod = content.data('save-method'); | |
Mercury.saveURL = content.data('save-url'); | |
}); |
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
class @Mercury.CustomPageEditor extends @Mercury.PageEditor | |
constructor: -> | |
super | |
save: -> | |
url = @saveUrl ? Mercury.saveURL ? @iframeSrc() | |
data = @serialize() | |
Mercury.log('saving', data) | |
data = jQuery.toJSON(data) unless @options.saveStyle == 'form' | |
method = Mercury.saveMethod || "POST" |
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
--- | |
es-PE: | |
'no': "No" | |
'yes': "Sí" | |
5_biggest_spenders: Los 5 compradores principales | |
a_copy_of_all_mail_will_be_sent_to_the_following_addresses: Una copia de todos los correos será enviada a las siguientes direcciones | |
abbreviation: Abreviatura | |
access_denied: "Acceso denegado" | |
account: Cuenta | |
account_updated: "¡Cuenta actualizada!" |
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
<?php | |
$bodyText = $content['field_body']; // This is incorrect, the structure is different (use var_dump to figure it out) | |
$ptOne = substr($bodyText, 0, 3); // <p> - 0, 1, 2 | |
$ptTwo = substr($bodyText, 3, -4); // text inside wrapper | |
$ptThree = substr($bodyText, -4); // </p> - 0, 1, 2, 3 | |
$newcontent = preg_replace("/<p[^>]*?>/", "", $ptTwo); | |
$newcontent = str_replace("</p>", "<br /><br />", $newcontent); | |
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
local xOffset, yOffset = 300, 100 | |
CombatText_AddMessage = function(message, scrollFunction, r, g, b, displayType, isStaggered) | |
local string, noStringsAvailable = CombatText_GetAvailableString() | |
if noStringsAvailable then | |
return | |
end | |
message = subString(message, msgType) | |
string:SetText(message) |