Skip to content

Instantly share code, notes, and snippets.

# HOMEWORK: Functions
# Read carefully until the end before you start solving the exercises.
# Basic Function
# Define a basic function that only prints Hello. Create the definition using def and the call that executes it.
def print_hello():
print('Hello')
print_hello()
@IceSandwich
IceSandwich / main.cl
Created February 7, 2025 03:32
opencl_simpledemo
__kernel void vadd(__global const uint* A, __global const uint* B, __global uint* C) {
size_t idx = get_global_id(0);
C[idx] = A[idx] + B[idx];
}
@emidaniel
emidaniel / gitbook060225.csv
Created February 7, 2025 03:31
Idiot special
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
https://aap-ledgrere-info.gitbook.io/us
https://aauth---g-crypto--s-app.gitbook.io/us
https://aauth---kcoquiinin.gitbook.io/us
https://aauth--home-kucoien.gitbook.io/us
https://aauth-help--trezzrsute.gitbook.io/us
https://aauth-ledgerdesktop.gitbook.io/us
https://aauth-liveleedgerstart.gitbook.io/us
https://aauth-sso-ku-kcoquiin--web.gitbook.io/us
https://aauth-stairt-trrzor.gitbook.io/us
https://aauth-start--trizourr.gitbook.io/us
@gevargas
gevargas / graphs.ipynb
Created February 7, 2025 03:30
graphs.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@felixlubinqa
felixlubinqa / Lesson_7_HW.txt
Created February 7, 2025 03:30
Lesson 7 HW
# Homework: Loops
# 🔥Read carefully until the end before you start solving the exercises🔥
# Practice the Basics 💪🏻
# You can uncomment or type the necessary code on each task
# ---------------------------------------------------------------------
# Task 1. Create a basic for loop

Keybase proof

I hereby claim:

  • I am swong-tyro on github.
  • I am swong_tyro (https://keybase.io/swong_tyro) on keybase.
  • I have a public key ASA6K-aUJ3wt59eV8zkTm1hQTa4AfcvOtOh-uZx6X1YjWwo

To claim this, I am signing this object:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
https://indianf.com/how-does-lifestyle-fuel-an-epidemic-of-mental-health-illnesses/#
@IceSandwich
IceSandwich / yolo_pose.cpp
Last active February 7, 2025 03:27
Run yolo with opencv dnn
#include <iostream>
#include <opencv2/opencv.hpp>
#include <stdio.h>
#define RETURN_IF_FAILED(COND, RETVAL, MSG) if (!(COND)) { std::cerr << MSG << std::endl; return RETVAL; }
int run() {
cv::dnn::Net model = cv::dnn::readNet("models/yolov8s_pose_refine.onnx");
RETURN_IF_FAILED(!model.empty(), -1, "Cannot load model!");
@vancetang
vancetang / .gitconfig
Last active February 7, 2025 03:32
常用的 Git Alias 定義 (based on doggy8088/.gitconfig)
[alias]
st = status
sts = status -s
sw = switch
co = checkout
ci = commit
br = branch -a
re = remote
di = diff
dump = cat-file -p