What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-15 16:36:09
how get started with LWJGL 3
import org.lwjgl.*; import org.lwjgl.glfw.*; import org.lwjgl.opengl.*; import org.lwjgl.system.*; import java.nio.*; import static org.lwjgl.glfw.Callbacks.*; import static org.lwjgl.glfw.GLFW.*; import static org.lwjgl.opengl.GL11.*; import static org... Add solution -
Python 2021-11-15 07:22:18
4 in a rpw pygame code
import pygame import sys import time from pygame.locals import * import numpy as np COLUMNS = 7 ROWS = 6 WINAMOUNT = 4 WINDOWWIDTH = 800 WINDOWHEIGHT = 600 COUNTERDIAMETER = 50 PLAYWIDTH = COLUMNS*(COUNTERDIAMETER+25)+25 PLAYHEIGHT = ROWS*(COUNTERDIAMETE... Add solution -
TypeScript 2021-11-15 01:32:16
install aos angular 10
//install npm install aos --save //inside the angular.json inside of 'build', look for the 'styles' and 'scripts' //inside them add: styles: [... "node_modules/aos/dist/aos.css"] scripts: [... "node_modules/aos/dist/aos.js"] //to add ... Add solution -
Other 2021-11-14 11:18:09
aos animate on scroll
CSS <link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet"> JS <script src="https://unpkg.com/[email protected]/dist/aos.js"></script> INITIALIZE AOS: <script> AOS.init(); </script> Add solution -
PHP 2021-11-13 06:50:15
fetch data from live website curl php
// Initialize Curl $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, "https://coinmarketcap.com/"); // set live website where data from curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE); // default curl_setopt($curl, CURLOPT_SSL_VERIFYPEE... Add solution -
Other 2021-11-11 22:57:13
wordpress required post admin title field
/** ADD Validation for title */ function force_post_title_init() { wp_enqueue_script('jquery'); } function force_post_title() { echo "<script type='text/javascript'>\n"; echo " jQuery('#publish').click(function()... Add solution -
Other 2021-11-11 19:35:18
custom google reviews
<?php $apiKey = "YOUR_API_KEY"; $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); $dataQuery = [ 'url' => 'https://www.yelp.at/biz/teddy-s-red-tacos-los-angeles-2', 'type' =&g... Add solution -
Javascript 2021-11-10 22:50:12
scrollout js angular
//Install via npm $ npm i scroll-out -S //in your component.ts import ScrollOut from 'scroll-out'; @Component(/**/) export class MyComponent implements AfterContentInit, OnDestroy { so: any; constructor(private el: ElementRef) {} ngAfterContentI... Add solution