Skip to content

Instantly share code, notes, and snippets.

View tophermade's full-sized avatar

tophermade

View GitHub Profile
@tophermade
tophermade / example.jnx
Created January 9, 2017 08:47
example of jnx file
### markup
<div class="wrap">
<section class="main">
<p>Content</p>
</section>
@> footer.jnx
</div>
@tophermade
tophermade / SteamWorkshop.cs
Last active December 11, 2023 12:52
Unity script for accessing the Workshop with the steamworks.net C# wrapper
using UnityEngine;
using System.Collections.Generic;
using Steamworks;
/// <summary>
/// This class was created by Vitor Pêgas on 01/01/2017
/// From http://answers.unity3d.com/questions/1282772/steamworksnet-and-steam-workshop.html
/// Added here so it doesn't disappear
/// Requires https://steamworks.github.io/
/// </summary>
@tophermade
tophermade / newinstall.txt
Last active August 16, 2016 03:47
New mint install head start
#!/bin/bash
#update
sudo apt-get update
sudo apt-get upgrade
#chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
@tophermade
tophermade / spacestotabs.sh
Created June 17, 2016 04:59
Replace spaces in current folder, with tabs @ 4 space depth in php, html, js, less, scss, and sass files.
#!/bin/bash
for file in *.php *.html *.js *.css *.less *.scss *.sass; do
echo "$file"
unexpand --first-only -t 4 "$file" > tempout.txt
mv tempout.txt "$file"
done