Skip to content

Instantly share code, notes, and snippets.

@prwhite
prwhite / Makefile
Last active May 2, 2024 18:02
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@Julli4n
Julli4n / ok.js
Last active May 2, 2024 18:02
ROBLOX
/*
!! The feature that uses this endpoint has recently started rolling out to users.
!! See `App > Avatar > Profile Picture Editor`
!!
!! You may continue using this script, the only advantage is being able to
!! customize FullBody and Closeup independently.
*/
@aspose-com-gists
aspose-com-gists / DWGtoSVG.cs
Last active May 2, 2024 18:01
Convert DWG to SVG in C# .NET
// Load the input DWG file
Image image = Image.Load("sample.dwg");
// Initialize SvgOptions class object
ImageOptions.SvgOptions options = new ImageOptions.SvgOptions();
// Set SVG color mode
options.ColorType = SvgColorMode.Grayscale;
options.TextAsShapes = true;
@gcsuid
gcsuid / yt101
Last active May 2, 2024 17:59
comment on video
import os
import random
import pickle
import requests
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
from googleapiclient.discovery import build
SCOPES = ['https://www.googleapis.com/auth/youtube.force-ssl']
@voltrevo
voltrevo / phrases.md
Last active May 2, 2024 17:56
Test bip39 seedphrases

The following is a well known test seed phrase:

test test test test test test test test test test test junk

During development, it's beneficial to use seedphrases which are obviously meant for testing, so using test for the first 11 words is helpful. Since only 4 bits of 12-word bip39 seedphrases are for the checksum, 1 in 16 phrases are valid by chance. This gives us many additional options for the last word if you need more than one seedphrase:

test test test test test test test test test test test absent
@hernamesbarbara
hernamesbarbara / .bash_profile
Created February 29, 2012 04:59
bash_profile with terminal colors and useful aliases
#!/bin/bash
export TERM=xterm-color
export CLICOLOR=1
export GREP_OPTIONS='--color=auto'
# export LSCOLORS=Exfxcxdxbxegedabagacad
export LSCOLORS=gxfxcxdxbxegedabagacad # Dark lscolor scheme
# Don't put duplicate lines in your bash history
export HISTCONTROL=ignoredups
# increase history limit (100KB or 5K entries)
export HISTFILESIZE=100000
/***************************************************************************/
/* Godot PCK extractor (pckext.cpp) */
/***************************************************************************/
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
@wenhuizhang
wenhuizhang / distributed_systems_readings.md
Last active May 2, 2024 17:50
distributed systems readings

#Distributed System Course List

##Systems

  • Cornell CS 614 - Advanced Course in Computer Systems - Ken Birman teaches this course. The readings cover more distributed systems research than is typical (which I am in favour of!). In fact, there's barely anything on traditional internal OS topics like filesystems or memory management. There's some worthwhile commentary at the bottom of the page.

  • Princeton COS 518 - Advanced Operating Systems - short and snappy reading list of two papers per topic, covering some interesting stuff like buffering inside the operating system, and L4.

@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 2, 2024 17:49
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