What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-29 01:03:01
ubuntu spotify
#On ubuntu can just type following command: snap install spotify #if that not works you can also try to install the debian package #you will need for this 'curl' so install that first sudo apt install curl #after installing curl or you already have instal... Add solution -
Other 2021-08-28 00:42:02
shimmer effect android kotlin 2020
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" andro... Add solution -
Other 2021-08-27 23:03:02
2. Write a C program to check whether a triangle is equilateral, isosceles or scalene triangle.
#include<stdio.h> int main(){ int side1, side2, side3; printf("Enter sides of triangle:"); scanf("%d%d%d",&side1,&side2,&side3); if(side1 == side2 && side2 =... Add solution -
Other 2021-08-27 21:57:02
pixelart pygame
# Simple pygame project for pixelart import pygame screen = pygame.display.set_mode((1280, 720)) pixelart_surface = pygame.Surface((512, 288)) running = True while running: pixelart_surface.fill((0, 0, 0)) for event in pygame.event.get(): if eve... Add solution -
CSS 2021-08-27 15:40:02
how to zoom out picture from css
/*Zoom on hover*/ <style> .zoom { padding: 50px; background-color: green; transition: transform .2s; /* Animation */ width: 200px; height: 200px; margin: 0 auto; } .zoom:hover { transform: scale(1.5); /* (150% zoom)*/ } </style>... Add solution -
Shell/Bash 2021-08-27 14:55:01
install spotify ubuntu
#On ubuntu can just type following command: snap install spotify #if that not works you can also try to install the debian package #you will need for this 'curl' so install that first sudo apt install curl #after installing curl or you already have instal... Add solution -
Python 2021-08-27 10:20:02
python how to make a png
import png s = ['110010010011', '101011010100', '110010110101', '100010010011'] s = [[int(c) for c in row] for row in s] w = png.Writer(len(s[0]), len(s), greyscale=True, bitdepth=1) f = open('png.png', 'wb') w.write(f, s) f.close() # htt... Add solution -
-
Javascript 2021-08-26 20:43:02
dragon curve
// p5.js let sys = ["|", "X"], scale = 1 function setup() { createCanvas(500, 500) } function keyPressed() { sys = sys.map(c => ({X:"X+Y|+", Y:"-|X-Y"}[c] || c).split("")).flat() scale *= 0.75 }... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5