Skip to content

Instantly share code, notes, and snippets.

@johanparin
johanparin / draw-circle.clj
Created February 11, 2025 17:07
Draw a circle
(ns circle.core
(:gen-class)
(:import (javax.swing JFrame JLabel)))
(defn draw-circle [g x y r]
(let [d (* r 2)]
(.setColor g java.awt.Color/BLACK)
(.fillOval g (- x r) (- y r) d d)))
(defn swing-demo
median_blurred = cv2.medianBlur(image, 5)
@T1z3n
T1z3n / main.ccp
Created February 11, 2025 17:07
14. Fever | Codedex
#include <iostream>
int main() {
double grade;
std::cout << "Let's Measure if you have a Fever in US Unit\n";
std::cout << "How Bad is it (°F)?:";
std::cin >> grade;
if (grade > 100) {
# pip install vedastro
# pip install pandas
# pip install geopy
# pip install pytz
# pip install timezonefinder
# pip install pprint
from pprint import pprint
import pandas as pd
@yug27kk
yug27kk / index.html
Created February 11, 2025 17:06
Pure CSS Valentine's Day Card
<div class="happy-valentines">
<div class="valentines-day-card">
<div class="clouds"></div>
<div class="hearts">
<div class="heartOne">
<div class="left-side"></div>
<div class="right-side"></div>
</div>
<div class="heartTwo">
<div class="left-side"></div>
objc[9671]: Class _TtC7Logging4Lock is implemented in both /Users/vivekpattanaik-local/Library/Developer/Xcode/DerivedData/Realtor-cctoddhwqbbuabekqqcauvwiakvv/Build/Products/Production-iphonesimulator/TopHap.framework/TopHap (0x10a9ee940) and /Users/vivekpattanaik-local/Library/Developer/CoreSimulator/Devices/20D64051-CCB7-4314-B263-C468BF4BCA9F/data/Containers/Bundle/Application/B6D35FD3-5568-4705-897D-A16F553897A5/Realtor.com.app/Realtor.com (0x105b05440). One of the two will be used. Which one is undefined.
objc[9671]: Class _TtC7Logging13ReadWriteLock is implemented in both /Users/vivekpattanaik-local/Library/Developer/Xcode/DerivedData/Realtor-cctoddhwqbbuabekqqcauvwiakvv/Build/Products/Production-iphonesimulator/TopHap.framework/TopHap (0x10a9ee9e0) and /Users/vivekpattanaik-local/Library/Developer/CoreSimulator/Devices/20D64051-CCB7-4314-B263-C468BF4BCA9F/data/Containers/Bundle/Application/B6D35FD3-5568-4705-897D-A16F553897A5/Realtor.com.app/Realtor.com (0x105b054e0). One of the two will be used. Whic
@Schoolads
Schoolads / gist:c2efce48fdd7579b5f662c368bb0c7e9
Created February 11, 2025 17:06
School of Nursing, Gwagwalada 2025/2026 {O8125777035} Admission Form Is STILL ON SALE.. Call DR.MRS ALICE OGUNSOLA on {O8125777035}.The Management of the school hereby inform the general public of the sales of the general Nursing Admission form into the School of Nursing, Also midwifery, post-basic midwifery form, post-basic nursing form and int…
School of Nursing, Gwagwalada 2025/2026 {O8125777035} Admission Form Is STILL ON SALE.. Call DR.MRS ALICE OGUNSOLA on {O8125777035}.The Management of the school hereby inform the general public of the sales of the general Nursing Admission form into the School of Nursing, Also midwifery, post-basic midwifery form, post-basic nursing form and internship form are still on sale for more information on purchase of the form and admission assistance call Admin Officer{O8125777035}
@T1z3n
T1z3n / main.ccp
Created February 11, 2025 17:06
13. Coin Flip | Codedex
// Paste code here 💖
#include <iostream>
#include <cstdlib>
int main() {
srand(time(NULL));
int num = std::rand() % 2; // Generates a random number that's either 0 or 1
if (num > 0.5) {
@T1z3n
T1z3n / main.ccp
Created February 11, 2025 17:05
12. Cat Years | Codedex
#include <iostream>
int main() {
int HumanAge;
int CatAge;
std::cout <<"meow~, here's an another Cat-Human-Age-Calc you Cat, nya\n";
std::cout <<"Enter the Age of you Cat:";
std::cin >> CatAge;
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 11, 2025 17:05
signalbackup-tools v2025.2.11 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\signalbackup-tools\signalbackup-tools.nupkg" checksum="810783F4C642656A4066153F0D50CBA9" />
<file path="C:\ProgramData\chocolatey\lib\signalbackup-tools\signalbackup-tools.nuspec" checksum="25BA0CCEC113C6E4D22D59FEF868EA5E" />
<file path="C:\ProgramData\chocolatey\lib\signalbackup-tools\tools\LICENSE.txt" checksum="1A96A235D55E42F9EB39E3304D6E3413" />
<file path="C:\ProgramData\chocolatey\lib\signalbackup-tools\tools\signalbackup-tools.exe" checksum="05693843877DFCD5D209739CD90E03CC" />
<file path="C:\ProgramData\chocolatey\lib\signalbackup-tools\tools\VERIFICATION.txt" checksum="F180E493495FCB1373265EBF2A3A5F54" />
</files>
</fileSnapshot>