Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
*.o | |
*.swp |
# assuming current directory is Extensions | |
find -name manifest.json -exec grep '"name"' {} + | awk -vFS='/|"' '!/__/{print $2, $7}' | |
find -name manifest.json -exec grep '"name"' {} + | awk -vFS='/|"' '/__/{print $2, $7}' | sed 's/__MSG_//; s/__//' | sort -u -k1 | while read app var; do echo -n $app; sed -n "/$var/I, /}/ p" $app/*/_locales/en*/messages.json | grep -m1 message | cut -d ':' -f2; done |
#!/usr/bin/env python3 | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
class MyHandler(BaseHTTPRequestHandler): | |
_data_to_send = None | |
def _send_all(self): |
#include "sptest.h" | |
#include <stdio.h> | |
class test { | |
public: | |
test() { | |
printf("Test constructor\n"); | |
field = new char[20]; | |
is_deleted = false; | |
} |
const Cc = Components.classes; | |
const Ci = Components.interfaces; | |
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); | |
var gOS; | |
const Query = { | |
getPrice: "select price from simple_prices where typeID=:tid " + | |
"and date('now') < date(exp_date);", | |
setPrice: "replace into simple_prices values(:tid, :price, " + |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/file.h> | |
#include <sys/stat.h> | |
#include <errno.h> | |
#include <signal.h> | |
char *path = "/home/aragaer/pts"; | |
char linkname[80] = ""; |
#!/usr/bin/python | |
import urllib | |
import urllib2 | |
from xml.dom.minidom import parse | |
user_id = 2373898 | |
api_key = "<snip>" | |
char_id = 1580122797 | |
uri_base = 'http://api.eve-online.com' |
# set this to your eve path | |
EVEROOT = "/home/aragaer/.wine/drive_c/Program Files/CCP/EVE" | |
# start ooocalc like this: | |
# oocalc -accept="socket,host=localhost,port=2002;urp;" | |
# then run this script and type a character id anywhere | |
import uno |
import android | |
import time | |
from math import sqrt | |
droid = android.Android() | |
droid.wakeLockAcquirePartial() | |
def main(): | |
while True: | |
total = 0 |