Discover gists
This file contains 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
license: gpl-3.0 | |
height: 600 | |
redirect: https://observablehq.com/@d3/d3-force-directed-graph |
This file contains 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 UIKit | |
final class TransitionDelegate: NSObject, | |
UIViewControllerTransitioningDelegate { | |
private let interactiveController = UIPercentDrivenInteractiveTransition() | |
private let duration = CATransaction.animationDuration() | |
func presentationController(forPresented presented: UIViewController, |
This file contains 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
admin account info" filetype:log | |
!Host=*.* intext:enc_UserPassword=* ext:pcf | |
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
"AutoCreate=TRUE password=*" | |
"http://*:*@www” domainname | |
"index of/" "ws_ftp.ini" "parent directory" | |
"liveice configuration file" ext:cfg -site:sourceforge.net | |
"parent directory" +proftpdpasswd | |
Duclassified" -site:duware.com "DUware All Rights reserved" | |
duclassmate" -site:duware.com |
This file contains 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
"""Simple implementation of a B+ tree, a self-balancing tree data structure that (1) maintains sort | |
data order and (2) allows insertions and access in logarithmic time. | |
""" | |
class Node(object): | |
"""Base node object. | |
Each node stores keys and values. Keys are not unique to each value, and as such values are | |
stored as a list under each key. |
Marks owned/ignored/wishlisted games on several sites, and also adds a button to open the steam page for each game.
Originally a fork of "Bundle Helper" v1.09 by "7-elephant". It's now available at:
This file contains 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 torch | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
from accelerate import Accelerator | |
import os | |
import argparse | |
def main(): | |
# Parse command line arguments | |
args = parse_args() |
This file contains 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
const ServiceBadge = dynamic(() => import(‘../Molecules/ServiceBadge’)) | |
const ServiceHeader = ({service, title}: Props) => { | |
const router = useRouter() | |
const isMobile = useBreakpointValue([true, null, false], ‘base’) | |
return ( | |
<HStack> | |
<BackButton onClick={() => router.replace(ROUTE_ROOT)} /> | |
{isMobile && <ServiceBadge {…service} />} |
Note: I do not maintain this gist anymore, but people report that it still works. Please check the comments for any revisions or extra things you should take into consideration.
As of writing, the Debian distro for WSL (Windows Subsystem for Linux) is quite old.
You can get more up-to-date package managers, text-editors and compilers by upgrading WSL to Debian 12 (current testing).
- Root required
- Use at your own risk, preferably on a fresh installation.
NewerOlder