Skip to content

Instantly share code, notes, and snippets.

View atkallie's full-sized avatar
🙃
livin' life

kal atkallie

🙃
livin' life
  • 🌍
View GitHub Profile
@atkallie
atkallie / Search my gists.md
Created March 23, 2024 15:06 — forked from santisbon/Search my gists.md
How to #search gists

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@denguir
denguir / cuda_install.md
Last active August 14, 2025 11:10
Installation procedure for CUDA / cuDNN / TensorRT

How to install CUDA / cuDNN / TensorRT on Ubuntu

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@santisbon
santisbon / Search my gists.md
Last active July 19, 2025 15:46
How to search gists.

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@chourobin
chourobin / 0-bridging-react-native-cheatsheet.md
Last active August 7, 2025 17:52
React Native Bridging Cheatsheet
@teasherm
teasherm / s3_multipart_upload.py
Last active March 4, 2025 21:55
boto3 S3 Multipart Upload
import argparse
import os
import boto3
class S3MultipartUpload(object):
# AWS throws EntityTooSmall error for parts smaller than 5 MB
PART_MINIMUM = int(5e6)
@reedobrien
reedobrien / upload_docs_to_cloudsearch.py
Created July 28, 2015 21:08
Upload docs to AWS CloudSearch with boto3
import json
import boto3
settings = {
"aws.cloudsearch.doc":
"<doc-ep>",
"aws.cloudsearch.search":
"<search-ep>"
}
from avail.aws.cloudsearch import get_cloudsearch_endpoint_from_settings
doc = get_cloudsearch_endpoint_from_settings("doc", settings)
@DavidWells
DavidWells / reset.css
Last active August 9, 2025 11:17 — forked from karbassi/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@ax3l
ax3l / CUDA_Compilers.md
Last active August 18, 2025 16:48
CUDA Compilers
@Stanback
Stanback / nginx.conf
Last active March 30, 2025 03:57 — forked from michiel/cors-nginx.conf
Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs
#
# CORS header support
#
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your **location** block(s):
#
# include cors_support;
#
# As of Nginx 1.7.5, add_header supports an "always" parameter which
@wraithan
wraithan / base.html
Created January 23, 2012 00:17
Generic Template with Extra Context
<!doctype html>
<html>
<head>
<title>{{page_name}}</title>
</head>
<body>
<h1>{{page_name}}</h1>
{% block content %}
{% endblock content %}
</body>