This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libpci.so.3", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libnl-genl-3.so.200", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libnl-3.so.200", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
transition-property: font-size; | |
transition-duration: 4s; | |
font-size: 14px; | |
} | |
h1.animate { | |
transition-property: font-size; | |
transition-duration: 4s; | |
font-size: 36px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>title</title> | |
<script src="http://yandex.st/jquery/1.8.0/jquery.min.js"></script> | |
<script src="underscore.js"></script> | |
<script src="backbone.js"></script> | |
<script src="rivets.js"></script> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <memory.h> | |
// Задание 1 | |
// В одномерном массиве, состоящем из п вещественных элементов, вычислить: | |
// 1) максимальный элемент массива; | |
// 2) сумму элементов массива, расположенных до последнего положительного элемента. | |
// Сжать массив, удалив из него все элементы, модуль которых находится в интервале [а,Ь]. Освободившиеся в конце массива элементы заполнить нулями. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with open('style.css') as input: | |
with open('ie.css', 'w') as output: | |
for line in input: | |
output.write(line) | |
if '-moz-' in line: | |
output.write(line.replace('-moz-', ' -ms-')) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From baf4f59e39027f9c94fa3f2a336fdada6ad757c7 Mon Sep 17 00:00:00 2001 | |
From: TheBits <[email protected]> | |
Date: Thu, 22 Sep 2011 01:58:56 +0400 | |
Subject: [PATCH] ie fix | |
diff --git a/style.css b/style.css | |
index 453246e..88c31ed 100644 | |
--- a/style.css | |
+++ b/style.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
int main(){ | |
HKEY hKey; | |
if (RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Run"), 0, KEY_WRITE, &hKey) == ERROR_SUCCESS) | |
{ | |
TCHAR str[] = TEXT("D:\\putty.exe"); | |
RegSetValueEx(hKey, TEXT("Putty"), 0, REG_SZ, (LPBYTE)&str, sizeof(str)); | |
RegCloseKey(hKey); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window_x = 320 | |
window_y = 240 | |
'GraphicsWindow.BackgroundColor = "Black" | |
GraphicsWindow.Title = "Plasma" | |
GraphicsWindow.Width = window_x | |
GraphicsWindow.Height = window_y | |
GraphicsWindow.Show() | |
t = Math.GetRandomNumber(1000) * 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# ha-ha! | |
import itertools | |
DICTIONARY = 'abc123' | |
LIMIT = 3 | |
out_file = 'out.log' | |
with open(out_file, 'w') as file: | |
for i in itertools.product(DICTIONARY, repeat=LIMIT): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 10; | |
loop = setInterval( fadeout, 100 ); | |
function fadeout() { | |
if( a > 0 ) { | |
a -= 2; | |
alert(a/10) | |
} else { | |
clearInterval( loop ); | |
} | |
} |