What do you want to save?
Add Code snippet
New code examples
-
-
Other 2022-02-15 23:05:35
enable mod_headers apache2
#enable directive sudo a2enmod headers && sudo service apache2 restart ls /etc/apache2/mods-enabled/ | grep headers.load #disable directive sudo a2dismod headers && sudo service apache2 restart ls /etc/apache2/mods-enabled/ | grep heade... Add solution -
Html 2022-02-14 08:10:08
do you like grepper
yeaah boi! grepper is the best whoop whoop Add solution -
Shell/Bash 2022-02-14 03:15:02
ubuntu increase swap size
# Create an empty file: dd if=/dev/zero of=/media/fasthdd/swapfile.img bs=1024 count=4M # Bake the swap file: mkswap /media/fasthdd/swapfile.img # Bring up on boot: # Add this line to /etc/fstab /media/fasthdd/swapfile.img swap swap sw 0 0 # Activate: ... Add solution -
Java 2022-02-13 20:50:18
conky cpu temperature
Please see this thread and note the answer by JeanFI. Basically it amounts to needing to review the hardware specification which will tell you the output that relates to the CPU. To add the display to conky once you are aware of the value (using k10temp... Add solution -
Python 2022-02-13 16:10:17
pop function python
my_list = [123, 'Add', 'Grepper', 'Answer'] my_list.pop() -->[123, 'Add', 'Grepper'] #last element is removed my_list = [123, 'Add', 'Grepper', 'Answer'] my_list.pop(0) -->['Add', 'Grepper', 'Answer'] #first element is removed my_list = [123, 'Add... Add solution -
Shell/Bash 2022-02-13 15:15:13
ubuntu restart network manager when ping is low
start on started network-manager stop on runlevel [016] script while true; do if ifconfig eth0 | grep -q "inet addr:"; then # echo "all ok!" else restart network-manager fi sleep 5 done end script Add solution
Best helpers
Ranking is empty