// -----------------------------
// Interactive FILMS Dashboard (v39: Ultra-Lean Memory Manager)
// -----------------------------
const favoriteActorsList = [
"Tom Hanks", "Leonardo DiCaprio", "Brad Pitt", "Sigourney Weaver",
"Anthony Hopkins", "Denzel Washington", "Meryl Streep", "Christian Bale"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #define MAX_BITS 15 | |
| #define MAX_LIT_CODES 288 /* Literal/length alphabet */ | |
| #define MAX_DIST_CODES 32 /* Distance alphabet */ | |
| /* Length codes: symbol 257-285 map to lengths 3-258 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>P5.js Particle Animation</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js"></script> | |
| <style> | |
| body { | |
| margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import socket | |
| import sys | |
| import os | |
| import signal | |
| import subprocess | |
| import atexit | |
| import psutil | |
| from pathlib import Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import moment from 'moment'; | |
| import Image from 'next/image'; | |
| import Link from 'next/link'; | |
| const FeaturedPostCard = ({ post }) => ( | |
| <div className="relative h-72"> | |
| <div className="absolute rounded-lg bg-center bg-no-repeat bg-cover shadow-md inline-block w-full h-72" style={{ backgroundImage: `url('${post.featuredImage.url}')` }} /> | |
| <div className="absolute rounded-lg bg-center bg-gradient-to-b opacity-50 from-gray-400 via-gray-700 to-black w-full h-72" /> | |
| <div className="flex flex-col rounded-lg p-4 items-center justify-center absolute w-full h-full"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ARCHIVE WEB PAGES - ARCHIVE_BOX | |
| https://awesomeopensource.com/project/ArchiveBox/ArchiveBox | |
| https://github.com/ArchiveBox/ArchiveBox | |
| SAVE WEB PAGES - WALLABAG | |
| https://wallabag.org/en# | |
| https://github.com/wallabag | |
| STORE PASSWORDS - LESSPASS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Spaceship ZSH Theme | |
| # | |
| # Author: Denys Dovhan, denysdovhan.com | |
| # License: MIT | |
| # https://github.com/denysdovhan/spaceship-zsh-theme | |
| # ------------------------------------------------------------------------------ | |
| # CONFIGURATION | |
| # The default configuration that can be overridden in .zshrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Console Log": { | |
| "prefix": "cl", | |
| "body": "console.log($1);", | |
| "description": "Console Log" | |
| }, | |
| "Named Function": { | |
| "prefix": "nfn", | |
| "body": ["function ${1:functionName}($2) {", " $3", "}"], | |
| "description": "Named Function" |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| import pandas as pd | |
| import pymongo | |
| import json | |
| def import_content(filepath): | |
| mng_client = pymongo.MongoClient('localhost', 27017) |
NewerOlder