Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
jacobmischka / CMakeLists.txt
Created March 28, 2015 03:04
how does cmake work
cmake_minimum_required(VERSION 2.8)
project(chickadee)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt5Widgets REQUIRED)
include_directories(${Qt5Widgets_INCLUDES})
add_definitions(${Qt5Widgets_DEFINITIONS})
#!/bin/bash
g++ `pkg-config --cflags xmms2-client-cpp glib-2.0` -W -Wall -ansi -pedantic -c -o client.o client.cc
g++ -o client client.o `pkg-config --libs xmms2-client-cpp` `pkg-config --libs xmms2-client-cpp-glib glib-2.0`
$("#videowrap").removeClass("col-md-8 col-md-offset-2");
@media(min-width: 992px) {
.col-md-8{
width: 100%;
}
.col-md-offset-2{
margin-left: 0px;
}
}
/*!
* Start Bootstrap - 3 Col Portfolio HTML Template (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
font-family: 'Roboto Condensed', sans-serif;
}
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with

Gist It

Quickly and easily post files from Atom to GitHub Gists.

Commands

  • Gist Current File (⌥⌘G) Gists the contents of the current file in the editor
{TextEditorView, View} = require 'atom-space-pen-views'
{CompositeDisposable} = require 'atom'
Gist = require './gist-model'
module.exports =
class GistView extends View
@content: ->
@div tabIndex: -1, class: "gist overlay from-top padded", =>
@div class: "inset-panel", =>

Gist It

Quickly and easily post files from Atom to GitHub Gists.

Commands

  • Gist Current File (⌥⌘G) Gists the contents of the current file in the editor
#!/usr/bin/ruby
require 'gir_ffi-gtk3'
Gtk.init
win = Gtk::Window.new(:toplevel)
win.title = "Hello World"
win.signal_connect "delete-event" do
Gtk.main_quit
false
end