Skip to content

Instantly share code, notes, and snippets.

@2510
2510 / Windows 10 Disable Services.bat
Last active May 7, 2024 09:41
Disable unused services (for me) on Windows 10
REM Windows Search
sc config WSearch start=disabled
REM SSDP Discovery
sc config SSDPSRV start=disabled
REM Geolocation Service
sc config lfsvc start=disabled
REM ActiveX Installer
sc config AXInstSV start=disabled
REM AllJoyn Router Service
sc config AJRouter start=disabled
@joechrysler
joechrysler / who_is_my_mummy.sh
Last active May 7, 2024 09:40
Find the nearest parent branch of the current git branch
#!/usr/bin/env zsh
git show-branch -a \
| grep '\*' \
| grep -v `git rev-parse --abbrev-ref HEAD` \
| head -n1 \
| sed 's/.*\[\(.*\)\].*/\1/' \
| sed 's/[\^~].*//'
# How it works:
@smarr
smarr / fib.S
Created November 6, 2019 14:13
8-bit implementation of a recursive fibonacci
; Fibonacci
; executable with https://schweigi.github.io/assembler-simulator/
; Result is in register A
JMP .start
; fib(n) <- n is in register A
fib:
CMP A, 1 ; compare n to a
JE .fibReturnOne
JB .fibReturnZero
@IagoPFerreira
IagoPFerreira / Supabase-checklist.md
Last active May 7, 2024 09:39
Checklist para configurar o Supabase

Checklist de adicionar um novo projeto ao Supabase

  • Login

    • Acessou o site do Supabase
    • Clicou em sign-in/entrar para fazer o login
    • Deu permissão ao Supabase à sua conta do Github (Somente para caso seja o primeiro acesso)
  • Criando um novo projeto

    • Clicar em New Project/Novo Projeto
    • Selecionar a organização com o nome do seu usuário do GitHub
@staltz
staltz / introrx.md
Last active May 7, 2024 09:38
The introduction to Reactive Programming you've been missing
// https://bugzilla.mozilla.org/show_bug.cgi?id=128072#c32
// Credit: Alexander Bergmann
"use strict;"
// Toggle Replied and Forwarded
if (location == "chrome://messenger/content/messenger.xhtml") {
let toggleRepliedAndForward = {
@noborus
noborus / temporary_table.md
Last active May 7, 2024 09:36
TEMPORARY TABLE(一時テーブル)を探る

TEMPORARY TABLE(一時テーブル)を探る

TEMPORARY TABLE(一時テーブル)を探る

PostgreSQLのTEMPORARY TABLE(一時テーブル)について主に速度面について探っていきます。 ここで書かれていることはPostgreSQL 10を対象としています。

はじめに

PostgreSQLのTEMPORARY TABLE(一時テーブル)は接続したセッションの間にしか生存できないテーブルです。このテーブルは他のセッションからはアクセスすることができません。

@11658
11658 / BitAPI.py
Last active May 7, 2024 09:36
python对接比特
"""
@Author: 小样
@Date: 2022-10-30
@wechat: mz-cyx
@description: 比特浏览器API接口
@version: 1.0
@AD: 专业定制外网自动化程序TwitterFacebookTiktok等等
##所有定义的接口
#1. 浏览器接口
Команды в Git Bash консоли
clear — Очистить консоль
Навигация
pwd — Показать текущий каталог
ls - Показать файлы в данной папке, кроме скрытых
ls -f — Показать файлы в данной папке, включая и скрытые
cd c:/ — Перейти в конкретный каталог
cd - — Вернуться назад
cd .. — Выйти на 1 уровень вверх
@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 7, 2024 09:34
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus