Skip to content

Instantly share code, notes, and snippets.

View yuters's full-sized avatar
💭
I much prefer Gitea now

Martin Bastien yuters

💭
I much prefer Gitea now
View GitHub Profile
<!doctype html>
<html>
<head>
<title>Test trix</title>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<link href="http://rawgit.com/basecamp/trix/master/dist/trix.css" rel="stylesheet">
<script src="http://rawgit.com/basecamp/trix/master/dist/trix.js"></script>
</head>
<body>
<div id="app">
@yuters
yuters / 0_reuse_code.js
Created January 20, 2014 15:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/usr/bin/env bash
echo ">>> Starting Install Script"
# Update
sudo apt-get update
# Install MySQL without prompt
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'
#!/usr/bin/env ruby
require 'faraday'
require 'json'
require 'gitlab'
module Redmine
Host = nil
APIKey = nil
From 2645e8296145ffd7dbbb40dbbba2660a8f1da717 Mon Sep 17 00:00:00 2001
From: gitlab-ci system <gitlab-ci@localhost>
Date: Sun, 17 Mar 2013 16:47:31 -0400
Subject: [PATCH] change ansi2html.rb
---
app/assets/stylesheets/main.scss | 24 ++++++++++++++++++
lib/ansi2html.rb | 55 ++++++++++++++++++++++------------------
2 files changed, 55 insertions(+), 24 deletions(-)
@yuters
yuters / git-subsplit.sh
Created January 12, 2013 16:52
Tracking new remote branches in subsplit_update
#!/bin/bash
#
# git-subsplit.sh: Automate and simplify the process of managing one-way
# read-only subtree splits.
#
# Copyright (C) 2012 Dragonfly Development Inc.
#
if [ $# -eq 0 ]; then
set -- -h
fi