Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1
Charlie bit me!
-
1 2 3 4 5 6 7 8 9
(ircb)➜ cat t.c #include <stdio.h> #include <string.h> static char * skip(char *s) { return s+strspn(s, " \t"); }...
-
1
Charlie bit me!
-
1 2 3 4 5 6 7 8 9
<html> <head> <title>Best intellectual websites</title> </head> <body> <p><h1>These are the best intellectual websites</h1></P> <p><img src="Q:\brain-cloud2.jpg" align="left"></p><br><br><br><br><br><br><br><br><br><br> <p><tt><font size="5">There are many websites but most of them are useless. So I organised a list of the best websites that contain materials that would make
...
-
1 2 3 4
Deposito di cassette di sicurezza Si supponga di avere un deposito di cassette di sicurezza composto da V vani ognuno dei quali in grado di contenere N cassette. Gli utenti arrivano con un numero variabile (ma minore di N) di cassette, le depositano e, dopo un certo tempo, le ritirano.Tutte le cassette di uno stesso utente devono essere depositate all'interno di un unico vano, ma uno stesso vano può contenere le cassette di più utenti. Gli utenti che non riescono a depositare le cassette per problemi di capacità si pongono in attesa che si liberi dello spazio. Si discutano le possibili politiche di gestione del deposito bagagli e se ne implementi una usando il costrutto monitor. Si discuta se nella politica implementata sono possibili casi di starvation e, in caso affermativo, si propongano soluzioni per eliminarli.
-
1 2 3 4 5 6 7 8 9
From df8927a9549c8160f58c572842eedc6356a3971f Mon Sep 17 00:00:00 2001 From: Alexander Morozov <amorozov@etersoft.ru> Date: Sat, 31 Dec 2011 19:17:16 +0400 Subject: [PATCH 1/2] Add support of native Windows drivers for USB tokens. --- configure.ac | 28 + dlls/mountmgr.sys/Makefile.in | 8 +- dlls/mountmgr.sys/dbus.c | 7 +
...
-
1
asdfasfdaf
-
1 2 3 4 5 6 7 8 9
State: S (sleeping) Tgid: 22094 Pid: 22094 PPid: 1463 TracerPid: 0 Uid: 10117 10117 10117 10117 Gid: 10117 10117 10117 10117 FDSize: 256 Groups: 1015 3001 3002 3003
...
-
1
Charlie bit me!
-
1 2 3 4 5 6 7 8 9
#30.1 Массив ссылок При попытке создать массив ссылок, например: int a; int& b[] = a; Получим ошибку компиляции: test.cxx:2: error: declaration of ‘b’ as array of references Выдержка из стандарта ISO/IEC 14882:1998(E): "Не должно быть ссылок на ссылки, массивов ссылок, а также указателей на ссылки." #30.2 Поиск в файле, добавление и удаление данных.
...
-
1 2 3 4 5 6 7 8 9
====================================================================== ERROR: test_activate_transform (ion.services.dm.transformation.test.test_transform_service.TransformManagementServiceIntTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/luke/Documents/Dev/code/coi-services/ion/services/dm/transformation/test/test_transform_service.py", line 188, in tearDown self.pubsub_cli.delete_subscription(self.input_subscription_id) File "/Users/luke/Documents/Dev/code/coi-services/interface/services/dm/ipubsub_management_service.py", line 478, in delete_subscription return self.request(IonObject('PubsubManagementService_delete_subscription_in', subscription_id=subscription_id or ''), op='delete_subscription', headers=headers)...
-
1 2 3 4 5 6 7 8 9
<FileZillaServer> <Settings> <Item name="Admin port" type="numeric">14147</Item> </Settings> <Groups /> <Users> <User Name="test1"> <Option Name="Pass">5a105e8b9d40e1329780d62ea2265d8a</Option> <Option Name="Group"></Option>
...
-
1 2 3
83 10 3 13 4 7 2 5 1 6 12 6 11 4 28 3 4 6 1 4 11 5 6 2 12 7 19 12 23 27 6 12 11 6 5 7 1 4 2 4 7 4 21 9 14 22 4 1 4 2 12 11 6 7 5 6 26 22 4 12 21 27 27 10 11 4 6 1 4 12 7 5 2 6 25 9 12 4 1 2 6 5 11 7 6 4 12 4 1 2 6 5 11 7 6 4
-
1 2 3 4
Traceback (most recent call last): File "client-PCMA.py", line 46, in pad_added_cb lres = gst.Pad.link(new_pad, sinkpad) gst.LinkError: <enum GST_PAD_LINK_WAS_LINKED of type GstPadLinkReturn>
-
1 2 3
answer=$((1+2)) echo $answer
-
1
Charlie bit me!
-
1 2 3 4 5 6 7 8 9
echo "$@" > $pgdata/hikisuu.txt BACKUP) # PostgreSQL を停止し、プライマリであればスタンバイに降格させます if ! test -e $pgdata/recovery.conf && \ psql -h $vhost -U $reprole $repdb -l
...
-
1 2 3 4 5 6 7 8 9
P1-KY-KE-GI-KI-OU-KI-GI-KE-KY P2 * -HI * * * * * -KA * P3-FU-FU-FU-FU-FU-FU-FU-FU-FU P4 * * * * * * * * * P5 * * * * * * * * * P6 * * * * * * * * * P7+FU+FU+FU+FU+FU+FU+FU+FU+FU P8 * +KA * * * * * +HI * P9+KY+KE+GI+KI+OU+KI+GI+KE+KY
...
-
1 2 3 4 5 6 7 8 9
all: process1 process2 process3 clean: rm -f process1 process2 process3 process1: @echo "process1 begin" @sleep 1 @echo "process1 end"
...
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/env python # -*- coding: utf-8 -*- # # 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 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful,
...
-
1 2 3 4 5 6 7 8 9
Initial: [ A B C ] [ D E F ] [ G H I ] Final: [ C F I ] [ B E H ] [ A D G ]
...
-
1 2 3 4 5 6 7 8 9
Initial: [ A B C ] [ D E F ] [ G H I ] Final: [ C F I ] [ B E H ] [ A D G ]
...
-
1 2 3 4 5 6 7 8 9
Aplikace bude sloužit pro uchovávání filmů. Každý film se bude skládat ze tří informací (id, název a rok). Id bude pořadové a aplikace ho bude generovat (1, 2, 3, ...). Aplikace bude dále umět: 1) Přidat film. 2) Odebrat film (zadáme Id filmu) 3) Najít film (zadáme Id filmu) 4) Najít filmy dle roku (zadáme rok a vypíše se seznam filmů z toho roku, popř. hláška, že není žádný film) 5) Uložit filmy do souboru 6) Načíst filmy ze souboru 7) Vypsat roky a počet filmů, které byli v daném roce natočeny
...
-
1 2 3 4
make[5]: Entering directory `/home/osmano807/aur/instantbird/src/obj-instantbird/purple/purplexpcom/public' /home/osmano807/aur/instantbird/src/obj-instantbird/mozilla/config/nsinstall -D ../../../mozilla/dist/idl make[5]: *** No rule to make target `_xpidlgen/imICommandsService.h'. Stop. make[5]: *** Waiting for unfinished jobs....
-
1 2 3 4 5 6 7 8 9
Information about shipment Ship Carrier: Lasership Tracking Number: LA23127127 Status: Delivered Signed for by: HolidayClosedforBusiness Order #: 102-5550857-7173061 Shipment Date: January 14, 2012
...
-
1 2 3 4 5 6
Error 1 'CPUPlugin.CPUPlugin' does not implement inherited abstract member 'Infrastructure.App.Plugin.main()' C:\Users\Konrad\Desktop\DRM\Infrastruktura\Infrastructure\CPUPlugin\CPUPlugin.cs 9 18 CPU Plugin Error 2 'CPUPlugin.CPUPlugin' does not implement inherited abstract member 'Infrastructure.App.Plugin.PluginInfo.set' C:\Users\Konrad\Desktop\DRM\Infrastruktura\Infrastructure\CPUPlugin\CPUPlugin.cs 9 18 CPU Plugin Error 3 'CPUPlugin.CPUPlugin' does not implement inherited abstract member 'Infrastructure.App.Plugin.PluginInfo.get' C:\Users\Konrad\Desktop\DRM\Infrastruktura\Infrastructure\CPUPlugin\CPUPlugin.cs 9 18 CPU Plugin Error 4 'CPUPlugin.CPUPlugin.PluginInfo': type must be 'Infrastructure.App.PluginInfo' to match overridden member 'Infrastructure.App.Plugin.PluginInfo' C:\Users\Konrad\Desktop\DRM\Infrastruktura\Infrastructure\CPUPlugin\CPUPlugin.cs 13 48 CPU Plugin Error 5 'CPUPlugin.CPUPlugin.Main()' is a new virtual member in sealed class 'CPUPlugin.CPUPlugin' C:\Users\Konrad\Desktop\DRM\Infrastruktura\Infrastructure\CPUPlugin\CPUPlugin.cs 42 30 CPU Plugin Error 6 'CPUPlugin.CPUPlugin.Main()': no suitable method found to override C:\Users\Konrad\Desktop\DRM\Infrastruktura\Infrastructure\CPUPlugin\CPUPlugin.cs 42 30 CPU Plugin
-
1 2 3 4 5 6 7 8 9
[ 4007.918609] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918640] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918640] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918670] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918670] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918701] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918731] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918731] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped [ 4007.918762] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped
...
-
1 2 3 4 5 6 7 8 9
// WARNING // // Do NOT edit this file while ZNC is running! // Use webadmin or *admin instead. // // Buf if you feel risky, you might want to read help on /znc saveconfig and /znc rehash. // Also check http://en.znc.in/wiki/Configuration AnonIPLimit = 10
...
-
1 2 3 4 5 6 7 8 9
// WARNING // // Do NOT edit this file while ZNC is running! // Use webadmin or *admin instead. // // Buf if you feel risky, you might want to read help on /znc saveconfig and /znc rehash. // Also check http://en.znc.in/wiki/Configuration AnonIPLimit = 10
...
-
1 2 3 4 5 6 7 8 9
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HelloWorld.aspx.cs" Inherits="HelloWorld.HelloWorld" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Hello World</title> </head> <body>
...


