Skip to content

Instantly share code, notes, and snippets.

View jonahvsweb's full-sized avatar
🙃

Jonah B. jonahvsweb

🙃
  • Chicago
View GitHub Profile
@jonahvsweb
jonahvsweb / beginners_ubuntu.md
Last active August 31, 2023 15:26 — forked from bkanhu/beginners_ubuntu.md
First things to do when setting up your Clockwork uConsole (Ubuntu 22.04 LTS).

First things to do when setting up your Clockwork uConsole (Ubuntu 22.04 LTS)

A guide of what to do upon first run of your uConsole (or fresh install of Ubuntu in general).

1. Check For Updates

The first thing you should do after installing Ubuntu 22.04 LTS is to update your system to ensure that you have latest security patches and bug fixes.

sudo apt update && sudo apt upgrade

2. Enable additional repositories for more software

Ubuntu has several repositories from where it provides software for your system. Enabling all these repositories will give you access to more software and proprietary drivers.

@jonahvsweb
jonahvsweb / .zshrc
Last active February 4, 2016 17:28
Useful ZSH custom functions
###################
# Custom Functions
###################
function newdir { mkdir $1 && cd $1; } #Usage: newdir $new_dir_name
function parsecsv { cat $1 | cut -d $2 -f $3 | grep -v -e "^$" > ~/Desktop/$4.csv; } #Usage: parsecsv $original_csv $delimiter $column_num $new_csv_filename
# More to come
@jonahvsweb
jonahvsweb / README.md
Last active January 29, 2016 13:37 — forked from chrisjacob/README.md
Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result

@jonahvsweb
jonahvsweb / gist:9337701
Last active August 29, 2015 13:56 — forked from liamdon/gist:2467603
Adding support for CoffeeScript, Jade, Stylus and EJS syntax highlighting in Sublime Text 2.

Step 1: Clone the bundles into your Sublime Text packages directory

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript
git clone https://github.com/miksago/jade-tmbundle.git Jade
git clone https://github.com/LearnBoost/stylus.git Stylus
git clone git://github.com/gregory-m/ejs-tmbundle.git EJS

Step 2: Restart Sublime Text 2

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@jonahvsweb
jonahvsweb / web.config
Created April 29, 2013 03:38
How to Setup WordPress Permalinks on Windows IIS ======================================= Place this file into the base directory of your WordPress installation to allow permalinks (or "pretty URLs") on Windows IIS.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
//In your Main class :
public function Main() {
levelManager = new LevelManager(ALevel);
levelManager.applicationDomain = ApplicationDomain.currentDomain; // to be able to load your SWF level on iOS
levelManager.onLevelChanged.add(_onLevelChanged);
levelManager.levels = [[Level1, "levels/A1/LevelA1.swf"], [Level2, "levels/A2/LevelA2.swf"]];
levelManager.gotoLevel(); //load the first level, you can change the index. You can also call it later.
}

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt