What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-03 16:50:01
imagettfbox
I wrote a simple function that calculates the *exact* bounding box (single pixel precision). The function returns an associative array with these keys: left, top: coordinates you will pass to imagettftext width, height: dimension of the image y... Add solution -
Other 2021-09-02 13:26:03
mopub test ads
Format Size Ad unit ID Banner 320x50 b195f8dd8ded45fe847ad89ed1d016da Medium Rectangle 300x250 252412d5e9364a05ab77d9396346d73d Interstitial 320x480 24534e1901884e398f1253216226017e Rewarded Ad N/A 920b6145fb1546cf8b5cf2ac34638bb7 Rewarded Playable N/A 15... Add solution -
Javascript 2021-09-01 12:09:02
date of birth validation for 18 years javascript
function isOver18(dateOfBirth) { // find the date 18 years ago const date18YrsAgo = new Date(); date18YrsAgo.setFullYear(date18YrsAgo.getFullYear() - 18); // check if the date of birth is before that date return dateOfBirth <= date18YrsAgo; }... Add solution -
Other 2021-08-31 10:21:03
how to use python on windows
please subscribe my channel - https://bit.ly/2Me2CfB open your favourite browser and and paste this link - https://www.python.org/downloads/ then download python exe from here after that install it and open IDLE and start writing the code Destailed :-... Add solution -
Shell/Bash 2021-08-30 13:45:01
how to open epub file in ubuntu
sudo apt-get install fbreader Add solution -
Shell/Bash 2021-08-30 11:40:02
install vnc linux mint mate
#1. Remove the default Vino server: sudo apt-get -y remove vino #2. Install x11vnc: sudo apt-get -y install x11vnc #3. Create the directory for the password file: sudo mkdir /etc/x11vnc #4. Create the encrypted password file: sudo x11vnc --storepasswd ... Add solution -
Shell/Bash 2021-08-30 07:43:02
install composer on linux
# The following method has been tested on Ubuntu 20.04 # But i think it should work fine with any other distribution # Ensure you're on Desktop, to prevent issues with permissions cd ~/Desktop # Download the installer script php -r "copy('https://g... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5