Skip to content

Instantly share code, notes, and snippets.

View ignaty8's full-sized avatar
💭
🛰 Lost in Space

ignaty8

💭
🛰 Lost in Space
View GitHub Profile
@CanOfColliders
CanOfColliders / split-skymap-into-images.py
Created July 15, 2013 10:08
Simple script to split a cubemap/skymap image produced by blender into 6 separated image files for use in Unity3Ds skybox materials.
#!/usr/bin/env python
# Will split a png cubemap/skymap image produced by blender into 6 separated image files for use in a skybox within unity
# Requires Python Imaging Library > http://www.pythonware.com/products/pil/
# The author takes no responsibility for any damage this script might cause,
# feel free to use, change and or share this script.
# 2013-07, CanOfColliders, [email protected]
from PIL import Image
@mullnerz
mullnerz / archive-website.md
Last active December 4, 2025 08:08
Archiving a website with wget

The command I use to archive a single website

wget -mpck --html-extension --user-agent="" -e robots=off --wait 1 -P . www.foo.com

Explanation of the parameters used

  • -m (Mirror) Turns on mirror-friendly settings like infinite recursion depth, timestamps, etc.
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active November 26, 2025 21:20
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@CoffeePirate
CoffeePirate / se_server_linux.md
Last active October 25, 2025 01:00
A quick guide how to setup Space Engineers Dedicated server on a Linux box with Wine

Ubuntu 14.04/14.10 SpaceEngineers Dedicated Server

Here's a quick guide how to run SpaceEngineers Dedicated Server on Ubuntu with Wine

Requirements

  • A copy of Space Engineers
  • A Windows box
  • A Linux box running Ubuntu 14.04 or 14.10 (It'll probably work on other distros, YMMV)

Step #1: Install & configure Wine1.6 and dependencies

@tsulej
tsulej / deploy.prototxt
Created August 8, 2015 23:10
Train your own net prototxt files
name: "MYNET"
input: "data"
input_dim: 1
input_dim: 3
input_dim: 224
input_dim: 224
layer {
name: "conv1/7x7_s2"
type: "Convolution"
bottom: "data"
@sscotth
sscotth / keystroke the clipboard extended.workflow
Last active December 2, 2025 22:41
Paste as keystrokes (macOS)
# Why?
# To paste text into windows that normally don't allow it or have access to the clipboard.
# Examples: Virtual machines that do not yet have tools installed, websites that hijack paste
#
# Extended vs Simple?
# * Includes an initial delay to allow you to change active windows
# * Adds small delay between keypresses for slower responding windows like SSH sessions
# * Better handling of numbers
# * VMWare bug fix
#
@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active November 11, 2025 16:04
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

@erget
erget / tenet
Created February 10, 2021 09:50
Reverse text, TeneT style
#!/usr/bin/python
import sys
print(" ".join(sys.argv[1:])[::-1])
@jossef
jossef / readme.md
Last active November 25, 2025 21:39
Insta360 X3 serial number download studio

Insta360 Studio - Serial Number for Download Access

Sharing my serial number for the Insta360 X3 camera. The company's poor website design requires proof of ownership to use the editor software, which makes no sense since only those who bought the camera would want to download it. 🤦‍♂️

Insta360 X3 Serial Number

This is my Insta360 X3 S/N. You're welcome to use it to work around that annoying prompt:

IAQEB2208SEC7T