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
<div class="text-center text-sm-left text-lg-right"> | |
Tollere capacius cingebant librata eodem pugnabant! | |
</div> |
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
<VirtualHost 192.168.1.101:80> | |
UseCanonicalName Off | |
VirtualDocumentRoot "/media/merianos/Large Internal/Web Development Projects/%3/%2.1/%2+" | |
ServerAlias * | |
DirectoryIndex index.php index.html index.htm | |
LogLevel debug | |
ErrorLog /var/log/apache2/vhosts-error.log | |
CustomLog /var/log/apache2/vhosts-access.log combined |
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
# BEGIN W3TC Browser Cache | |
<IfModule mod_mime.c> | |
AddType text/css .css | |
AddType text/x-component .htc | |
AddType application/x-javascript .js | |
AddType application/javascript .js2 | |
AddType text/javascript .js3 | |
AddType text/x-js .js4 | |
AddType text/html .html .htm |
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
const add = (a, b) => { | |
return a + b; | |
}; |
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
1081: { | |
"id": 1081 | |
"name": "Argentina: Primera Division" | |
"category": "Primera Division" | |
"country": "Argentina" | |
"date": 1477414809 | |
"matches": [19] | |
0: { | |
"id": 2235305 | |
"status": "FT" |
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
<a href="#"> | |
<span></span> | |
Do Something | |
</a> |
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
var $checkBoxes = document.querySelectorAll('._1sy'); | |
$checkBoxes.forEach( | |
function ( item ) { | |
var $parent = item.parentElement; | |
var $grandParent = $parent.parentElement; | |
var $grandGrandParent = $grandParent.parentElement; | |
var $grandGrandGrandParent = $grandGrandParent.parentElement; | |
var $grandGrandGrandGrandParent = $grandGrandGrandParent.parentElement; | |
$grandGrandGrandGrandParent.remove(); |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'uninstall', | |
1 verbose cli '-g', | |
1 verbose cli 'webpack' ] | |
2 info using npm@5.0.3 | |
3 info using node@v8.0.0 | |
4 verbose npm-session bcc51cdedb9ff1c1 | |
5 silly install loadCurrentTree |
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
/** | |
* Responsible to modify the fonts list in the font control. | |
*/ | |
function modify_controls( $controls_registry ) { | |
// First we get the fonts setting of the font control | |
$fonts = $controls_registry->get_control( 'font' )->get_settings( 'fonts' ); | |
// Then we append the custom font family in the list of the fonts we retrieved in the previous step | |
$new_fonts = array_merge( [ 'Custom Font Family Name' => 'system' ], $fonts ); | |
// Then we set a new list of fonts as the fonts setting of the font control | |
$controls_registry->get_control( 'font' )->set_settings( 'fonts', $new_fonts ); |
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
// After the Elementor update to 1.7.10, the fonts list has change in the | |
// control settings from `fonts` to `options`. | |
// | |
// Thus for version after 1.7.10 we should use the following code for retrive | |
// and set the new font families. | |
$fonts = $controls_registry->get_control( 'font' )->get_settings( 'options' ); | |
// Register here the custom font families |