Skip to content

Instantly share code, notes, and snippets.

@mp4096
mp4096 / ppt2pdf.ps1
Created April 28, 2016 10:56
Batch convert PowerPoint files to PDF
# Batch convert all .ppt/.pptx files encountered in folder and all its subfolders
# The produced PDF files are stored in the invocation folder
#
# Adapted from http://stackoverflow.com/questions/16534292/basic-powershell-batch-convert-word-docx-to-pdf
# Thanks to MFT, takabanana, ComFreek
#
# If PowerShell exits with an error, check if unsigned scripts are allowed in your system.
# You can allow them by calling PowerShell as an Administrator and typing
# ```
# Set-ExecutionPolicy Unrestricted
@jacobamit
jacobamit / ProjectSetup.md
Last active May 20, 2024 13:56
Laravel Project Setup with Vue js and Admin Lte Theme

Create Laravel Project

Via Composer
composer create-project --prefer-dist laravel/laravel blog

Add Dependencies

npm install

Add Admin Lte Theme to Laravel

npm add admin-lte@v3.0.0-alpha.2 --save

@diego3g
diego3g / settings.json
Last active May 20, 2024 13:55
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [80, 120],
"extensions.ignoreRecommendations": true,
"typescript.tsserver.log": "off",
"files.associations": {
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active May 20, 2024 13:53
crack activate Office on mac with license file
@guvener
guvener / tw-background-hex.md
Created April 30, 2022 08:46
Tailwind background colors HEX codes
@rajtilakjee
rajtilakjee / redditmusicbot.py
Created June 26, 2023 05:22
Reddit Music Bot
import json
import urllib.request
import re
import urllib
import praw
import os
from dotenv import load_dotenv
load_dotenv()
@keidrun
keidrun / README.md
Last active May 20, 2024 13:42
How to marshal and unmarshal sql.Null types to JSON in golang

Answer

Use custom nullable types instead of original sql.Null types like sql.NullBool, sql.NullFloat64, sql.NullInt64 or sql.NullString.

@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 20, 2024 13:39
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
@elrayle
elrayle / byebug_commands.md
Last active May 20, 2024 13:37
Byebug Cheatsheet - organized by related commands

Byebug Cheatsheet

This cheatsheet includes most of the byebug commands organized by related commands (e.g. breakpoint related commands are together).

To see official help...

Command Aliases Example Comments
help h h list top level of all commands
help cmd h cmd-alias h n list the details of a command (example shows requesting details for the next command) (this works for all commands)
@kaftejiman
kaftejiman / ret2csu.md
Last active May 20, 2024 13:33
ret2csu exploitation technique ROP pwn

ret2csu

I wanted to make a clean and simple explanation of ret2csu exploitation technique as I didnt get it easily with the ressources I found on google. As far as my understanding goes. You should take it with a grain of salt.

Tests carried on a AMD64 Linux Ubuntu.

Table of Contents