- http://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf
- http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/ from top to bottom :D
#!/bin/bash | |
# apt-cyg: install tool for cygwin similar to debian apt-get | |
# | |
# Copyright (C) 2005-9, Stephen Jungels | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. |
#!/usr/bin/env python | |
from __future__ import unicode_literals, print_function | |
import os | |
from time import sleep | |
WORKERS = 3 | |
_cnt = 0 | |
while _cnt < WORKERS: |
#!/usr/bin/env python | |
import errno | |
from fcntl import fcntl, F_SETFL | |
import os | |
from select import select | |
from signal import signal, SIGQUIT, SIGINT, SIGTERM, SIGUSR1, SIGUSR2, SIGHUP | |
from time import sleep | |
class Server(object): |
#!/usr/bin/env python | |
from datetime import datetime | |
import errno | |
from fcntl import fcntl, F_SETFL | |
import logging | |
import os | |
from select import select | |
from signal import signal, SIGQUIT, SIGINT, SIGTERM, SIGUSR1, SIGUSR2, SIGHUP | |
from signal import SIGCHLD, SIG_DFL, SIGKILL | |
import sys |
# -*- encoding: binary -*- | |
require 'sequel' | |
require 'sqlite3' | |
Bundler.require(:default, :development) | |
DB = Sequel.connect("sqlite:///tmp/test.db") | |
# DB.create_table(:users) do |
# example | |
# . | |
# |-- about.md | |
# |-- _config.yml | |
# |-- css | |
# | `-- main.css | |
# |-- feed.xml | |
# |-- .gitignore | |
# |-- _includes | |
# | |-- footer.html |
# /EFI/refind/refind.conf | |
# gives you chance to change choice, manually | |
timeout 5 | |
# tools for debuging, reboot without pushing damn button | |
showtools shell,reboot,exit | |
# scan internal disks, extenal(USB?) disks, | |
# optical drivers, and specify by following |
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
from multiprocessing import Process | |
from time import sleep | |
import tkinter as tk | |
class Application(tk.Frame): | |
def __init__(self, master=None): | |
tk.Frame.__init__(self, master) |
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb | |
index a2629c5..020220e 100644 | |
--- a/app/controllers/groups_controller.rb | |
+++ b/app/controllers/groups_controller.rb | |
@@ -4,7 +4,7 @@ class GroupsController < ApplicationController | |
before_filter :group, except: [:new, :create] | |
# Authorize | |
- before_filter :authorize_read_group!, except: [:new, :create] | |
+ before_filter :authorize_read_group!, except: [:new, :create, :index] |