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 <iostream> | |
#include <cstring> | |
using namespace std; | |
struct st{ | |
int god[10000]; | |
int serial[10000]; | |
string proizvodjac[10000]; | |
string model[10000]; |
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
<% fields_for @public_key do |f| -%> | |
<p> | |
<%= f.label :title %><br /> | |
<%= f.text_field :title %><br /><br /> | |
</p> | |
<p> | |
<%= f.label :key %><br /> | |
<%= f.text_area :key %> | |
</p> | |
<% end -%> |
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
http://pastie.caboo.se/pastes/create--- /Users/ioio/Downloads/KeyRemap4MacBook-6.99.0/files/prefpane/include/simultaneouskeypresses_vimode.xml 2010-11-12 18:21:47.000000000 +0100 | |
+++ /Users/ioio/Downloads/KeyRemap4MacBook-6.9.69/files/prefpane/include/simultaneouskeypresses_vimode.xml 2010-11-14 20:43:08.000000000 +0100 | |
@@ -8,7 +8,8 @@ | |
<appendix>Push S and D keys simultaneously and keep them pressing.</appendix> | |
<appendix>Then you can use Vi style navigation by HJKL.</appendix> | |
<appendix>- HJKL to Left/Down/Up/Right</appendix> | |
- <sysctl vk_config="true">notsave.simultaneouskeypresses_vimode</sysctl> | |
+ <sysctl>notsave.simultaneouskeypresses_vimode</sysctl> | |
+ <vk_config>true</vk_config> | |
<autogen>--ShowStatusMessage-- Vi Mode</autogen> |
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
def what_is_gist | |
"A bad ass version-able pastebin" | |
end |
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
.................... | |
.................... | |
.................... | |
.................... | |
.................... | |
.................... | |
.................... | |
.............:~I7777777777+. .,I7777777777I:. | |
.............778OOOOOOOOO88= ..IOOOOOOOOOOOO++ | |
.............77OOOOOOOOOOOOO,, ~=8OOOOOOOOOOO8++ |
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
/* ======================================================================== | |
Flip | |
======================================================================== */ | |
.dashcode-transition-flip-container { | |
-webkit-perspective: 800; /* subviews should have the same perspective during flip */ | |
-webkit-animation-name: "dashcode-transition-flip-container"; | |
} | |
/* This works great for ease-in-out but not for other timing. */ | |
@-webkit-keyframes dashcode-transition-flip-container { |
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
deployer@tappit:/home/dev/apps/newzcache$ nmap home.claudenix.com -p 1480 | |
Starting Nmap 4.20 ( http://insecure.org ) at 2008-07-27 05:17 UTC | |
Warning: Hostname home.claudenix.com resolves to 8 IPs. Using 68.142.212.117. | |
Interesting ports on p10w1.geo.mud.yahoo.com (68.142.212.117): | |
PORT STATE SERVICE | |
1480/tcp filtered pacerforum | |
Nmap finished: 1 IP address (1 host up) scanned in 10.349 seconds | |
deployer@tappit:/home/dev/apps/newzcache$ nmap home.claudenix.com -p 80 |
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
## php | |
function remove_item($item_id){ | |
foreach ($this->items as $index => $item) { | |
if ($item->id == $item_id){ | |
unset($this->items[$index]); | |
} | |
} | |
} | |
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
ar = [1, 4, 3, 10] | |
puts ar.inject(0) {|i, count| count += i } | |
=> 18 |
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
## php | |
function number_of_items(){ | |
$count = 0; | |
foreach ($this->queries as $query) { | |
$count += sizeof($query->items); | |
} | |
return $count; | |
} |
OlderNewer