Skip to content

Instantly share code, notes, and snippets.

@L42y
L42y / minus-uploader.PKGBUILD
Created April 20, 2011 00:55
minus-uploader PKGBUILD for Arch Linux
# Maintainer: Giorgio Gilestro <giorgio@gilest.ro>
pkgname=minus-uploader
pkgver=1.2
pkgrel=1
pkgdesc="The Minus desktop app allows you to drag-n-drop photos and files into the taskbar and instantly upload onto Minus"
url="http://min.us/pages/tools"
license=('GPL')
arch=('i686' 'x86_64')
@L42y
L42y / PKGBUILD
Created May 6, 2011 16:20
python-nautilus PKGBUILD
# Maintaner: Giorgio Gilestro <giorgio@gilest.ro>
pkgname=python-nautilus
pkgver=1.0
pkgrel=1
pkgdesc="Python binding for Nautilus components"
arch=('i686' 'x86_64')
url="http://projects.gnome.org/nautilus-python/"
license="GPL"
makedepends=('pkgconfig' 'gnome-python' )
depends=('nautilus' 'pygtk')
@L42y
L42y / gist:1306120
Created October 22, 2011 15:35
ps auxf | grep unity
bug 27377 0.0 0.0 11428 1380 ? Ss 23:27 0:00 \_ /bin/bash /usr/bin/startunity3d
bug 27541 0.0 0.6 194172 12784 ? Ss 23:27 0:00 | \_ /usr/bin/unity-window-decorator
bug 27640 0.1 0.4 189204 8548 ? Sl 23:28 0:00 /usr/lib/unity-lens-applications/unity-applications-daemon
bug 27642 0.0 0.2 165652 4536 ? Sl 23:28 0:00 /usr/lib/unity-lens-files/unity-files-daemon
bug 27644 0.0 0.2 157804 4652 ? Sl 23:28 0:00 /usr/lib/unity-lens-music/unity-music-daemon
bug 27753 0.0 0.1 154324 3040 ? Sl 23:28 0:00 /usr/lib/unity-lens-music/unity-musicstore-daemon
bug 28038 0.0 0.0 6308 568 pts/0 S+ 23:32 0:00 \_ grep --color=auto unity
bug 28031 2.7 1.1 344200 23180 ? Sl 23:31 0:00 /usr/lib/unity/unity-panel-service
@L42y
L42y / gist:1315696
Created October 26, 2011 07:35
load comments
{% load comments %}
{% get_comment_count for article as comment_count %}
{% render_comment_list for article %}
<table>
<form action="{% comment_form_target %}" method="post">
{% csrf_token %}
{{ form }}
@L42y
L42y / gist:1736828
Created February 4, 2012 09:53
mockup
<!DOCTYPE html>
<style type='text/css'>
.clearfix .l {
float:left;
}
.clearfix .r {
float:right;
}
@L42y
L42y / index.html
Created March 28, 2012 09:22
example
<html>
<head>
<title>gist</title>
</head>
<body>
<div class="clearfix">
<div class="l">
<img src="//placehold.it/200"/>
NameError in Managers::PerformancesController#create
uninitialized class variable @@collaborated_model_id_names in Performance
app/models/collaborative.rb:53:in `set_collaborated_model_ids'
app/controllers/managers/performances_controller.rb:35:in `create'
app/models/collaborative.rb:53:in `set_collaborated_model_ids'
:css
.short-intro {
margin-left: 90px;
}
.verified {
.name {
padding-right: 20px;
background: url(v.png) 50% 100% no-repeat;
}
}
@L42y
L42y / Blog.HelloWorld.VisualBasic.vb
Created October 11, 2012 15:39 — forked from kilip/Blog.HelloWorld.VisualBasic.vb
Visual Basic Hello World
Sub Main()
MessageBox("Hello World")
End Sub
/&
test