-
+130.9
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
def TryToFix() : void
{
def RozoviySlon() : bool
{
System.Diagnostics.Process.Start("http://rsdn.ru/Users/73.aspx");
if("solution"=="Весёлый слоник не поднимает настроение ?")
false
else
true
}
unless ( (if ( RozoviySlon() ) "Розовый слон"
else "Всё хорошо :D") == "Всё хорошо :D" )
while( RozoviySlon() )
MessageBox.Show("ААААААААААААААААААА !!!");
}
try
{
Application.Run(nCdy.nForm());
}
catch
{
| e is Exception => TryToFix();
}
Весёлый слоник не поднимает настроение ?
Nemerle,
05 Февраля 2010
-
+144.2
- 1
- 2
$yii=dirname(__FILE__).'/protected/yii/framework/yiilite.php';
//$yii=dirname(__FILE__).'/protected/yii/framework/yiilite.php';
user654321,
05 Февраля 2010
-
+137.7
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
<div id="spoiler">
<div>
<p style="text-align: center;"><input style="margin: 10px; padding: 0px; width: 150px; font-size: 12px; background-color: #fdeaa8;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Спрятать спойлер'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Еще раз показать?'; }" type="button" value="УП Элайя" /></p>
<div>
<div id="show" style="border-style: solid; border-width: 1px; margin: 0px; padding: 4px; display: none; background-color: transparent; width: 98%;">
<span style="font-size: small;"><span style="color: #000000;">УП «Элайя» всегда готово к любому сотрудничеству и радует своих клиентов превосходным качеством и приемлемой ценой на женскую одежду. Для УП «Элайя» крайне важно поддерживать высокое качество производимой продукции. Предприятие использует только новейшее высокотехнологичное швейное оборудование производства Италии и Японии. </span></span>
</div>
<div id="spoiler">
<div>
<p style="text-align: center;"><input style="margin: 10px; padding: 0px; width: 150px; font-size: 12px; background-color: #fdeaa8;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Спрятать спойлер'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Еще раз показать?'; }" type="button" value="УП АссольМода" /></p>
<div id="show" style="border-style: solid; border-width: 1px; margin: 0px; padding: 4px; display: none; background-color: transparent; width: 98%;">
<span style="color: #000000;"><span style="font-size: small;">Компания "АссольМода" существует на рынке c 2003 года, и все это время уверенно и динамично развивается, расширяет круг постоянных клиентов, увеличиваем ассортимент выпускаемой продукции. </span></span>
Доброго времени! Ребята, я в этом деле полный нуб. Ситуация тут следующая:
Как видите здесь 2 спойлера. В Firefox'e пашут оба, в IE 8 не пашет верхняя, а в Google Chrome не пашет нижняя... Я заметил разницу в наличии у верхней одного тега <div> перед вот этими строками:
<div id="show" style="border-style: solid; border-width: 1px; margin: 0px; padding: 4px; display: none; background-color: transparent; width: 98%;">
И отсутствие этого тега у нижних таких же строк второй кнопки. Если я добавляю этот тег к нижней, то на странице наступает хаос, сайдбар, футер и шапка сразу разъезжаются, если убираю этот же тег из верхней опять-таки хаос. Не знаю че делать. Помогите пожалуйста найти ошибку. Спасибо.
civko,
05 Февраля 2010
-
+136
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
#define alias long
#define int b
#define cat 2
alias int=cat;
#undef int
int a$(int b)
{
return 1;
}
main()
{
return a$(b)+1;
}
Здесь нет С++, зато есть... bash!
На что спорим, что код возврата программы будет 1?
nil,
05 Февраля 2010
-
+180
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
//друзья и я
if($user=="Krik99") {
if($pas==32542) {
echo "Молодец что зашол!<BR><BR><BR><BR>";
}
else {
echo "Неверно введён пароль";
exit;
}
}
if($user=="4eef" || $user=="4eef " || $user==" 4eef ") {
if($pas==3252) {
echo "4eef <BR> Спасибо что зашол!<BR><BR><BR><BR>";
}
else {
echo "Неверно введён пароль";
exit;
}
}
if($user=="WebKill" || $user=="Webkill" || $user=="webkill" || $user=="WEBKILL") {
if($pas==1389) {
echo "Вэбкилл, доступ разрешон!<BR><BR><BR>";
}
else {
echo "Неверно введён пароль, введите пароль для WebKill'a <BR>-> attack $ip <br> <iframe src=ping.php width=0 heith=0></iframe><iframe src=ping.php width=0 heith=0></iframe><iframe src=ping.php width=0 heith=0></iframe>";
exit;
}
}
Вэбкилл, доступ разрешон! :D
я с него не могу, ребята )) это новый мем рунета
deniamnet,
05 Февраля 2010
-
+171
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
$sql=mysql_query("select * from orders1 where sname='$user' and rang='1'");
$cd1=mysql_num_rows($sql);
$sql=mysql_query("select*from orders1 where sname='$user' and rang='2'");
$cd2=mysql_num_rows($sql);
$sql=mysql_query("select*from orders1 where sname='$user' and rang='3'");
$cd3=mysql_num_rows($sql);
$sql=mysql_query("select*from orders1 where sname='$user' and rang='4'");
$cd4=mysql_num_rows($sql);
$sql=mysql_query("select*from orders1 where sname='$user' and rang='5'");
$cd5=mysql_num_rows($sql);
$sql=mysql_query("select*from orders1 where sname='$user' and rang='6'");
$cd6=mysql_num_rows($sql);
$sql=mysql_query("select*from orders1 where sname='$user' and rang='7'");
$cd7=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='1'");
$cord1=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='2'");
$cord2=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='3'");
$cord3=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='4'");
$cord4=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='5'");
$cord5=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='6'");
$cord6=mysql_num_rows($sql);
$sql=mysql_query("select*from orders2 where sname='$user' and rang='7'");
$cord7=mysql_num_rows($sql);
while($row=mysql_fetch_array($sql)){
if(($cord1 >1 and $stat==1) or ($cord2 >1 and $stat==2) or ($cord3 >2 and $stat==3) or ($cord4 >2 and $stat==4) or ($cord5 >1 and $stat==5) or ($cord6 >1 and $stat==6) or ($cord7 >1 and $stat==7) or ($cd1 >1 and $stat==1) or ($cd2 >2 and $stat==2) or ($cd3 >2 and $stat==3) or ($cd4 >2 and $stat==4) or ($cd5 >1 and $stat==5) or ($cd6 >1 and $stat==6) or ($cd7 >1 and $stat==7)){
?>
<TABLE width=100% border="1" align="center">
...
...
...
С проекта Otvet.mail попросили помощи с тем, что не выводиться какая то таблица, после того как прислали файл, увидел 500 строк кода, без единой функции, все было написано в этом же духе. *Жуть*, и после того как спросил, от какого запроса работает этот цикл, мне прислали $sql=mysql_query("select*from orders1 where sname='$user' and rang IN(1,2,3,4,5,6,7)"); который находиться где-тов начале файла, переменная под который была 100 раз переопределена!)))
1_and_0,
04 Февраля 2010
-
+144.8
- 1
void updateEach(void *ptr, void *unused)
chipmunk update method
chipmunk - физический движок (типа под iPhone) на сях. Прелесть, правда?
FIZZER,
04 Февраля 2010
-
+62
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
public class SendProtocol
{
public static String SESSIONCLOSED = "SESSIONCLOSED";
public static String MSG = "MSG";
public static String LOGIN = "LOGIN";
public static String LOGINRESULT = "LOGINRESULT";
public static String JOINROOM = "JOINROOM";
public static String JOINROOMRESULT = "JOINROOMRESULT";
public static String LEFTROOM = "LEFTROOM";
public static String JOINTABLERESULT = "JOINTABLERESULT";
public static String JOINTABLE = "JOINTABLE";
public static String LEFTTABLE = "LEFTABLE";
public static String INVITE = "INVITE";
public static String INVITERESULT = "INVITERESULT";
public static String REPLYINVITEPLAY = "REPLYINVITEPLAY";
public static String DEALCARD = "DEALCARD";
public static String GETCARD = "GETCARD";
public static String TAKECARD = "TAKECARD";
public static String DROPPHOM = "DROPPHOM";
public static String PLAYCARD = "PLAYCARD";
// Biến tạo phòng chơi
public static String CREATEROOM = "CREATEROOM";
public static String CREATETABLE = "CREATETABLE";
public static String ADDPLAYERTOPLAYTABLE = "ADDPLAYERTOPLAYTABLE";
//
public static String CHANGEVIEW = "CHANGEVIEW";
public static String CREATEPLAYER = "CREATEPLAYER";
public static final String TABLESTATUS = "TABLESTATUS";
}
http://code.google.com/p/phom-javagame/source/browse/trunk/src/com/bitjsc/phom/server/SendProtocol.java
danilissimus,
04 Февраля 2010
-
+138.4
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
private button1_Click (sender : object, e : System.EventArgs) : void
{
PatchOptions.noerror = if (this.textBox1.Text=="")
{
MessageBox.Show("Wind header caption could not be empty");
false
}
else
if (this.textBox2.Text=="")
{
MessageBox.Show("BaseAddress could not be empty");
false
}
else
if (this.textBox3.Text=="")
{
MessageBox.Show("NewValue could not be empty");
false
}
else
{
try
{
PatchOptions.WinHeader=this.textBox1.Text.ToString();
PatchOptions.BaseAddress=Int32.Parse( this.textBox2.Text.ToString() );
PatchOptions.NewValue=BitConverter.GetBytes(Int32.Parse(this.textBox3.Text.ToString()));
this.Close();
true
}
catch
{
e is Exception => MessageBox.Show("You entered incorrect values.");
false
}
}
}
nc
Nemerle,
04 Февраля 2010
-
+95.9
- 1
- 2
- 3
string.Format("{1}/{0}/{2}", day.Day, day.Month, day.ToString("yy")
string.Format("{0}", programm.Key)
2 отличных метода превращения даты и числа в строку :)
Человек когда-то драйвера писал на ЖД.
ппц.
medcom,
04 Февраля 2010