gist.sfrt.fun Open in urlscan Pro
2606:4700:3035::6815:3ce  Public Scan

Submitted URL: https://gist-ucontent.sfrt.fun/
Effective URL: https://gist.sfrt.fun/starred
Submission: On July 17 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

GET /search

<form class="position-relative js-quicksearch-form" role="search" aria-label="Site" data-turbo="false" action="/search" accept-charset="UTF-8" method="get">
  <div class="header-search-wrapper form-control input-sm js-chromeless-input-container">
    <input type="text" class="form-control input-sm js-site-search-focus header-search-input" data-hotkey="s,/" name="q" aria-label="Search" placeholder="Search…" autocorrect="off" autocomplete="off" autocapitalize="off">
  </div>
</form>

Text Content

Skip to content

All gists Back to GitHub Sign in Sign up

Sign in Sign up
You signed in with another tab or window. Reload to refresh your session. You
signed out in another tab or window. Reload to refresh your session. You
switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert

{{ message }}

Instantly share code, notes, and snippets.


DISCOVER GISTS

 * 

 * All gists
 * Forked
 * Starred

 * 1 file
 * 0 forks
 * 0 comments
 * 1 star

UdaykiranGudepu / app.py
Last active July 17, 2024 09:04
Flask REST ful service basics with basic authentication - ( Python 3, IDE -
pycharm, HTTPBasicAuth )
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
Show hidden characters

#! usr!bin from flask import Flask, jsonify, abort, make_response, url_for from
flask import request from socket import * from flask_httpauth import
HTTPBasicAuth sock = socket(AF_INET, SOCK_STREAM) sock.setsockopt(SOL_SOCKET,
SO_REUSEADDR,1) sock.bind(('0.0.0.0',0))

 * 1 file
 * 2 forks
 * 0 comments
 * 11 stars

abdelaziz321 / C++ cheat sheet.cpp
Last active July 17, 2024 09:00
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
Show hidden characters

/* * ======================================= * C++ cheat sheet *
======================================= * 01- string * 02- vector * 03- pair *
04- set * 05- map *

 * 1 file
 * 3691 forks
 * 1036 comments
 * 16929 stars

rxaviers / gist:7360908
Last active July 17, 2024 08:59
Complete list of github markdown emoji markup

People

:bowtie: 😄 :smile: 😆 :laughing: 😊 :blush: 😃 :smiley: ☺️ :relaxed: 😏 :smirk:
😍 :heart_eyes: 😘 :kissing_heart: 😚 :kissing_closed_eyes: 😳 :flushed: 😌
:relieved: 😆 :satisfied: 😁 :grin: 😉 :wink: 😜 :stuck_out_tongue_winking_eye:
😝 :stuck_out_tongue_closed_eyes: 😀 :grinning: 😗 :kissing: 😙
:kissing_smiling_eyes: 😛 :stuck_out_tongue:

 * 1 file
 * 53 forks
 * 7 comments
 * 322 stars

dhh / linux-setup.sh
Last active July 17, 2024 08:59
linux-setup.sh
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
Show hidden characters

# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG #
PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT. # # #
Libraries and infrastructure sudo apt update -y sudo apt install -y \ docker.io
docker-buildx \ build-essential pkg-config autoconf bison rustc cargo clang \

 * 1 file
 * 42 forks
 * 268 comments
 * 292 stars

tdcosta100 / WSL2GUIXvnc-en.md
Last active July 17, 2024 08:58
A tutorial to use GUI in WSL2 replacing original XServer by Xvnc, allowing WSL
to work like native Linux, including login screen


WSL2 WITH GUI USING XVNC

Note

If you want to use pure WSLg, you can try the new WSLg tutorial.

In this tutorial, we will setup GUI in WSL2, and access it using VNC. No
additional software outside WSL (like VcXsrv) is required, except, of course, a
VNC Viewer (RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work
flawlessly).

The key component we need to install is the desktop metapackage you want (GNOME,
KDE, Xfce, Budgie, etc) and tigervnc-standalone-server.

For this setup, I will use Ubuntu (20.04, 22.04 and 24.04 are working), and
install GNOME Desktop. Since the key components aren't bound to Ubuntu or GNOME,
you can use your favorite distro and GUI. Check the Sample screenshots section
for examples.

 * 6 files
 * 382 forks
 * 18 comments
 * 1192 stars

imba-tjd / .Cloud.md
Last active July 17, 2024 08:56
☁️ 一些免费的云资源


云

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。


其他人的集合

 * https://education.github.com/pack GitHub学生包,需用教育邮箱验证。各种福利,可从DigitalOcean上手
 * https://git.sfrt.fun/ripienaar/free-for-dev 本文尽量不与此项目重复
 * https://free.zhelper.net/
 * https://git.sfrt.fun/AchoArnold/discount-for-student-dev

 * 1 file
 * 5 forks
 * 0 comments
 * 24 stars

KristofferEriksson / useLocation.ts
Created February 11, 2024 16:44
A React Typescript hook that provides real-time geolocation data, complete with
heading and speed metrics
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
Show hidden characters

import { useEffect, useState } from "react"; interface LocationOptions {
enableHighAccuracy?: boolean; timeout?: number; maximumAge?: number; } interface
LocationState { coords: {

 * 1 file
 * 4 forks
 * 0 comments
 * 18 stars

KarthikNayak / a.md
Last active July 17, 2024 08:53
Installing Arch with LVM

https://wiki.archlinux.org/index.php/beginners'_guide

What I wanted:

 1. LVM
 2. UEFI/GPT

###Connect to Wifi

wifi-menu -o 

 * 1 file
 * 4 forks
 * 0 comments
 * 16 stars

mathcodes / dsa_pattern.md
Last active July 17, 2024 08:53
14 DSA Patterns to Master


14 CODING PATTERNS TO MASTER

This is a collection of coding patterns I have learned to solve not only some of
the most common problems, but the 14 patterns (yes, there are way more than 14,
but the point here is taking 6 months of preparation and condensing it into a 30
minute read that would not take more than 1-2 weeks to master. I have found
these problems and patterns to be the most useful in that the data structures
and algorithms are used in many other problems and become familiar over time.
Good luck!

Please feel free to comment if you got some value or find any errors!

Thanks!


TABLE OF CONTENTS

 * 1. Sliding Window

 * 1 file
 * 3 forks
 * 3 comments
 * 4 stars

Gadgetoid / README.md
Last active July 17, 2024 08:52
Raspberry Pi 5 - All channels on pwm0


HARDWARE PWM ON THE RASPBERRY PI 5 B

Since PWM is a little fraught with gotchas, this is mostly a message to future
me-

(Note to self, rtfm -
https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf)

pin a0 a3 GPIO19 PWM0_CHAN3 GPIO18 PWM0_CHAN2

NewerOlder


FOOTER

© 2024 GitHub, Inc.


FOOTER NAVIGATION

 * Terms
 * Privacy
 * Security
 * Status
 * Docs
 * Contact
 * Manage cookies
 * Do not share my personal information

You can’t perform that action at this time.