Discover gists
View gist:1
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
This is gist. | |
There are many like it, but this one is mine. | |
It is my life. | |
I must master it as I must master my life. | |
Without me gist is useless. | |
Without gist, I am useless. |
View Zadatak 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
#include <iostream> | |
#include <cstring> | |
using namespace std; | |
struct st{ | |
int god[10000]; | |
int serial[10000]; | |
string proizvodjac[10000]; | |
string model[10000]; |
View sick c0dez
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 -%> |
View Z2_stog_polje_isantala
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
struct tauto { | |
int sb; | |
char pro[30]; | |
char mod[30]; | |
int god; | |
} auto; | |
struct stack { | |
int sb[21]; | |
char pro[21][30]; |
View Imp_pomocu_pokazivaca
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<cstdlib> | |
#include<cstring> | |
using namespace std; | |
struct Auto{ | |
int serijski_br; | |
char proizvodac[35]; | |
char model[35]; |
View gist:11
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
I would like to propose moving support for the PulseAudio sound server into Arch Linux proper. This would also be in preparation for the eventual arrival of Gnome 3, since it will be unlikely we can effectively maintain the needed GStreamer patch any more. | |
To that effect I have created a plan: | |
--- | |
To provide PulseAudio in [extra]... | |
Move the following packages from [community] to [extra]: | |
- libasyncns |
View gist:12
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> |
View gist:14
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
--- /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> |
View Glavni program
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> | |
using namespace std; | |
#include "stog_pokazivaci.h" | |
//#include "stog_polje.h" | |
int kraj_rek; | |
bool print; | |
View gist:16
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
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation]; | |
if (orientation == UIInterfaceOrientationLandscapeRight || orientation == UIInterfaceOrientationLandscapeLeft ) { | |
NSLog(@"Landscape"); | |
self.pageWidth = size.width; | |
self.pageHeight = size.height; | |
} | |
else { | |
NSLog(@"Portrait"); | |
self.pageWidth = size.height; | |
self.pageHeight = size.width; |
OlderNewer