Custom toolbar for CKEditorType
$builder->add('content', CKEditorType::class, ['config_name' => 'minimal'])

roma★
Today's Document
ojovivo

Origami Around

Kaledo Art
Stranger Things


@theartofmadeline
AnasAbdin

Discoholic 🪩


titsay
he wasn't even looking at me and he found me
d e v o n
sheepfilms
occasionally subtle
noise dept.

TVSTRANGERTHINGS

seen from Singapore

seen from United States
seen from Norway

seen from United States

seen from United States
seen from United States

seen from United States

seen from United Kingdom

seen from United States

seen from Malaysia

seen from Malaysia
seen from United Kingdom

seen from Malaysia

seen from United States

seen from Malaysia
seen from France
seen from Türkiye

seen from United Kingdom

seen from United States
seen from United States
@sethrea-it
Custom toolbar for CKEditorType
$builder->add('content', CKEditorType::class, ['config_name' => 'minimal'])

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Custom template to overwrite default Sonata form
Config
sonata_doctrine_orm_admin: Â Â templates: Â Â Â Â form: [ admin/admin_fields.html.twig ]
Template to extend: @SonataDoctrineORMAdmin/Form/form_admin_fields.html.twig
Light locker / forced lock screen
The root cause is that the user-specific light-locker.desktop file doesn't override the system-wide one. Â So, even if the user configures light-locker to not start at all, it still runs with the default configuration parameters.
Warning: This will disable system-wide default screen locking. Â If you want to enable locking for a specific user, you'll need to edit the Exec= line in the ~/.config/autostart/light-locker.desktop file for each user (or use GUI after reboot). Â Configuring this through "Preferences >> Light Locker Settings" may do this (once the system-wide file is moved out of the way), but I haven't tried this.
Step 1: Disable system-wide startup of light-locker. Â This will allow the per-user .desktop file to be executed instead.
sudo mv /etc/xdg/autostart/light-locker.desktop /etc/xdg/autostart/light-locker.desktop.bak
To re-enable this, you would just rename the file so it no longer has the .bak extension.
Step 2: reboot
Step 3: Edit the user-specific light-locker.desktop file and reboot, or use GUI lightlocker
Open ~/.config/autostart/light-locker.desktop in a text editor.
Edit the line that begins Exec= so it is only Exec=. That is, there is no command specified which means light-locker won't be started.
Mapping Windows key to menu
File: ~/.config/openbox/lubuntu-rc.xml
<keybind key="Super_L"> Â <action name="Execute"> Â Â <command>lxpanelctl menu</command> Â </action> </keybind>
This command should work as well but didn’t for me gconftool-2 --set /apps/metacity/global_keybindings/panel_main_menu --type string "Super_L"
Controlling screen brightness
xbacklight -inc XX xbacklight -dec XX

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Bootstrap media queries
/* =============================================================================  Media queries for different screen sizes  ========================================================================== */ // xs only @media (max-width: $screen-xs-max) {  } // sm and larger @media (min-width: $screen-sm-min) { } // sm only @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {  } // sm and smaller @media (max-width: $screen-sm-max) {  } // md and larger @media (min-width: $screen-md-min) { } // md only @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {  } // md and smaller @media (max-width: $screen-md-max) {  } // lg @media (min-width: $screen-lg-min) {  }
Hightcharts preset colors
Highcharts.getOptions().colors.each(function(color) { var el = new Element('div', { 'styles': { 'display':'inline-block', 'width':'50px', 'height':'50px', 'background':color } }); el.inject($('test')); });
Working on a shared code base
Fixing bugs in our spaghetti code
Pair-programming

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Last commit on Friday 5pm
Friday deployments (...and leaving afterwards)
Typical bug fixing
Transliterating special characters to ASCII (plus test)
echo '<h3>Test UTF8 Conv</h3>'; $utf8_sentence = 'Weiß, Goldmann, Göbel, Weiss, Göthe, Goethe und Götz'; echo '<p>'.$utf8_sentence.'</p>'; setlocale(LC_CTYPE, 'en_GB.utf8'); $trans_sentence = iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $utf8_sentence); echo '<p>'.$trans_sentence.'</p>';
The code refactoring trap

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Doctrine 2.4: Joins between arbitrary entities
Joins between arbitrary entities are now possible in DQL by using the syntax FROM Foo f JOIN Bar b WITH f.id = b.id.
iOS Media Queries for iPhone/iPod vs iPad & Retina vs Non-Retina Devices
/* ---------- iPad Only ---------- */
@media only screen and (device-width: 768px) {
.ipad-only { display: block; }
}
 /* ---------- iPhone/iPod Only ---------- */
@media only screen and (device-width: 320px) {
.iphone-only { display: block; }
}
 /* ---------- Retina Device Only ---------- */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
.retina-only { display: block; }
}
 /* ---------- Non Retina Device Only ---------- */
@media only screen and (-webkit-max-device-pixel-ratio: 1) {
.non-retina-only { display: block; }
}
 /* ---------- Retina iPhone/iPod Only ---------- */
@media only screen and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
.retina-iphone-only { display: block; }
}
 /* ---------- Non Retina iPhone/iPod Only ---------- */
@media only screen and (device-width: 320px) and (-webkit-max-device-pixel-ratio: 1) {
.non-retina-iphone-only { display: block; }
}