Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@mayuki
mayuki /CredentialUI.cs
CreatedMarch 22, 2010 10:22
Windows Common Credential UI Helper for .NET Framework
/*
* CredentialUI.cs - Windows Credential UI Helper
*
* License: Public Domain
*
*/
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security;
@derofim
derofim /ReadMe.md
CreatedApril 23, 2017 15:41
shorten long file names windows

Script tested on Windows 10 64bit.

  1. Install git bash fromhttps://git-for-windows.github.io/
    Git allows to use linux commands on windows.
  2. Open Git Bash Command Line
    Simply right-click on a folder in Windows Explorer to access the BASH or GUI.
    https://git-for-windows.github.io/img/gw1.png
  3. You can use "mv" command to rename "VeryLongFileName.ext" to "shortFileName.ext" like this:
    mv "VeryLongFileName.ext" "shortFileName.ext"
  4. If you need to rename a lot of files in folder use shorten.sh below.
@felipe93-arita
felipe93-arita /Sistema_Faculdade.py
Last activeJuly 19, 2025 00:00
Projeto para entrega de um trabalho acadêmico realizado, simulando um cadastro de acadêmicos.
importsys
importjson
defsalvar_lista(lista_qualquer,nome_arquivo):
withopen(nome_arquivo,"w",encoding="utf-8")asarquivo_aberto:
json.dump(lista_qualquer,arquivo_aberto,ensure_ascii=False)
defler_lista(nome_arquivo):
try:
withopen(nome_arquivo,"r",encoding="utf-8")asarquivo_aberto:
  • feat Commits, that adds or remove a new feature
  • fix Commits, that fixes a bug
  • refactor Commits, that rewrite/restructure your code, however does not change any API behaviour
  • perf Commits are specialrefactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
@aamiaa
aamiaa /CompleteDiscordQuest.md
Last activeJuly 19, 2025 00:08
Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@DerFichtl
DerFichtl /clamav-macosx.md
Last activeJuly 18, 2025 23:43
clamav on mac osx - install and configure the virus scanner on mac osx
@MuhammadSaim
MuhammadSaim /rarreg.key
Last activeJuly 18, 2025 23:36
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp